/* ==========================================================================
   Casa Elite — Stylesheet
   Brand tokens per Casa Elite Style Guide (Edition 02, 2026)
   ========================================================================== */

:root {
  --ink: #120F0C;
  --paper: #EDE6D8;
  --clay: #6E301F;
  --brass: #A8813C;
  --brass-deep: #7A5D25;
  --olive: #5C6047;
  --line: #D8CDB8;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  font-weight: 600;
  color: var(--brass-deep);
  margin: 0 0 16px 0;
}

.kicker--on-ink,
.section--ink .kicker,
.contact-section .kicker,
.founder-box .kicker { color: var(--brass); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

h2 {
  font-size: clamp(30px, 4vw, 44px);
  text-wrap: balance;
}

h3 {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 500;
}

.lede {
  font-size: clamp(16px, 1.4vw, 18px);
  color: #4a433c;
  max-width: 640px;
}

.tracker-line {
  text-wrap: balance;
  text-align: center;
  margin-inline: auto;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--olive);
}

.section {
  padding-block: clamp(64px, 9vw, 120px);
}

.section--ink {
  background: var(--ink);
  color: var(--paper);
}

.section--ink .lede { color: rgba(237, 230, 216, 0.78); }

.arch {
  display: block;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 230, 216, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.nav-links a:hover { color: var(--clay); }

.nav-cta {
  padding: 10px 20px;
  background: var(--ink);
  color: var(--paper) !important;
  border-radius: 2px;
  font-size: 13px !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 1040px) {
  .nav-toggle { display: block; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links .nav-cta {
    margin-top: 12px;
    display: inline-block;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(23px, 5vw, 51px);
  text-align: center;
}

.hero-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.hero-arch { margin-bottom: 2px; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(46px, 9vw, 100px);
  letter-spacing: 0.05em;
  margin: 6px 0 0 0;
  line-height: 1;
}

.hero-rule {
  width: 200px;
  height: 1px;
  background: var(--line);
  opacity: 0.45;
  margin: 4px 0;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 27px);
  margin: 0;
  opacity: 0.94;
  text-align: center;
}

.hero-sub {
  margin: -8px 0 10px;
  font-size: 14.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  text-align: center;
}

.hero-sub--sentence {
  margin-top: -6px;
  max-width: 560px;
  text-wrap: balance;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: none;
}

.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
}

.btn--brass {
  background: var(--olive);
  color: #ffffff;
  font-weight: 700;
  border-radius: 8px;
  border: 3px solid var(--brass);
}

/* ---------- Two-column intro ---------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  margin-top: 40px;
}

.pull-quote {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(32px, 5vw, 52px);
  margin-top: 48px;
  border-radius: 2px;
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(23px, 3.2vw, 32px);
  line-height: 1.4;
  margin: 0;
  text-align: center;
}

/* ---------- The work (videos + credentials) ---------- */

.work-grid {
  max-width: 780px;
  margin: 44px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-tile { margin: 0; }

.work-tile video,
.work-tile iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border: 0;
  border-radius: 6px;
  background: #000;
}

.work-tile figcaption {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  color: #5a5148;
}

.creds {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.cred { display: flex; flex-direction: column; gap: 8px; }

.cred-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--olive);
}

.cred-value {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.35;
  color: var(--ink);
}

@media (max-width: 900px) {
  .creds { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .work-grid { grid-template-columns: 1fr; }
  .creds { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Who it's for ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.card {
  padding: 26px 22px;
  border-radius: 4px;
  background: linear-gradient(160deg, #cda766 0%, #a8813c 55%, #a07a32 100%);
  box-shadow: 0 1px 2px rgba(33, 29, 26, 0.14);
}

.card h3 {
  margin-bottom: 10px;
  color: var(--ink);
}

.card p {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  margin: 0;
}

@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Business model ---------- */

.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
}

.model-item .num {
  font-family: var(--font-display);
  color: var(--brass-deep);
  font-size: 22px;
  margin-bottom: 10px;
  display: block;
}

.model-item p {
  color: #4a433c;
  margin-top: 12px;
}

/* Pricing table */

.pricing {
  margin-top: 56px;
  border-top: 1px solid var(--ink);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(190px, 1fr) 2fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.price-row.head {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--olive);
  font-weight: 600;
  padding-top: 14px;
}

.price-row .component { font-weight: 600; }
.price-row .amount { font-family: var(--font-display); color: var(--clay); font-size: 24px; white-space: nowrap; }
.price-row .notes { color: #5a5148; font-size: 14px; }

@media (max-width: 640px) {
  .price-row { grid-template-columns: 1fr; gap: 4px; }
  .price-row.head { display: none; }
  .price-row .amount { order: -1; }
}

.guarantee {
  margin: 40px auto 0;
  max-width: 460px;
  padding: 14px 28px;
  text-align: center;
  background: linear-gradient(160deg, #cda766 0%, #a8813c 55%, #a07a32 100%);
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(33, 29, 26, 0.14);
}

.guarantee .kicker {
  margin-bottom: 6px;
  text-align: center;
  color: var(--ink);
  font-weight: 700;
}

.guarantee p {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}

.guarantee p em {
  font-weight: 400;
  color: rgba(33, 29, 26, 0.72);
}

.cta-row {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Delivery steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 36px);
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

.steps .num {
  font-family: var(--font-display);
  color: var(--brass-deep);
  font-size: 22px;
  display: block;
  margin-bottom: 10px;
}

.steps p { color: #4a433c; margin-top: 10px; }

.metric-box {
  margin-top: 44px;
  padding-left: 20px;
  border-left: 3px solid var(--olive);
}

.metric-box p { margin: 0; }

/* ---------- Capacity / stats ---------- */

#capacity {
  background: linear-gradient(135deg, #14140f 0%, #5c6047 50%, #14140f 100%);
}

#capacity > .container > .kicker,
#on-the-name .name-note h4 {
  color: var(--paper);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(20px, 3vw, 28px);
  margin-top: 52px;
}

.stat {
  padding: clamp(28px, 3vw, 36px) clamp(20px, 2.5vw, 28px);
  background: linear-gradient(160deg, rgba(237, 230, 216, 0.06), rgba(237, 230, 216, 0.02));
  border: 1px solid rgba(237, 230, 216, 0.14);
  border-radius: 6px;
}

.stat-arch {
  display: block;
  margin-bottom: 16px;
}

.stat .figure {
  font-family: var(--font-display);
  font-size: clamp(46px, 5.4vw, 62px);
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.01em;
}

.stat .label {
  margin-top: 16px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(237, 230, 216, 0.88);
}

.name-note {
  margin: 0 auto;
  max-width: 680px;
  padding: 28px 32px;
  background: rgba(168, 129, 60, 0.08);
  border: 1px solid rgba(168, 129, 60, 0.28);
  border-radius: 6px;
  text-align: center;
}

.name-note h4 {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--brass);
  margin: 0 0 10px 0;
  font-weight: 600;
}

.name-note p {
  margin: 0;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  color: var(--paper);
}

.closing-quote {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(237, 230, 216, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.closing-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(21px, 2.8vw, 28px);
  margin: 0;
  max-width: 560px;
  color: var(--paper);
}

.colonnade {
  display: flex;
  gap: 16px;
}

.colonnade svg {
  opacity: 0.45;
  width: 30px;
  height: 42px;
}

/* ---------- Photo band ---------- */

.photo-band {
  margin: 0 auto;
  max-width: var(--container);
  padding-inline: var(--gutter);
}

.photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.photo-band figcaption {
  color: #5a5148;
  font-size: 12px;
  text-align: center;
  padding: 12px 0 0;
  letter-spacing: 0.02em;
}

/* ---------- Contact ---------- */

.contact-section {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
}

.contact-section .kicker { text-align: center; }

.contact-section h2 { margin-top: 6px; }

.contact-section .lede {
  margin: 18px auto 0;
  text-align: center;
  color: var(--brass);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  max-width: 520px;
}

.founder-box {
  margin: 0 auto;
  max-width: 900px;
  padding: 26px clamp(32px, 5vw, 48px);
  background: var(--ink);
  border: 3px solid var(--brass);
  border-radius: 8px;
  text-align: left;
}

.founder-box .kicker { margin-bottom: 20px; }

.founder {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  text-align: left;
}

.founder-photo {
  flex: none;
  width: 190px;
  height: 190px;
  border-radius: 6px;
  object-fit: cover;
  object-position: center 30%;
  border: 3px solid var(--brass);
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.founder-name {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--paper);
}

.founder-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  font-weight: 400;
  color: var(--brass);
  margin-top: 4px;
}

.founder-bio {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(237, 230, 216, 0.82);
  max-width: 600px;
  text-align: left;
}

.founder-bio + .founder-bio { margin-top: 10px; }

@media (max-width: 600px) {
  .founder-box { text-align: center; }
  .founder-box .kicker { text-align: center; }
  .founder {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .founder-bio { text-align: center; max-width: none; }
}

.contact-form {
  max-width: 640px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  text-align: left;
}

.contact-form .field { display: flex; flex-direction: column; gap: 8px; }

.contact-form .field--wide { grid-column: 1 / -1; }

.contact-form label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}

.contact-form .optional {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  color: rgba(237, 230, 216, 0.6);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--paper);
  background: rgba(237, 230, 216, 0.06);
  border: 1px solid rgba(237, 230, 216, 0.28);
  border-radius: 6px;
}

.contact-form input::placeholder { color: rgba(237, 230, 216, 0.45); }

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 1px var(--brass);
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .contact-form { grid-template-columns: 1fr; }
}

.contact-alt {
  margin: 44px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(237, 230, 216, 0.6);
}

.contact-fields {
  margin: 14px 0 0;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

@media (max-width: 600px) {
  .contact-fields { align-items: center; }
}

.contact-fields .row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  font-size: 15px;
}

.contact-fields .label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
  width: 70px;
  flex: none;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(237, 230, 216, 0.65);
  padding-block: 32px;
  border-top: 1px solid rgba(237, 230, 216, 0.15);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
}

.site-footer .brand-word { color: var(--paper); font-size: 15px; }

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
