/* ===== Brixenta — warm editorial creative-agency stylesheet ===== */
:root {
  --olive:      #4a3f16;
  --brown:      #3a3110;
  --gold:       #7a6a2a;
  --cream:      #efe9d8;

  --bg:         #faf7ee;
  --surface:    #ffffff;
  --surface-warm:#fbf8f0;
  --border:     #e5ddc8;
  --text:       #2c2712;
  --muted:      #6e6650;

  /* Signature olive / gold-brown gradient */
  --accent:     linear-gradient(120deg, #7a6a2a 0%, #4a3f16 100%);
  --accent-soft: linear-gradient(120deg, #fbf8f0 0%, #f2ecdc 100%);
  /* Legible clipped display gradient on warm bg */
  --accent-text: linear-gradient(120deg, #7a6a2a 0%, #4a3f16 70%, #3a3110 100%);

  --radius:     14px;
  --maxw:       1120px;
  --ease:       cubic-bezier(.22,.61,.36,1);
  --shadow:     0 24px 54px -30px rgba(58,49,16,.34);
  --shadow-sm:  0 12px 30px -22px rgba(58,49,16,.4);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  letter-spacing: -0.005em; line-height: 1.1; margin: 0; font-weight: 400;
}
.brand-name { font-family: "DM Serif Display", Georgia, serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.grad {
  background: var(--accent-text);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic;
}
.accent { color: var(--gold); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--olive); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { background: var(--olive); color: #fff; box-shadow: 0 14px 30px -14px rgba(58,49,16,.5); }
.btn-primary:hover { transform: translateY(-2px); background: var(--brown); box-shadow: 0 20px 40px -14px rgba(58,49,16,.55); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(250,247,238,.85); backdrop-filter: saturate(150%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 8px 30px -22px rgba(58,49,16,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 9px; box-shadow: 0 4px 14px -8px rgba(58,49,16,.45); }
.brand-name { font-size: 24px; color: var(--olive); letter-spacing: 0; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; transition: color .2s var(--ease); padding: 4px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--olive); }
.nav a:hover::after { transform: scaleX(1); }
.nav .nav-cta {
  color: var(--olive); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 20px; letter-spacing: .04em; text-transform: none; font-size: 14px; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--olive); color: #fff; border-color: var(--olive); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--olive); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; }

/* ===== Hero — editorial asymmetric ===== */
.hero { position: relative; padding: 208px 0 128px; overflow: hidden; background: linear-gradient(180deg, #faf7ee 0%, #f3edde 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .flourish { position: absolute; top: 50%; right: -6%; transform: translateY(-50%); width: 620px; max-width: 68%; height: auto; opacity: .8; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 66px 66px;
  mask-image: radial-gradient(ellipse 66% 60% at 26% 32%, #000 16%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 66% 60% at 26% 32%, #000 16%, transparent 72%);
  opacity: .5;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: end;
}
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin: 0 0 30px; font-weight: 600; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 6.2rem); line-height: 1.0; letter-spacing: -0.01em; color: var(--olive); }
.hero-aside { padding-bottom: 12px; }
.hero-rule { display: block; width: 72px; height: 2px; background: var(--accent); margin: 0 0 26px; opacity: .9; }
.hero-sub { font-size: clamp(1rem, 1.3vw, 1.1rem); color: var(--muted); margin: 0; max-width: 430px; }
.hero-link {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 1.22rem; color: var(--olive);
  border-bottom: 1px solid var(--border); padding-bottom: 4px; transition: border-color .25s var(--ease), gap .25s var(--ease), color .25s var(--ease);
}
.hero-link:hover { border-bottom-color: var(--olive); gap: 18px; color: var(--brown); }
.hero-link-ico { font-style: normal; font-family: "Inter", sans-serif; transition: transform .25s var(--ease); }
.hero-link:hover .hero-link-ico { transform: translateX(3px); }

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--olive); color: var(--cream); border-block: 1px solid var(--brown); }
.marquee-track {
  display: inline-flex; align-items: center; gap: 34px; white-space: nowrap;
  padding: 20px 0; will-change: transform; animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  letter-spacing: .01em; color: var(--cream);
}
.marquee-track .mq-dot { font-family: "Inter", sans-serif; font-style: normal; font-size: .6em; color: var(--gold); opacity: .9; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; white-space: normal; justify-content: center; gap: 20px 28px; }
}

/* ===== Sections ===== */
.section { padding: 118px 0; }
.section-alt { background: var(--surface-warm); border-block: 1px solid var(--border); }
.kicker { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 16px; }
.section-head { max-width: 720px; margin: 0 auto 68px; text-align: center; }
.section-head-left { margin: 0 0 8px; text-align: left; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--olive); }
.section-head .lead { color: var(--muted); margin-top: 18px; font-size: 1.06rem; }

/* ===== Services — numbered index list ===== */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.index-item {
  display: grid; grid-template-columns: auto 1fr 1.3fr; gap: 40px; align-items: baseline;
  padding: 40px 8px; border-bottom: 1px solid var(--border);
  transition: background .35s var(--ease), padding .35s var(--ease);
}
.index-item:hover { background: var(--surface-warm); padding-left: 20px; padding-right: 20px; }
.index-num {
  font-family: "DM Serif Display", Georgia, serif; font-style: italic;
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; color: var(--cream);
  transition: color .35s var(--ease);
}
.index-item:hover .index-num { color: var(--gold); }
.index-title { font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--olive); }
.index-desc { color: var(--muted); font-size: 1rem; margin: 0; line-height: 1.7; max-width: 48ch; }

/* ===== Manifesto — pull quote ===== */
.manifesto { background: var(--surface-warm); border-block: 1px solid var(--border); }
.manifesto-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.manifesto .kicker { text-align: center; }
.manifesto-quote {
  font-family: "DM Serif Display", Georgia, serif; font-style: italic;
  font-size: clamp(1.7rem, 4vw, 3.1rem); line-height: 1.24; letter-spacing: -0.005em;
  color: var(--olive); margin: 8px 0 0; quotes: "\201C" "\201D";
}
.manifesto-quote::before { content: open-quote; color: var(--cream); margin-right: .06em; }
.manifesto-quote::after { content: close-quote; color: var(--cream); margin-left: .04em; }
.manifesto-body { color: var(--muted); font-size: 1.06rem; margin: 34px auto 0; max-width: 660px; }
.manifesto-marks {
  display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap;
  margin-top: 40px; font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 1.12rem; color: var(--gold);
}
.manifesto-marks .mk-dot { color: var(--cream); font-size: 10px; font-style: normal; }

/* ===== Approach — alternating feature rows ===== */
.feature-rows { display: grid; gap: 72px; }
.feature-row { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.feature-row-alt .feature-media { order: 2; }
.feature-row-alt .feature-copy { order: 1; }

.feature-media { display: flex; justify-content: center; }
.feature-art {
  position: relative; width: 100%; max-width: 420px; aspect-ratio: 5 / 4; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--accent-soft); box-shadow: var(--shadow);
  overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 40px;
}
.feature-art::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 30px 30px; opacity: .4;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 70% 30%, #000 10%, transparent 75%);
}
.art-index { position: relative; font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 3.4rem; color: var(--olive); line-height: 1; }
.art-line { position: relative; height: 10px; border-radius: 6px; background: var(--accent); opacity: .82; }
.art-line:nth-of-type(3) { width: 78%; opacity: .55; }
.art-line.short { width: 46%; opacity: .32; }

.art-b { align-items: center; justify-content: center; }
.art-mark { position: relative; z-index: 2; font-family: "DM Serif Display", Georgia, serif; font-size: 5rem; color: var(--olive); line-height: 1; }
.art-ring { position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 2px solid var(--gold); opacity: .5; }
.art-ring.ring-2 { width: 260px; height: 260px; border-color: var(--olive); opacity: .22; }

.feature-tag { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 0 0 14px; }
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--olive); margin-bottom: 16px; }
.feature-copy > p { color: var(--muted); margin: 0 0 22px; font-size: 1.04rem; max-width: 52ch; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { position: relative; padding-left: 26px; color: var(--text); font-size: .98rem; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 2px;
  background: var(--accent); transform: rotate(45deg);
}

/* ===== FAQ ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  color: var(--olive); transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--brown); }
.faq-ico { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--gold); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-ico::after { top: 0; left: 8px; width: 2px; height: 18px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 340px; }
.faq-a p { color: var(--muted); font-size: 1rem; margin: 0 0 26px; padding-right: 30px; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 18px; color: var(--olive); }
.contact-copy p { color: var(--muted); margin-bottom: 24px; }
.contact-email { display: inline-block; font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 1.32rem; color: var(--olive); border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: border-color .2s, color .2s; }
.contact-email:hover { border-bottom-color: var(--olive); color: var(--brown); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  padding: 13px 15px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  width: 100%; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(122,106,42,.14); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--brown); background: var(--olive); color: var(--cream); padding: 64px 0 40px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand img { box-shadow: none; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.footer-tag { color: rgba(239,233,216,.72); margin: 0; font-family: "DM Serif Display", Georgia, serif; font-style: italic; font-size: 1.1rem; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: rgba(239,233,216,.78); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(239,233,216,.55); font-size: 14px; margin-top: 12px; padding-top: 26px; border-top: 1px solid rgba(239,233,216,.16); width: 100%; max-width: 520px; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .hero-aside { padding-bottom: 0; }
  .hero-sub { max-width: 560px; }
  .hero-bg .flourish { opacity: .35; right: -14%; }
  .index-item { grid-template-columns: auto 1fr; gap: 10px 28px; }
  .index-desc { grid-column: 2; max-width: 60ch; }
  .feature-row, .feature-row-alt { grid-template-columns: 1fr; gap: 30px; }
  .feature-row-alt .feature-media { order: 0; }
  .feature-row-alt .feature-copy { order: 0; }
  .feature-media { justify-content: flex-start; }
  .faq-wrap { grid-template-columns: 1fr; gap: 34px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header-inner { height: 74px; }

  .nav-mobile {
    display: flex; flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(250,247,238,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
    padding: 12px 24px 24px; transform: translateY(-120%);
    transition: transform .35s var(--ease); box-shadow: 0 14px 34px -20px rgba(58,49,16,.45);
    position: relative; z-index: 90;
  }
  .nav-mobile.open { transform: translateY(0); }
  .nav-mobile a { padding: 13px 4px; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid var(--border); color: var(--text); }
  .nav-mobile a:hover { color: var(--olive); }
  .nav-mobile .nav-cta {
    text-align: center; margin-top: 12px; border: 1px solid var(--olive); color: var(--olive);
    background: transparent; border-radius: 999px; padding: 13px 20px;
    letter-spacing: .04em; text-transform: none; font-size: 15px;
  }
  .nav-mobile .nav-cta:hover { background: var(--olive); color: #fff; }

  .hero { padding: 146px 0 82px; }
  .section { padding: 78px 0; }
  .feature-rows { gap: 54px; }
}
@media (max-width: 480px) {
  .index-item { grid-template-columns: 1fr; gap: 8px; }
  .index-desc { grid-column: 1; }
  .index-num { font-size: 2.3rem; }
  .btn { width: 100%; }
  .manifesto-marks { gap: 12px; }
  .feature-art { max-width: 100%; padding: 30px; }
}
