:root {
  --ink: #151714;
  --signal: #c9ff45;
  --paper: #ece9e1;
  --white: #f8f7f2;
  --line: color-mix(in srgb, var(--ink) 24%, transparent);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
main { display: flex; flex-direction: column; }
.hero { order: 1; }
.statement { order: 2; }
.services { order: 3; }
.approach { order: 4; }
.contact { order: 5; }
.site-flow-conversion .services { order: 2; }
.site-flow-conversion .contact { order: 3; }
.site-flow-conversion .approach { order: 4; }
.site-flow-conversion .statement { order: 5; }
.site-flow-story .approach { order: 2; }
.site-flow-story .statement { order: 3; }
.site-flow-story .services { order: 4; }
.site-flow-story .contact { order: 5; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a { color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
a { text-decoration: none; }

.preview-bar { align-items:center; background:#fff4b8; border-bottom:1px solid var(--ink); display:flex; font-size:.67rem; gap:1rem; justify-content:center; letter-spacing:.06em; min-height:38px; padding:.5rem 1rem; position:relative; z-index:30; }
.preview-bar strong { letter-spacing:.12em; }
.preview-bar a { border-bottom:1px solid; font-weight:600; margin-left:1rem; }

.font-modern { --serif: "DM Sans", Arial, sans-serif; }
.font-modern h1,.font-modern h2 { letter-spacing:-.075em; }
.font-classic { --serif: Georgia, "Times New Roman", serif; }
.images-color .hero-visual > img,.images-color .approach-image img { filter:none; }
.images-color .hero-visual:hover > img { filter:none; }
.images-muted .hero-visual > img,.images-muted .approach-image img { filter:grayscale(.35) saturate(.65); }
.images-muted .hero-visual:hover > img { filter:grayscale(.15) saturate(.85); }
.buttons-rounded .button,.buttons-rounded .whatsapp-float { border-radius:999px; }
.buttons-rounded .button { padding-inline:1.45rem; }
.theme-executive .site-header { background:var(--ink); color:var(--paper); }
.theme-executive .site-nav a::after { background:var(--signal); }
.theme-executive .hero-mark { opacity:.18; }
.theme-executive .statement { background:var(--ink); color:var(--paper); }
.theme-executive .statement span { border-color:var(--signal); }
.theme-minimal .hero-mark { opacity:.16; }
.theme-minimal .statement { background:transparent; border-bottom:1px solid var(--ink); border-top:1px solid var(--ink); }
.theme-minimal .service-row button { border-radius:0; }
.hero-layout-full .hero { display:block; min-height:calc(100vh - 84px); }
.hero-layout-full .hero-copy { background:color-mix(in srgb,var(--paper) 90%,transparent); margin:7vw; max-width:700px; padding:5vw; position:relative; }
.hero-layout-full .hero-visual { inset:0; min-height:100%; position:absolute; z-index:0; }
.hero-layout-full .hero-visual::after { background:linear-gradient(90deg,rgb(0 0 0 / .28),transparent 65%); content:""; inset:0; position:absolute; }
.hero-layout-full .image-index { left:auto; right:0; width:min(420px,55%); }
.hero-layout-full .hero-mark { z-index:1; }

.demo-bar {
  align-items: center;
  background: var(--signal);
  display: flex;
  font-size: .68rem;
  justify-content: center;
  letter-spacing: .13em;
  min-height: 30px;
  position: relative;
  text-transform: uppercase;
  z-index: 20;
}
.demo-bar span { font-weight: 600; margin-right: 1.5rem; }
.demo-bar a { border-bottom: 1px solid; font-weight: 600; margin-left: 1.5rem; }

.site-header {
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 84px;
  padding: 0 3.2vw;
  position: relative;
  z-index: 10;
}
.brand { align-items: center; display: inline-flex; font-size: .84rem; font-weight: 600; gap: .6rem; letter-spacing: .16em; justify-self: start; }
.brand img { height: 38px; object-fit: contain; object-position: left center; width: 180px; }
.brand i { background: var(--signal); border-radius: 50%; height: 9px; width: 9px; }
.site-nav { display: flex; font-size: .76rem; gap: 2.6rem; letter-spacing: .08em; }
.site-nav a { position: relative; }
.site-nav a::after { background: var(--ink); bottom: -.4rem; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; width: 100%; }
.site-nav a:hover::after { transform: scaleX(1); }
.header-cta { background: none; border: 0; font-size: .76rem; font-weight: 600; justify-self: end; letter-spacing: .06em; padding: .8rem 0; }
.header-cta span, .button span { margin-left: .8rem; }
.menu-toggle { display: none; }

.hero { display: grid; grid-template-columns: 51% 49%; min-height: calc(100vh - 114px); overflow: hidden; position: relative; }
.hero-copy { align-self: center; padding: 7vw 4vw 6vw 7vw; position: relative; z-index: 2; }
.eyebrow { font-size: .67rem; font-weight: 600; letter-spacing: .15em; margin: 0 0 2.6rem; text-transform: uppercase; }
.hero h1, .section-heading h2, .approach h2, .contact h2, .dialog-intro h2 {
  font-family: var(--serif); font-size: clamp(4.6rem, 8.3vw, 9rem); font-weight: 400; letter-spacing: -.055em; line-height: .76; margin: 0;
}
h1 em, h2 em { font-weight: 400; }
.hero-intro { font-size: clamp(.95rem, 1.15vw, 1.15rem); line-height: 1.65; margin: 3rem 0 2.1rem 24%; max-width: 430px; }
.hero-actions { align-items: center; display: flex; gap: 2rem; margin-left: 24%; }
.button { border: 1px solid var(--ink); display: inline-flex; justify-content: space-between; min-width: 230px; padding: 1.05rem 1.15rem; transition: background .25s, color .25s; }
.button-signal { background: var(--signal); }
.button-signal:hover { background: var(--ink); color: var(--paper); }
.text-link { border-bottom: 1px solid var(--ink); font-size: .75rem; padding: .7rem 0; }
.text-link span { margin-left: 1rem; }
.hero-visual { margin: 0; min-height: 640px; overflow: hidden; position: relative; }
.hero-visual > img { filter: grayscale(1); height: 100%; object-fit: cover; transition: filter .6s ease, transform 1.2s ease; }
.hero-visual:hover > img { filter: grayscale(.4); transform: scale(1.015); }
.image-index { align-items: center; background: var(--ink); bottom: 0; color: var(--paper); display: flex; font-size: .62rem; justify-content: space-between; left: 0; letter-spacing: .12em; padding: 1.2rem 1.4rem; position: absolute; width: 52%; }
.hero-mark { bottom: -5.5vw; color: var(--signal); font-size: 21vw; font-weight: 600; letter-spacing: -.1em; line-height: .7; margin: 0; opacity: .95; pointer-events: none; position: absolute; right: -1vw; z-index: 1; }

.statement { align-items: flex-end; background: var(--signal); display: grid; gap: 8vw; grid-template-columns: 1fr 1.6fr; padding: 8vw 7vw; }
.statement p { font-family: var(--serif); font-size: clamp(3rem, 5.3vw, 6rem); letter-spacing: -.04em; line-height: .93; margin: 0; }
.statement span { border-left: 1px solid var(--ink); font-size: .76rem; line-height: 1.6; padding-left: 2rem; text-transform: uppercase; }

.services { padding: 10vw 7vw; }
.section-heading { display: grid; grid-template-columns: 1fr 2fr; margin-bottom: 6vw; }
.section-heading h2 { font-size: clamp(3.8rem, 7vw, 7.6rem); line-height: .83; }
.service-list { border-top: 1px solid var(--ink); }
.service-row { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 2rem; grid-template-columns: 80px 1.4fr 1fr 42px; min-height: 136px; transition: padding .3s ease; }
.service-row:hover { padding-left: 1rem; }
.service-row > span { font-size: .65rem; }
.service-row h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 3.1rem); font-weight: 400; margin: 0; }
.service-row p { font-size: .78rem; line-height: 1.6; max-width: 300px; }
.service-row button { background: transparent; border: 1px solid var(--ink); border-radius: 50%; height: 42px; transition: background .2s; width: 42px; }
.service-row button:hover { background: var(--signal); }

.approach { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: 44% 56%; }
.approach-image { min-height: 780px; overflow: hidden; position: relative; }
.approach-image img { filter: grayscale(1); height: 100%; object-fit: cover; }
.approach-image p { background: var(--signal); bottom: 2rem; color: var(--ink); font-size: .65rem; left: 2rem; letter-spacing: .12em; margin: 0; padding: 1rem 1.2rem; position: absolute; text-transform: uppercase; }
.approach-copy { padding: 8vw 7vw; }
.approach h2 { font-size: clamp(3.2rem, 5.2vw, 6rem); line-height: .88; }
.approach ol { list-style: none; margin: 5rem 0 0; padding: 0; }
.approach li { border-top: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); display: grid; gap: 2rem; grid-template-columns: 40px 1fr; padding: 1.3rem 0; }
.approach li > span { color: var(--signal); font-size: .65rem; }
.approach li strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 400; }
.approach li p { font-size: .76rem; line-height: 1.6; margin: .4rem 0 0; opacity: .65; }

.contact { display: grid; grid-template-columns: 1.3fr 1fr; padding: 10vw 7vw; }
.contact h2 { font-size: clamp(4.2rem, 7.8vw, 8.5rem); line-height: .8; }
.contact-panel { border-left: 1px solid var(--ink); padding: 5rem 0 0 5vw; }
.contact-panel > p { font-family: var(--serif); font-size: 1.75rem; line-height: 1.25; margin: 0 0 2.5rem; max-width: 460px; }
.contact-details { border-top: 1px solid var(--line); display: flex; flex-direction: column; font-size: .74rem; gap: .8rem; margin-top: 4rem; padding-top: 2rem; }

footer { align-items: end; background: var(--signal); display: grid; gap: 5vw; grid-template-columns: 1fr 1fr 1fr; padding: 4rem 7vw; }
.footer-brand { font-size: 1rem; }
footer p { font-size: .65rem; line-height: 1.6; margin: 0; }
footer div { display: flex; flex-direction: column; font-size: .68rem; gap: .7rem; }
footer div a { text-decoration: underline; }

.consultation { background: var(--paper); border: 0; color: var(--ink); height: 100%; margin: 0 0 0 auto; max-height: none; max-width: 860px; padding: clamp(3rem, 6vw, 6rem); width: min(100%, 860px); }
.consultation::backdrop { background: rgb(10 12 10 / .75); backdrop-filter: blur(4px); }
.dialog-close { background: none; border: 1px solid var(--ink); border-radius: 50%; font-size: 1.5rem; height: 42px; position: absolute; right: 2rem; top: 2rem; width: 42px; }
.dialog-intro h2 { font-size: clamp(3.5rem, 7vw, 6.5rem); line-height: .82; }
.dialog-intro > p:last-child { font-size: .72rem; line-height: 1.5; margin: 2rem 0 3rem; max-width: 420px; }
.consultation form { display: grid; gap: 1.5rem; }
.consultation label { display: grid; font-size: .65rem; font-weight: 600; gap: .55rem; letter-spacing: .08em; text-transform: uppercase; }
.consultation input, .consultation select, .consultation textarea { background: transparent; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; color: var(--ink); outline: none; padding: .8rem 0; resize: vertical; }
.consultation input:focus, .consultation select:focus, .consultation textarea:focus { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.form-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr 1fr; }
.consent { align-items: start; display: flex !important; font-size: .63rem !important; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.5; text-transform: none !important; }
.consent input { margin: .15rem .6rem 0 0; }
.honeypot { left: -10000px; position: absolute; }
.submit-button { margin-top: .5rem; }
.submit-button:disabled { cursor: wait; opacity: .55; }
.form-status { font-size: .75rem; margin: 0; min-height: 1.2em; }
.form-status.is-success { color: #276018; }
.form-status a { color:inherit; font-weight:600; text-decoration:underline; }
.whatsapp-float { align-items:center; background:var(--signal); border:1px solid var(--ink); bottom:1.2rem; display:flex; font-size:.62rem; font-weight:600; gap:1.4rem; letter-spacing:.1em; padding:.85rem 1rem; position:fixed; right:1.2rem; z-index:8; }
.whatsapp-float b { font-size:1rem; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 68px; }
  .menu-toggle { background: transparent; border: 0; display: block; font-size: .72rem; text-transform: uppercase; }
  .site-nav { background: var(--paper); border-bottom: 1px solid var(--ink); display: none; flex-direction: column; gap: 0; left: 0; padding: 1rem 5vw 2rem; position: absolute; right: 0; top: 100%; }
  .site-nav.is-open { display: flex; }
  .site-nav a { border-bottom: 1px solid var(--line); padding: 1rem 0; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 6rem 6vw 4rem; }
  .hero h1 { font-size: clamp(4.2rem, 17vw, 7rem); }
  .hero-intro, .hero-actions { margin-left: 0; }
  .hero-visual { min-height: 65vh; }
  .hero-mark { bottom: -1vw; font-size: 32vw; }
  .statement { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px 1fr 42px; padding: 1.5rem 0; }
  .service-row p { display: none; }
  .approach { grid-template-columns: 1fr; }
  .approach-image { min-height: 65vh; }
  .contact { grid-template-columns: 1fr; }
  .contact-panel { border-left: 0; border-top: 1px solid var(--ink); margin-top: 4rem; padding: 3rem 0 0; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .demo-bar { justify-content: space-between; padding: 0 4vw; }
  .demo-bar strong { display: none; }
  .demo-bar a, .demo-bar span { margin: 0; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: .6rem; }
  .hero-visual { min-height: 52vh; }
  .statement, .services, .contact { padding: 5rem 6vw; }
  .service-row { gap: .8rem; grid-template-columns: 32px 1fr 38px; }
  .service-row h3 { font-size: 1.55rem; }
  .approach-copy { padding: 5rem 6vw; }
  .approach-image { min-height: 55vh; }
  .contact-panel > p { font-size: 1.45rem; }
  .consultation { padding: 5rem 6vw 3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .dialog-close { right: 1rem; top: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
