/* ellaknoxweb.com · Windward
   basalt ground, sand type, terracotta only where it earns attention */

:root {
  --bg: #191a17;
  --ink: #efe6d5;
  --gray: #b3a894;
  --terra: #cf6a48;
  --line: #2d2e28;
  --panel: #21221e;
  --horizon: #4b4c41;
  --wrap: 1180px;
  --bleed: max(24px, calc((100vw - 1180px) / 2));
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Gantari', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16.5px/1.7 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; }

:focus-visible { outline: 1px solid var(--terra); outline-offset: 3px; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin: 0 auto;
}

.micro {
  font-size: 12px;
  line-height: 1.55;
  color: var(--gray);
  letter-spacing: 0.01em;
}

.tri { display: block; flex: none; }
.spoke-accent { stroke: var(--terra); }

/* ------------------------------------------------------------------ head */
.site-head {
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand {
  font: 600 21px/1 var(--serif);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  font: 500 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 9px 0;
  position: relative;
}

.main-nav a:hover { color: var(--terra); }

.main-nav a[aria-current="page"]::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 1px;
  background: var(--terra);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 15px 22px;
  background: var(--terra);
  color: var(--bg);
  border: 1px solid var(--terra);
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.main-nav a.btn {
  color: var(--bg);
  background: var(--terra);
  padding: 13px 18px;
  letter-spacing: 0.1em;
}

.main-nav a.btn:hover {
  color: var(--bg);
  background: var(--ink);
}

.btn-lg { padding: 17px 28px; font-size: 12px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding: 42px 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}

.hero-photo {
  grid-column: 1 / span 5;
  margin: 0 0 0 calc(var(--bleed) * -1);
  width: 460px;
  max-width: calc(100% + var(--bleed));
  position: relative;
  z-index: 2;
}

.hero-photo img { width: 460px; max-width: 100%; }

.hero-copy {
  grid-column: 7 / span 6;
  padding-top: 54px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  font: 500 10px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.k-dot {
  width: 5px;
  height: 5px;
  border: 1px solid var(--terra);
  border-radius: 50%;
  flex: none;
}

.hero-title {
  font-size: 84px;
  line-height: 0.98;
  letter-spacing: 0.005em;
  margin: 0;
}

.hero-title span { display: block; }

.hero-lede {
  margin: 26px 0 30px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.6;
}

.hero-meta {
  margin: 18px 0 0;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.hero-line {
  position: absolute;
  left: 0;
  right: 40px;
  bottom: 0;
  height: 1px;
  background: var(--horizon);
}

.hero-spoke {
  position: absolute;
  right: 18px;
  bottom: -22px;
  color: var(--gray);
}

/* -------------------------------------------------------------- sections */
.sec { padding-top: 86px; }

.sec-head {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: baseline;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-bottom: 28px;
}

.sec-no {
  margin: 0;
  font: 600 11px/1 var(--sans);
  letter-spacing: 0.16em;
  color: var(--terra);
}

.sec-head h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: 0.005em;
}

.sec-head > span:empty { display: none; }

.sec-note {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.05em;
  color: var(--gray);
  text-align: right;
  max-width: 250px;
}

/* ---------------------------------------------------------- 01 partners */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner {
  position: relative;
  height: 160px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 4px 12px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.partner img {
  width: 250px;
  height: 150px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.p-no {
  position: absolute;
  top: 9px;
  left: 11px;
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.16em;
  color: var(--gray);
}

.partner:first-child .p-no { color: var(--terra); }

.p-tri {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--gray);
}

.p-name {
  position: absolute;
  right: 11px;
  bottom: 8px;
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.partner:hover { border-color: var(--gray); }
.partner:hover .p-name { color: var(--ink); }

/* ------------------------------------------------------ 02 quick profile */
.quick-wrap { width: min(1140px, 100%); }

.quick {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-cell {
  padding: 17px 18px 19px;
  border-left: 1px solid var(--line);
  min-height: 112px;
}

.quick-cell:first-child { border-left: 0; }

.q-tri { color: var(--gray); margin-bottom: 10px; }

.q-label {
  display: block;
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
}

.q-value {
  display: block;
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.35;
}

/* --------------------------------------------------------------- 03 about */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 56px;
  align-items: end;
}

.about-text {
  column-count: 2;
  column-gap: 28px;
  font-size: 16.5px;
  line-height: 1.7;
}

.about-text p { margin: 0 0 1em; }
.about-text .micro { column-span: all; margin: 12px 0 0; }

.about-photo {
  position: relative;
  width: 400px;
  margin: 0;
}

.about-photo img { width: 400px; }

.about-photo::after {
  content: '';
  position: absolute;
  left: -56px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--horizon);
}

.about-tri {
  position: absolute;
  top: -16px;
  left: -60px;
  color: var(--gray);
}

/* -------------------------------------------------------------- 04 tower */
.career-lede {
  max-width: 52ch;
  margin: 0 0 24px;
  color: var(--gray);
}

.tower {
  position: relative;
  padding: 46px 0 6px;
}

.tower::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 44px;
  bottom: 6px;
  width: 1px;
  background: var(--horizon);
}

.tower-top {
  position: absolute;
  left: calc(50% - 22px);
  top: 0;
  color: var(--gray);
}

.trow {
  position: relative;
  min-height: 98px;
  padding: 10px 0 12px;
}

.t-year {
  position: absolute;
  top: 18px;
  font: 600 17px/1 var(--serif);
  white-space: nowrap;
  background: var(--bg);
  padding: 0 8px;
  z-index: 2;
}

.t-ev {
  width: 320px;
  margin: 0 0 0 auto;
  padding: 38px 12px 0 8px;
  font-size: 15px;
  line-height: 1.4;
}

.trow.left .t-year { right: calc(50% + 180px); }
.trow.left .t-ev { margin-left: auto; margin-right: 0; text-align: right; }
.trow.right .t-year { left: calc(50% + 180px); }
.trow.right .t-ev { margin-left: 0; margin-right: auto; text-align: left; padding: 38px 8px 0 12px; }

.t-arm {
  position: absolute;
  top: 26px;
  height: 1px;
  width: 180px;
  background: var(--horizon);
}

.trow.left .t-arm { right: 50%; }
.trow.right .t-arm { left: 50%; }

.trow.accent .t-year { color: var(--terra); }
.trow.accent .t-arm { background: var(--terra); }

/* ------------------------------------------------------------ 05 gallery */
.gal-top {
  display: grid;
  grid-template-columns: 720fr 320fr;
  gap: 20px;
  align-items: end;
  max-width: 1060px;
}

.gal-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: end;
  max-width: 1060px;
}

.frame {
  position: relative;
  margin: 0;
  border: 1px solid var(--line);
}

.frame img { width: 100%; }

.frame::after {
  content: '';
  position: absolute;
  left: 8px;
  bottom: -9px;
  width: 8px;
  height: 8px;
  background: var(--gray);
}

.gal-horizon {
  height: 1px;
  max-width: 1060px;
  background: var(--horizon);
  margin: 40px 0;
}

/* ------------------------------------------------------------- 06 social */
.sec-social { padding-bottom: 88px; }

.social-list {
  width: 420px;
  max-width: 100%;
  margin-left: auto;
}

.social-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.social-row:last-child { border-bottom: 1px solid var(--line); }

.s-plat {
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
}

.s-handle { font-size: 14px; line-height: 1.3; }

.social-row:hover .s-handle { color: var(--terra); }

/* ------------------------------------------------------------------ foot */
.site-foot {
  margin-top: 0;
  padding: 0 0 34px;
}

.foot-top {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.foot-spoke {
  position: absolute;
  right: 0;
  top: -22px;
  color: var(--gray);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 24px;
  align-items: start;
}

.foot-brand { display: flex; flex-direction: column; gap: 5px; }

.foot-name { font: 600 18px/1.2 var(--serif); }

.foot-line { font-size: 12px; color: var(--gray); }

.foot-langs {
  font-size: 12px;
  line-height: 1.8;
  color: var(--gray);
}

.foot-langs a { color: var(--gray); }
.foot-langs a:hover { color: var(--ink); }
.foot-langs span[aria-current="true"] { color: var(--ink); }
.foot-langs i { font-style: normal; color: var(--horizon); padding: 0 2px; }

.foot-copy {
  margin: 0;
  font-size: 12px;
  color: var(--gray);
  text-align: right;
  white-space: nowrap;
}

.foot-notes {
  margin: 16px 0 0;
  font-size: 11px;
  line-height: 1.6;
  color: var(--gray);
}

/* -------------------------------------------------------------- subpages */
.page-head { padding: 66px 0 0; }

.page-title {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0 0 22px;
  max-width: 17ch;
}

.page-lede {
  max-width: 60ch;
  font-size: 18px;
  line-height: 1.62;
  color: var(--gray);
}

.page-rule {
  position: relative;
  height: 1px;
  background: var(--horizon);
  margin-top: 46px;
}

.page-rule .tri {
  position: absolute;
  right: 0;
  top: -22px;
  color: var(--gray);
}

.page-body { padding-top: 52px; }

.block { margin: 0 0 72px; }

.block-title {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 22px;
}

/* ------------------------------------------------------------------- bio */
.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  padding-top: 54px;
}

.prose h2 {
  font-size: 26px;
  line-height: 1.25;
  margin: 42px 0 12px;
}

.prose h2:first-child { margin-top: 0; }

.prose p { max-width: 66ch; }

.prose .micro { max-width: 66ch; margin-top: 24px; }

.facts {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 20px;
}

.facts img { width: 100%; margin: 0 0 18px; filter: saturate(0.92); }

.facts dl { margin: 0; }

.fact {
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.fact dt {
  font: 500 9px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 4px;
}

.fact dd { margin: 0; font-size: 14px; line-height: 1.45; }

/* ---------------------------------------------------------------- tables */
.tbl-wrap { overflow-x: auto; }

.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.tbl th {
  text-align: left;
  font: 500 9px/1.2 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0 14px 10px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.tbl td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.5;
}

.tbl td:first-child {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  padding-right: 22px;
}

.tbl td:last-child { padding-right: 0; }

.film-tbl .t-title { font-weight: 500; color: var(--ink); }

/* ----------------------------------------------------------------- chart */
.chart {
  max-width: 720px;
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.chart-row {
  display: grid;
  grid-template-columns: 48px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--gray);
}

.c-year { font-variant-numeric: tabular-nums; }
.c-num { text-align: right; font-variant-numeric: tabular-nums; }

.bar {
  position: relative;
  height: 6px;
  background: var(--line);
  overflow: hidden;
}

.bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--gray);
}

.chart-row.peak .bar i { background: var(--terra); }
.chart-row.peak .c-num { color: var(--ink); }

.credits-text { max-width: 68ch; }

/* ------------------------------------------------------------------- faq */
.faq { max-width: 820px; }

.faq details {
  border-top: 1px solid var(--line);
  padding: 4px 0;
}

.faq details:last-of-type { border-bottom: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  font: 600 20px/1.35 var(--serif);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: '+';
  font: 400 20px/1 var(--sans);
  color: var(--terra);
  flex: none;
}

.faq details[open] summary::after { content: '·'; }

.faq p {
  margin: 0 0 20px;
  max-width: 66ch;
  color: var(--gray);
}

.faq + .micro { margin-top: 20px; max-width: 66ch; }

/* ------------------------------------------------------------------- 404 */
.nf {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 0;
  position: relative;
}

.nf-title {
  font-size: 96px;
  line-height: 1;
  margin: 0 0 22px;
}

.nf-body { max-width: 44ch; color: var(--gray); margin-bottom: 28px; }

.nf-spoke { position: absolute; right: 0; bottom: 80px; color: var(--gray); }

/* ------------------------------------------------------------ breakpoints */
@media (max-width: 1080px) {
  .hero-title { font-size: 72px; }
  .hero-copy { padding-top: 36px; }
  .hero-photo { width: 400px; }
  .hero-photo img { width: 400px; }
  .about-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; }
  .about-photo { width: 340px; }
  .about-photo img { width: 340px; }
  .about-text { column-count: 1; }
  .about-tri { left: -16px; top: -58px; }
  .about-photo::after { left: -40px; }
  .page-title { font-size: 54px; }
}

@media (max-width: 900px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { display: flex; flex-direction: column; }
  .hero-copy { order: 1; padding-top: 0; }
  .hero-photo { order: 2; margin: 40px auto 0; width: 460px; max-width: 100%; }
  .hero-photo img { width: 460px; max-width: 100%; margin: 0 auto; }
  .hero-title { font-size: 68px; }
  .hero-lede { max-width: 40ch; }
  .hero-line { right: 24px; }
  .hero-spoke { right: 2px; }
  .quick { grid-template-columns: repeat(3, 1fr); }
  .quick-cell:nth-child(4) { border-left: 0; }
  .quick-cell:nth-child(n+4) { border-top: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo { width: 400px; max-width: 100%; }
  .about-photo img { width: 400px; }
  .about-photo::after { left: 0; }
  .about-tri { left: auto; right: 0; top: -60px; }
  .tower::before { left: 6px; top: 40px; }
  .tower-top { left: -16px; }
  .trow { height: auto; min-height: 76px; padding: 0 0 22px 34px; }
  .t-year, .trow.left .t-year, .trow.right .t-year {
    position: static;
    display: block;
    padding: 0;
    margin-bottom: 3px;
  }
  .t-ev, .trow.left .t-ev, .trow.right .t-ev {
    position: static;
    width: auto;
    text-align: left;
    padding: 0;
    margin: 0;
  }
  .t-arm, .trow.left .t-arm, .trow.right .t-arm {
    left: 6px;
    right: auto;
    top: 12px;
    width: 22px;
  }
  .bio-grid { grid-template-columns: 1fr; gap: 44px; }
  .facts { position: static; max-width: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .foot-copy { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .head-row { min-height: 0; padding: 16px 0; flex-wrap: wrap; gap: 12px; }
  .brand { font-size: 19px; }
  .main-nav { gap: 16px; justify-content: flex-start; width: 100%; }
  .main-nav a { font-size: 10px; letter-spacing: 0.1em; }
  .main-nav a.btn { padding: 11px 14px; font-size: 10px; }
  .hero { padding-top: 30px; }
  .hero-title { font-size: 54px; }
  .hero-lede { font-size: 17px; }
  .hero-spoke { display: none; }
  .sec { padding-top: 64px; }
  .sec-head { grid-template-columns: 34px 1fr; gap: 12px; }
  .sec-head h2 { font-size: 30px; }
  .sec-note { grid-column: 1 / -1; text-align: left; max-width: none; }
  .partner-grid { grid-template-columns: 1fr; }
  .partner { height: 150px; }
  .partner img { height: 140px; }
  .quick { grid-template-columns: repeat(2, 1fr); }
  .quick-cell { min-height: 104px; padding: 15px 14px 17px; }
  .quick-cell:nth-child(3) { border-left: 0; }
  .quick-cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .quick-cell:nth-child(4) { border-left: 1px solid var(--line); }
  .quick-cell:nth-child(odd) { border-left: 0; }
  .about-photo { width: 100%; }
  .about-photo img { width: 100%; }
  .gal-top { grid-template-columns: 1fr; gap: 24px; }
  .gal-top .g2 { width: 64%; }
  .gal-bottom { grid-template-columns: 1fr; gap: 24px; }
  .gal-horizon { display: none; }
  .sec-social { padding-bottom: 64px; }
  .social-list { margin-left: 0; width: 100%; }
  .page-head { padding-top: 44px; }
  .page-title { font-size: 40px; max-width: 20ch; }
  .page-lede { font-size: 16.5px; }
  .page-rule { margin-top: 34px; }
  .page-rule .tri { right: 0; }
  .page-body { padding-top: 40px; }
  .block { margin-bottom: 56px; }
  .block-title { font-size: 24px; }
  .tbl { font-size: 13px; }
  .tbl th, .tbl td { padding-right: 10px; }
  .faq summary { font-size: 17px; padding: 14px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .foot-copy { grid-column: auto; }
  .foot-langs { font-size: 11px; }
  .nf-title { font-size: 64px; }
  .nf-spoke { display: none; }
}

@media (max-width: 420px) {
  .hero-title { font-size: 46px; }
  .main-nav { gap: 12px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick-cell { min-height: 100px; }
  .gal-top .g2 { width: 78%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* partner logo plate: guarantee legibility of supplied marks on any ground */
a img[src*="/assets/partners/"] {
  background: #f4efe6;
  object-fit: contain;
  padding: 6px;
  box-sizing: border-box;
}
