/* Caxcanes Web Studio: hold your ground. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/source-serif-4-latin.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/source-serif-4-italic-latin.woff2") format("woff2"); }

:root {
  --obsidian: #0d0c0b;
  --obsidian-2: #161412;
  --bone: #ece4d6;
  --bone-2: #ddd3c2;
  --gold: #e8a838;
  --gold-deep: #c98a1c;
  --river: #7fa3b8;        /* river blue, for lines and text on dark */
  --river-ink: #2f5266;    /* river blue, for text on bone */
  --dusk: #a493b8;         /* dusk violet, small text on dark */
  --dusk-deep: #3a3247;

  --ink: var(--bone);
  --ink-2: #b9b0a2;        /* secondary text on obsidian */
  --ink-on-bone: #0d0c0b;
  --ink-on-bone-2: #4a443c;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  --gutter: clamp(16px, 4.5vw, 64px);
  --max: 1360px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: #3a352f var(--obsidian); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; position: relative;
  background: var(--obsidian); color: var(--ink);
  font: 400 1.125rem/1.62 var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--gold);
  overflow-x: hidden;
}

::selection { background: var(--gold); color: var(--obsidian); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: #3a352f; border: 3px solid var(--obsidian); border-radius: 8px; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.on-bone :focus-visible, .on-gold :focus-visible { outline-color: var(--obsidian); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--obsidian); font: 700 .95rem var(--display); text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, .display {
  margin: 0;
  font-family: var(--display);
  font-variation-settings: "wdth" 66;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: -.005em;
  line-height: .86;
  text-wrap: balance;
}
h2 { font-size: clamp(3rem, 9.2vw, 8.6rem); }
h3 { margin: 0; font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 750; text-transform: uppercase; letter-spacing: .005em; line-height: .95; }
.meta { font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.lede { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.5; max-width: 40ch; }
p { margin: 0; }
.ph { font-family: var(--display); font-variation-settings: "wdth" 100; font-size: .85em; font-weight: 600; padding: .05em .45em; border: 1px dashed currentColor; border-radius: 3px; white-space: nowrap; }

/* reveal: lines rise from behind a mask; visible by default without JS */
.js .reveal .line { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.js .reveal .line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .reveal.is-in .line > span { transform: none; }
.js .reveal .line:nth-child(2) > span { transition-delay: .08s; }
.js .reveal .line:nth-child(3) > span { transition-delay: .16s; }
.js .reveal .line:nth-child(4) > span { transition-delay: .24s; }
/* the hero headline is the first thing people see: it rises with CSS from the first frame, never waiting on JS */
.hero h1.reveal .line > span { transform: none; animation: rise 1s var(--ease) both; }
.hero h1.reveal .line:nth-child(2) > span { animation-delay: .07s; }
.hero h1.reveal .line:nth-child(3) > span { animation-delay: .14s; }
@keyframes rise { from { transform: translateY(40%); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 54px; padding: 0 24px;
  border: 0; border-radius: 0; cursor: pointer; text-decoration: none;
  font: 750 1rem/1 var(--display); font-variation-settings: "wdth" 88;
  letter-spacing: .06em; text-transform: uppercase;
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--obsidian); }
.btn-gold:hover { background: #f2b84d; }
.btn-line { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 2px var(--bone); }
.btn-line:hover { background: var(--bone); color: var(--obsidian); }
.btn-dark { background: var(--obsidian); color: var(--gold); }
.btn-dark:hover { background: #24201c; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.top.is-stuck { background: rgba(13, 12, 11, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(236, 228, 214, .1); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font: 850 1.35rem/1 var(--display); font-variation-settings: "wdth" 66; letter-spacing: .04em; text-transform: uppercase; }
.brand-name b span { font-weight: 600; font-variation-settings: "wdth" 100; font-size: .7rem; letter-spacing: .18em; margin-left: .5em; color: var(--ink-2); vertical-align: .35em; }
.brand-name i { font: italic 400 .8rem/1.2 var(--serif); color: var(--ink-2); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav a.navlink { position: relative; text-decoration: none; font: 650 .82rem/1 var(--display); font-variation-settings: "wdth" 100; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 8px 0; transition: color .2s; }
.nav a.navlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a.navlink:hover { color: var(--bone); }
.nav a.navlink:hover::after, .nav a.navlink[aria-current]::after { transform: scaleX(1); }
.nav a.navlink[aria-current] { color: var(--bone); }
.top .btn { min-height: 44px; padding: 0 18px; font-size: .88rem; }
.top-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 4px; }
.lang a { display: grid; place-items: center; min-width: 44px; height: 44px; text-decoration: none; font: 700 .8rem/1 var(--display); font-variation-settings: "wdth" 100; letter-spacing: .12em; color: var(--ink-2); box-shadow: inset 0 0 0 1px rgba(236, 228, 214, .28); transition: color .2s, box-shadow .2s, background-color .2s; }
.lang a:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone); }
.lang a[aria-current] { background: var(--bone); color: var(--obsidian); box-shadow: none; }
@media (min-width: 961px) and (max-width: 1300px) { .brand-name b span, .nav-name { display: none; } .nav { gap: 18px; } }

/* ---------- the land ---------- */
.contours { position: absolute; inset: -8%; z-index: 0; pointer-events: none; background: url("land/contours.svg") center / cover no-repeat; }
.contours.ink { background-image: url("land/contours-ink.svg"); opacity: .7; }
.js .contours.ink:not(.is-near) { background-image: none; }
@media (prefers-reduced-motion: no-preference) {
  .contours { animation: drift 90s ease-in-out infinite alternate; }
  @keyframes drift { from { transform: translate3d(-2%, -1%, 0) scale(1.02); } to { transform: translate3d(2%, 1.5%, 0) scale(1.06); } }
}
.ridge { position: relative; z-index: 1; display: block; width: 100%; height: clamp(90px, 14vw, 210px); margin: -1px 0 -2px; }
.ridge::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--front, transparent); }
.ridge svg { width: 100%; height: 100%; }

/* contours as a transition between two dark sections */
.contour-band { position: relative; height: clamp(120px, 16vw, 240px); background: url("land/contours.svg") center 40% / 140% auto no-repeat; -webkit-mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); mask-image: linear-gradient(transparent, #000 35%, #000 65%, transparent); opacity: .9; }

/* the river: one line through the whole page */
.river { position: absolute; left: 0; top: 0; width: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.river path { fill: none; stroke: var(--river); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.river circle { fill: var(--gold); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; margin-top: -76px; padding-top: 76px; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
.hero > .wrap { align-self: end; }
.hero .ridge { height: clamp(80px, 10vw, 150px); }
.m-br { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(80% 60% at 30% 40%, transparent 30%, var(--obsidian) 100%); }
.hero .wrap { padding: clamp(24px, 5vh, 64px) 0 clamp(16px, 3vh, 36px); }
.hero h1 { font-size: clamp(3.6rem, min(14.6vw, 20.5vh), 13.6rem); line-height: .84; }
.hero h1 .gold { color: var(--gold); }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end; margin-top: clamp(24px, 4vh, 48px); }
.hero-copy { display: grid; gap: 14px; }
.es-line { font-style: italic; color: var(--ink-2); }
.es-line a { color: var(--gold); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.es-line a:hover { text-decoration-thickness: 2px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-marks { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(20px, 3.5vh, 40px); color: var(--ink-2); }
@media (min-width: 1200px) and (max-height: 1000px) { .hero-marks { display: none; } }

/* ---------- sections ---------- */
.on-bone { background: var(--bone); color: var(--ink-on-bone); }
.on-bone ::selection { background: var(--obsidian); color: var(--bone); }
.sect { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.sect-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 24px 56px; align-items: end; margin-bottom: clamp(48px, 7vw, 96px); }
.sect-head p { max-width: 38ch; color: var(--ink-2); }
.on-bone .sect-head p { color: var(--ink-on-bone-2); }

/* rock-art glyphs: one per section, drawn from the carvings of the Juchipila canyon */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.mark svg, .foot-glyphs svg { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: square; stroke-linejoin: miter; flex: none; }
.mark { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(18px, 2vw, 26px); color: var(--gold); font-family: var(--display); font-variation-settings: "wdth" 100; font-weight: 650; font-size: .82rem; letter-spacing: .22em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.mark svg { width: clamp(36px, 3.4vw, 46px); height: clamp(36px, 3.4vw, 46px); stroke-width: 2.8; }
.sect-head .mark { grid-column: 1 / -1; margin-bottom: -8px; max-width: none; color: var(--gold); }
.on-bone .mark, .on-bone .sect-head .mark { color: var(--river-ink); }
.on-gold .mark { color: #3d2d10; }
.foot-glyphs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: clamp(20px, 3.4vw, 44px); color: var(--ink-2); }
.foot-glyphs svg { width: clamp(40px, 4.6vw, 64px); height: clamp(40px, 4.6vw, 64px); stroke-width: 2.4; }

/* services */
.services { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--obsidian); }
.service { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr) minmax(0, 2fr); gap: 16px 48px; align-items: baseline; padding: clamp(22px, 3vw, 34px) 0; border-bottom: 1px solid rgba(13, 12, 11, .22); }
.service h3 { font-size: clamp(2rem, 4.6vw, 4.2rem); font-variation-settings: "wdth" 66; font-weight: 850; line-height: .9; }
.service p { color: var(--ink-on-bone-2); max-width: 44ch; }
.service .meta { justify-self: end; color: var(--river-ink); text-align: right; }

/* work: each client on a stage in its own brand color, desktop and phone together */
.stages { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.4vw, 32px); }
.stage a { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(28px, 4vw, 64px); padding: clamp(28px, 4vw, 64px); overflow: hidden; isolation: isolate; text-decoration: none; color: var(--bone); background: var(--c); }
.stage a::after { content: ""; position: absolute; inset: -10%; z-index: -1; background: url("land/contours.svg") center / cover; opacity: .55; mix-blend-mode: soft-light; pointer-events: none; }
.stage:nth-child(even) a { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.stage:nth-child(even) .stage-info { order: 2; }
.stage-info { display: grid; gap: 14px; justify-items: start; }
.stage h3 { font-size: clamp(2.6rem, 5.4vw, 5.6rem); font-variation-settings: "wdth" 66; font-weight: 850; line-height: .86; }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.stage .meta { color: var(--bone); }
.stage p { max-width: 40ch; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; background: var(--gold); color: var(--obsidian); font: 750 .78rem/1 var(--display); letter-spacing: .14em; }
.visit { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 13px 16px; background: var(--bone); color: var(--obsidian); font: 750 .82rem/1 var(--display); font-variation-settings: "wdth" 88; letter-spacing: .08em; text-transform: uppercase; }
.visit svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.stage a:hover .visit svg, .stage a:focus-visible .visit svg { transform: translate(3px, -3px); }
.stage a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.devices { position: relative; padding: 0 9% 9% 0; }
.stage:nth-child(even) .devices { padding: 0 0 9% 9%; }
.browser { background: #1d1a17; border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(236, 228, 214, .12); transition: transform .7s var(--ease); }
.browser .bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #26221e; }
.browser .bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a443c; }
.browser .bar span { margin-left: 12px; flex: 1; max-width: 340px; height: 18px; border-radius: 9px; background: #1a1714; color: #9d9486; font: 500 .68rem/18px var(--display); font-variation-settings: "wdth" 100; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser img, .phone img { display: block; width: 100%; height: auto; object-fit: cover; object-position: top; }
.browser img { aspect-ratio: 16 / 10; }
.phone { position: absolute; right: 0; bottom: 0; width: 24%; background: #0b0a09; border-radius: 30px; padding: 7px; box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .65), 0 0 0 1px rgba(236, 228, 214, .18); transition: transform .7s var(--ease); }
.phone img { aspect-ratio: 390 / 844; border-radius: 24px; }
.stage:nth-child(even) .phone { right: auto; left: 0; }
.stage a:hover .browser { transform: translateY(-6px); }
.stage a:hover .phone { transform: translateY(-14px) rotate(-2deg); }
@media (max-width: 860px) {
  .stage a, .stage:nth-child(even) a { grid-template-columns: 1fr; }
  .stage:nth-child(even) .stage-info { order: 0; }
  .devices, .stage:nth-child(even) .devices { padding: 0 14% 14% 0; }
  .stage:nth-child(even) .phone { left: auto; right: 0; }
  .phone { width: 30%; border-radius: 20px; padding: 5px; }
  .phone img { border-radius: 16px; }
}

/* process: along the river */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(44px, 5.2vw, 76px); }
.step { --h3: clamp(2.6rem, 6vw, 5.6rem); display: grid; grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1fr); align-items: start; }
.step-body { max-width: 30rem; grid-row: 1; }
.step:nth-child(odd) .step-body { grid-column: 3; }
.step:nth-child(even) .step-body { grid-column: 1; justify-self: end; text-align: right; }
.step .node { grid-column: 2; grid-row: 1; justify-self: center; align-self: start; margin-top: calc(var(--h3) * .42 - 9px); width: 18px; height: 18px; border-radius: 50%; background: var(--obsidian); box-shadow: 0 0 0 2px var(--river), 0 0 0 8px var(--obsidian); transition: background-color .5s, box-shadow .5s; }
@media (min-width: 721px) { .step:nth-child(odd) .node { transform: translateX(22px); } .step:nth-child(even) .node { transform: translateX(-22px); } }
.step.is-in .node { background: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 0 8px var(--obsidian); }
.step h3 { font-size: var(--h3); font-variation-settings: "wdth" 66; font-weight: 850; line-height: .88; }
.step p { margin-top: 16px; color: var(--ink-2); }

/* about the name */
.name-sect { overflow: hidden; isolation: isolate; }
.name-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.name-word { font-size: clamp(3.6rem, 10.4vw, 10.2rem); line-height: .82; }
.say { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; margin-top: 18px; }
.say b { font: 850 clamp(1.6rem, 3vw, 2.6rem)/1 var(--display); font-variation-settings: "wdth" 66; letter-spacing: .02em; }
.say b em { font-style: normal; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: var(--gold-deep); }
.say i { color: var(--ink-on-bone-2); }
.name-story p + p { margin-top: 18px; }
.name-story p:not(.lede) { color: var(--ink-on-bone-2); }
.bearing { margin-top: 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 22px; border-top: 2px solid var(--obsidian); }
.bearing div { display: grid; gap: 4px; }
.bearing div:last-child { text-align: right; }
.bearing b { font: 800 1.2rem/1 var(--display); font-variation-settings: "wdth" 80; text-transform: uppercase; }
.bearing .meta { color: var(--river-ink); }
.bearing .span { display: grid; justify-items: center; gap: 6px; color: var(--ink-on-bone-2); }
.bearing .span svg { width: clamp(70px, 9vw, 130px); height: 14px; }

/* rooted */
.rooted { overflow: hidden; isolation: isolate; }
.roots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(236, 228, 214, .2); }
.root { padding: 30px 32px 0 0; }
.root + .root { padding-left: 32px; border-left: 1px solid rgba(236, 228, 214, .2); }
.root h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-variation-settings: "wdth" 70; font-weight: 850; color: var(--bone); }
.root p { margin-top: 14px; color: var(--ink-2); max-width: 34ch; }
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 96px); margin-top: clamp(56px, 8vw, 104px); padding-top: clamp(28px, 3.4vw, 40px); border-top: 2px solid var(--bone); }
.founder h3 { font-size: clamp(2.6rem, 6vw, 5.4rem); font-variation-settings: "wdth" 66; font-weight: 850; line-height: .86; color: var(--bone); }
.founder-id .meta { display: block; margin-top: 16px; color: var(--gold); }
.founder-story { display: grid; gap: 18px; }
.founder-story .lede { max-width: 46ch; }
.founder-story p:not(.lede) { color: var(--ink-2); max-width: 60ch; }
.towns { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 0; margin-top: clamp(48px, 7vw, 88px); }
.towns span.t { font: 850 clamp(1.5rem, 3.6vw, 3rem)/1 var(--display); font-variation-settings: "wdth" 66; text-transform: uppercase; color: var(--bone); }
.towns span.t:not(:last-child)::after { content: "/"; color: var(--gold); margin: 0 .35em; font-weight: 400; }

/* contact */
.on-gold { background: var(--gold); color: var(--obsidian); }
.on-gold ::selection { background: var(--obsidian); color: var(--gold); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
.contact h2 { font-size: clamp(3.2rem, 7.4vw, 7.4rem); }
.contact .lede { margin-top: 28px; }
.next { list-style: none; counter-reset: next; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; max-width: 34rem; }
.next li { counter-increment: next; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: baseline; padding-top: 12px; border-top: 1px solid rgba(13, 12, 11, .28); }
.next li::before { content: counter(next); font: 850 1.35rem/1 var(--display); font-variation-settings: "wdth" 66; }
.next b { font-weight: 600; }
.on-gold .es-line { color: #3d2d10; margin-top: 22px; }
.mail { display: grid; gap: 8px; margin-top: 36px; justify-items: start; }
.mail .meta { color: #3d2d10; }
.mail-link { font: 750 clamp(1.15rem, 1.8vw, 1.45rem)/1.2 var(--display); font-variation-settings: "wdth" 88; letter-spacing: .01em; color: var(--obsidian); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; padding: 4px 0; transition: text-decoration-thickness .2s; }
.mail-link:hover { text-decoration-thickness: 4px; }

form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label, legend { font: 700 .8rem/1.2 var(--display); font-variation-settings: "wdth" 100; letter-spacing: .12em; text-transform: uppercase; }
.field > label { display: flex; align-items: center; gap: .45em; height: 1.3rem; white-space: nowrap; }
.opt { line-height: 1; font-weight: 500; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-style: italic; font-size: .95rem; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 0; border-radius: 0;
  background: rgba(13, 12, 11, .06); color: var(--obsidian);
  font: 400 1.05rem/1.4 var(--serif);
  box-shadow: inset 0 -2px 0 var(--obsidian);
  transition: background-color .2s, box-shadow .2s;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #3d2d10; }
input:hover, textarea:hover { background: rgba(13, 12, 11, .1); }
input:focus-visible, textarea:focus-visible { outline: none; background: rgba(255, 255, 255, .28); box-shadow: inset 0 -3px 0 var(--obsidian), 0 0 0 2px var(--obsidian); }
.field[data-invalid] input, .field[data-invalid] textarea { box-shadow: inset 0 -3px 0 #7a1608, 0 0 0 2px #7a1608; }
.err { font: 600 .9rem/1.3 var(--serif); color: #6b1206; }
.err:empty { display: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { position: relative; display: block; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-height: 44px; padding: 0 16px; box-shadow: inset 0 0 0 2px var(--obsidian); font: 700 .82rem/1 var(--display); font-variation-settings: "wdth" 100; letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s, color .2s; }
.chip:hover span { background: rgba(13, 12, 11, .1); }
.chip input:checked + span { background: var(--obsidian); color: var(--gold); }
.chip input:focus-visible + span { outline: 3px solid var(--obsidian); outline-offset: 3px; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.status { font: 600 1rem/1.4 var(--serif); max-width: 44ch; }
.status[data-tone="bad"] { color: #6b1206; }

/* footer */
.foot { position: relative; z-index: 2; padding: 0 0 40px; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 48px; align-items: end; padding-top: 24px; }
.foot-name { font-size: clamp(3.6rem, 12vw, 11rem); line-height: .82; color: var(--bone); }
.foot-meta { display: grid; gap: 10px; justify-items: end; text-align: right; }
.foot-mail { color: var(--bone); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 4px; padding: 6px 0; }
.foot-mail:hover { color: var(--gold); }
.social { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid rgba(236, 228, 214, .16); }
.foot-base a { text-decoration: none; padding: 8px 0; }
.foot-base a:hover { color: var(--bone); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .top .wrap { min-height: 64px; padding-top: 10px; }
  .nav { order: 3; width: calc(100% + 16px); margin: 0 -8px; padding: 0 8px 10px; gap: 22px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a.navlink { flex: none; }
  .hero { margin-top: -108px; padding-top: 108px; }
  html { scroll-padding-top: 120px; }
  .sect-head, .name-grid, .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .service .meta { justify-self: start; text-align: left; }
  .roots { grid-template-columns: 1fr; border-top: 0; }
  .founder { grid-template-columns: 1fr; }
  .root, .root + .root { padding: 26px 0; border-left: 0; border-top: 1px solid rgba(236, 228, 214, .2); }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; }
  .hero h1 { font-size: 20vw; }
  .m-br { display: inline; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-marks .meta:last-child { display: none; }
  .steps { gap: 56px; }
  .step { grid-template-columns: 40px minmax(0, 1fr); }
  .step .node { grid-column: 1; justify-self: start; margin-left: 2px; }
  .step:nth-child(odd) .step-body, .step:nth-child(even) .step-body { grid-column: 2; justify-self: start; text-align: left; }
  form { grid-template-columns: 1fr; }
  .bearing { grid-template-columns: 1fr; }
  .bearing div:last-child { text-align: left; }
  .bearing .span { justify-items: start; }
  .foot .wrap { grid-template-columns: 1fr; }
  .foot-meta { justify-items: start; text-align: left; }
  .brand-name b span { display: none; }
  .nav-name { display: none; }
  .top-actions .btn { display: none; }
  :lang(es) .nav { gap: 12px; }
  :lang(es) .nav a.navlink { font-size: .76rem; letter-spacing: .05em; }
  .nav { gap: 18px; -webkit-mask-image: none; mask-image: none; }
  .hero-marks { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .js .reveal .line > span { transform: none; }
}
