/* chyanne-jacobs.com
   Port wine cellar: deep amber ground, warm cream type, port-red accents.
   Motifs: cellar arch line (hero + gallery tile) and dotted year lines. */

:root {
  --bg: #2a1a10;
  --bg-deep: #241208;
  --panel: #33200f;
  --line: #5a3a22;
  --ink: #f0e4d0;
  --muted: #c9b394;
  --port: #8a4a2a;
  --port-ink: #d08a5c;
  --hover-bg: #3a2415;
  --hover-ink: #fff6e8;
  --shell: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: 'Fresca', ui-sans-serif, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--port-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: 'IM Fell English', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 28px; }

/* ---------- header ---------- */

.site-header {
  background-color: var(--bg-deep);
  border-bottom: 2px dotted var(--port);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 26px;
  padding-top: 15px;
  padding-bottom: 15px;
  flex-wrap: wrap;
}

.wordmark {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 27px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.015em;
}
.wordmark:hover { text-decoration: none; color: var(--hover-ink); }

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.main-nav a {
  color: #f0e4d0;
  background-color: transparent;
  font-size: 13.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 7px 2px;
}
.main-nav a:hover {
  color: #fff6e8;
  background-color: #3a2415;
  text-decoration: none;
}
.main-nav a[aria-current="page"] { color: #d08a5c; }

/* CTA buttons: explicit override of .main-nav a for both states */

.btn {
  display: inline-block;
  background-color: #8a4a2a;
  color: #f0e4d0;
  border: 1px solid #8a4a2a;
  border-radius: 2px;
  padding: 11px 20px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
.btn:hover {
  background-color: #f0e4d0;
  color: #2a1a10;
  border-color: #f0e4d0;
  text-decoration: none;
}

.main-nav a.btn {
  color: #f0e4d0;
  background-color: #8a4a2a;
  border: 1px solid #8a4a2a;
  padding: 9px 16px;
  font-size: 13px;
}
.main-nav a.btn:hover {
  color: #2a1a10;
  background-color: #f0e4d0;
  border-color: #f0e4d0;
}

/* ---------- hero ---------- */

.hero {
  padding: 62px 0 46px;
  border-bottom: 2px dotted var(--port);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }

.hero-eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--port-ink);
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.5rem);
  margin: 0 0 10px;
}

.hero-tagline {
  font-family: 'IM Fell English', Georgia, serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  color: var(--muted);
  margin: 0 0 22px;
  max-width: 34ch;
}

.hero-intro p { max-width: 58ch; }

.hero-cta { margin-top: 26px; }

.year-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.year-dots li {
  position: relative;
  padding-right: 34px;
}
.year-dots li::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background-color: var(--port);
}
.year-dots li:last-child { padding-right: 0; }
.year-dots li:last-child::after { display: none; }

.hero-media {
  justify-self: stretch;
  display: flex;
  justify-content: center;
}

.arch-wrap {
  position: relative;
  width: min(420px, 100%);
  max-width: 100%;
}

.arch-svg {
  position: absolute;
  left: -18px;
  top: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  pointer-events: none;
}

.hero-photo {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
  background-color: var(--panel);
  padding: 10px;
}
.hero-photo img { width: 100%; }

/* ---------- sections ---------- */

.section {
  padding: 52px 0;
  border-bottom: 2px dotted var(--port);
}
.section-last { border-bottom: 0; }

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0 0 10px;
}

.sec-num {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--port-ink);
  flex: none;
}

.sec-title { font-size: clamp(26px, 3.4vw, 34px); }

.sec-sub {
  color: var(--muted);
  max-width: 66ch;
  margin: 0 0 28px;
}

.rule-dots {
  height: 0;
  border-top: 2px dotted var(--port);
  margin: 22px 0 0;
}

/* ---------- partners ---------- */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  justify-items: center;
}
.partner-grid > * { min-width: 0; }

.partner-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 250px;
  height: 150px;
  max-width: 100%;
  background-color: #f0e4d0;
  border: 1px solid var(--port);
  border-radius: 2px;
  overflow: hidden;
}
.partner-tile:hover {
  border-color: var(--port-ink);
  box-shadow: inset 0 0 0 1px var(--port-ink);
}
.partner-tile img { width: 250px; max-width: 100%; height: auto; }

/* ---------- quick profile ---------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fact-grid > * { min-width: 0; }

.fact-card {
  background-color: var(--panel);
  border: 1px solid var(--line);
  border-top: 2px solid var(--port);
  padding: 20px 18px;
}

.fact-k {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--port-ink);
  margin: 0 0 10px;
}

.fact-v {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 19px;
  line-height: 1.35;
  margin: 0;
}

.fact-n {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
}

/* ---------- about split ---------- */

.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: start;
}
.split > * { min-width: 0; }

.chips-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--port-ink);
  margin: 0 0 12px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  border: 1px solid var(--line);
  background-color: var(--panel);
  color: var(--ink);
  font-size: 13px;
  padding: 5px 11px;
  border-radius: 2px;
}

/* ---------- timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.timeline li {
  position: relative;
  padding: 0 0 18px 32px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--bg);
  border: 2px solid var(--port-ink);
}
.timeline li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 26px;
  bottom: 0;
  border-left: 2px dotted var(--port);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::after { display: none; }
.timeline p { margin: 0; }

.tl-when {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 17px;
  color: var(--port-ink);
  margin-right: 8px;
}

/* ---------- gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.gallery > * { min-width: 0; }

.gallery figure {
  margin: 0;
  padding: 10px;
  background-color: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.gallery img { border: 1px solid var(--port); }

.gallery .g1 img { width: 100%; max-width: 320px; }
.gallery .g2 img { width: 100%; max-width: 330px; }
.gallery .g3 img { width: 100%; max-width: 320px; }
.gallery .g4 img { width: 100%; max-width: 260px; }
.gallery .g5 img { width: 100%; max-width: 300px; }

.arch-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  padding: 14px;
  background-color: var(--panel);
  border: 1px solid var(--line);
}
.arch-tile svg { display: block; }

/* ---------- social ---------- */

.social-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 340px));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-list a {
  display: block;
  border: 1px solid var(--line);
  background-color: var(--panel);
  padding: 16px 18px;
}
.social-list a:hover { border-color: var(--port-ink); text-decoration: none; }

.platform {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--port-ink);
}

.handle {
  display: block;
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-top: 5px;
}

/* ---------- subpages ---------- */

.page-head {
  padding: 54px 0 30px;
  border-bottom: 2px dotted var(--port);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0 0 14px; }
.page-lead { color: var(--muted); max-width: 70ch; font-size: 18px; margin: 0; }

.block { padding: 46px 0; border-bottom: 2px dotted var(--port); }
.block-last { border-bottom: 0; }
.block h2 { font-size: clamp(23px, 3vw, 30px); margin: 0 0 16px; }

.prose { max-width: 74ch; }

.fact-table {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 44px;
  margin: 0;
}
.fact-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dotted var(--line);
}
.fact-row dt {
  color: var(--port-ink);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}
.fact-row dd { margin: 0; }

.award {
  border: 1px solid var(--line);
  background-color: var(--panel);
  border-left: 3px solid var(--port);
  padding: 20px 22px;
  margin: 0 0 14px;
}
.award h3 { font-size: 21px; margin: 0 0 8px; color: #f0e4d0; }

.note-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 76ch;
}
.note-list li {
  position: relative;
  padding: 0 0 14px 26px;
}
.note-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--port);
}
.note-list li:last-child { padding-bottom: 0; }

.qa {
  border: 1px solid var(--line);
  background-color: var(--panel);
  margin: 0 0 12px;
}
.qa summary {
  cursor: pointer;
  padding: 16px 20px;
  color: #f0e4d0;
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 19px;
  line-height: 1.4;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+";
  color: var(--port-ink);
  flex: none;
}
.qa[open] summary::after { content: "·"; }
.qa .qa-body { padding: 0 20px 18px; }
.qa .qa-body p { margin: 0; }

/* ---------- footer ---------- */

.site-footer {
  background-color: var(--bg-deep);
  border-top: 2px dotted var(--port);
  padding: 26px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr auto;
  gap: 16px 34px;
  align-items: center;
}
.footer-grid > * { min-width: 0; }

.footer-name {
  font-family: 'IM Fell English', Georgia, serif;
  font-size: 21px;
  margin: 0;
  color: var(--ink);
}
.footer-line { color: var(--muted); font-size: 14px; margin: 5px 0 0; }

.language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
}
.language-nav a { color: #e8d6bd; }
.language-nav a[aria-current="page"] { color: #d08a5c; }

.footer-legal {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
  text-align: right;
}

/* ---------- 404 ---------- */

.notfound { padding: 78px 0 96px; }
.notfound h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin: 0 0 16px; }
.notfound p { color: var(--muted); max-width: 52ch; }
.notfound .btn { margin-top: 22px; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { justify-self: start; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .fact-table { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-legal { text-align: left; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .shell { padding: 0 20px; }
  .header-inner { align-items: flex-start; }
  .main-nav { gap: 2px 14px; }
  .main-nav a { font-size: 12.5px; padding: 5px 0; }
  .main-nav a.btn { padding: 8px 13px; }
  .hero { padding: 42px 0 34px; }
  .hero-photo { padding: 8px; }
  .arch-svg { left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
  .section, .block { padding: 38px 0; }
  .fact-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .fact-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 14px; }
  .sec-head { gap: 12px; }
}
