/* C — Contour. Real terrain around San Luis Obispo as the brand's living surface. Prototype. */
:root { --spruce: #0B1A17; --spruce-2: #12322A; --sand: #ECE8DC; --sage: #C5D2C0; --signal: #FF9D2A; --ink: #0B1A17; --mist: #DCEEE4; --line: rgba(220,238,228,.2); --line-d: rgba(11,26,23,.18);
  --sans: "Archivo", system-ui, sans-serif; --mono: "DM Mono", ui-monospace, monospace; --pad: clamp(20px, 3.6vw, 56px); --ease: cubic-bezier(.2,.75,.15,1); }
*, *::before, *::after { box-sizing: border-box; } * { margin: 0; } html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--spruce); color: var(--mist); font: 400 1.0625rem/1.5 var(--sans); font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; } a { color: inherit; text-decoration: none; } ul, ol { list-style: none; padding: 0; } button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; } .skip { position: absolute; left: 12px; top: -70px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 14px; } .skip:focus { top: 10px; }
.h { font-family: var(--sans); font-stretch: 118%; font-weight: 500; letter-spacing: -.035em; line-height: .96; text-wrap: balance; }
.h-xl { font-size: clamp(2.9rem, 1.2rem + 7.6vw, 10rem); } .h-l { font-size: clamp(2.5rem, 1.3rem + 5vw, 6.6rem); } .h-m { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.9rem); line-height: 1.04; letter-spacing: -.025em; }
.mono { font-family: var(--mono); font-size: .75rem; line-height: 1.45; letter-spacing: .01em; }
.wrap { width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--pad); } .sec { position: relative; padding-block: clamp(84px, 10vw, 170px); }
.btn { position: relative; display: inline-flex; align-items: center; gap: 14px; min-height: 54px; padding: 0 22px; background: var(--signal); color: var(--ink); font-weight: 600; font-stretch: 110%; letter-spacing: -.01em; border: 0; cursor: pointer; overflow: hidden; transition: background-color .25s, color .25s; }
.btn svg { width: 16px; height: 16px; transition: transform .35s var(--ease); } .btn:hover svg { transform: translateX(5px); } .btn:hover { background: var(--mist); }
.btn--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; } .btn--line:hover { background: var(--signal); color: var(--ink); box-shadow: none; }

/* Top */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; height: 72px; padding-inline: var(--pad); transition: background-color .3s, height .3s; } .top.is-s { background: rgba(11,26,23,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); height: 60px; }
.top img { height: 22px; width: auto; } .top nav { display: flex; gap: 26px; margin-left: auto; font-family: var(--mono); font-size: .8125rem; } .top nav a { position: relative; padding: 8px 0; } .top nav a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); } .top nav a:hover::before { transform: scaleX(1); }
.top .btn { min-height: 40px; padding: 0 14px; font-size: .875rem; } .top .btn svg { width: 13px; }

/* Hero map */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px var(--pad) clamp(26px, 3vw, 44px); overflow: hidden; isolation: isolate; }
.map { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.map__in { position: absolute; left: var(--fx, 52%); top: var(--fy, 46%); width: max(108vw, 170svh); aspect-ratio: 2400 / 1533; transform: translate(-50%, -50%); transform-origin: 56% 48%; }
.map__in img, .map__in svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__bright { -webkit-mask-image: radial-gradient(circle var(--beam, 280px) at var(--mx, 56%) var(--my, 44%), #000 0, rgba(0,0,0,.72) 38%, rgba(0,0,0,.18) 72%, transparent 100%); mask-image: radial-gradient(circle var(--beam, 280px) at var(--mx, 56%) var(--my, 44%), #000 0, rgba(0,0,0,.72) 38%, rgba(0,0,0,.18) 72%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,26,23,.86) 0, rgba(11,26,23,.2) 44%, transparent 62%), linear-gradient(180deg, rgba(11,26,23,.55) 0, transparent 18%); pointer-events: none; }
.pin circle.c { fill: var(--signal); } .pin circle.r { fill: none; stroke: var(--signal); stroke-width: 1.5; opacity: .55; } .pin text { font: 400 15px var(--mono); fill: var(--mist); } .route { fill: none; stroke: var(--signal); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 2 9; }
.hero h1 { max-width: 9.4em; } .hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-top: clamp(20px, 2.6vw, 36px); } .hero__l { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; } .hero__l p { max-width: 21em; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.35; }
.hud { min-width: 240px; padding: 12px 14px; background: rgba(11,26,23,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line); } .hud div { display: flex; justify-content: space-between; gap: 22px; } .hud span:first-child { color: rgba(220,238,228,.62); } .hud b { font-weight: 400; color: var(--signal); font-variant-numeric: tabular-nums; }
.scale { display: block; height: 6px; margin-top: 10px; border: 1px solid var(--mist); border-top: 0; width: var(--sb, 90px); }

/* Services */
.sand { background: var(--sand); color: var(--ink); } .sage { background: var(--sage); color: var(--ink); }
.joy { position: relative; margin-top: clamp(28px, 4vw, 56px); margin-bottom: clamp(20px, 3vw, 44px); } .joy svg { width: 100%; height: auto; overflow: visible; } .joy path { fill: var(--sand); stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: stroke .3s; } .joy path.is-hot { stroke: #E37A06; stroke-width: 2.4; }
.joy figcaption { display: flex; justify-content: space-between; gap: 20px; margin-top: 12px; color: rgba(11,26,23,.66); }
.svc li { border-top: 1px solid var(--line-d); } .svc li:last-child { border-bottom: 1px solid var(--line-d); }
.svc a { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) 24px; gap: 8px 28px; align-items: baseline; padding: 24px 0; transition: padding .4s var(--ease); isolation: isolate; }
.svc a::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); } .svc a:hover::before, .svc a:focus-visible::before { transform: scaleY(1); } .svc a:hover, .svc a:focus-visible { color: var(--mist); padding-left: 18px; }
.svc b { font-stretch: 118%; font-weight: 500; font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2.6rem); line-height: 1; letter-spacing: -.03em; } .svc p { opacity: .8; } .svc .mono { text-align: right; } .svc svg { width: 18px; height: 18px; align-self: center; }

/* Work */
.work { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.work__side { position: sticky; top: 76px; height: calc(100svh - 92px); min-height: 520px; display: flex; flex-direction: column; } .ca { position: relative; flex: 1 1 auto; min-height: 0; margin-top: 18px; } .ca__in { position: absolute; left: 0; top: 0; height: 100%; aspect-ratio: 1100 / 1224; max-width: 100%; }
.ca img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left top; } .ca i { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(220,238,228,.5); transition: background-color .3s, transform .4s var(--ease), box-shadow .4s; } .ca i.is-on { background: var(--signal); transform: scale(1.6); box-shadow: 0 0 0 9px rgba(255,157,42,.2), 0 0 0 22px rgba(255,157,42,.08); }
.ca__read { flex: none; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); margin-top: 12px; } .ca__read b { font-weight: 400; color: var(--signal); }
.cards { display: grid; gap: clamp(48px, 7vw, 110px); } .card { position: relative; display: block; } .card__f { position: relative; }
.card__f > img:first-child { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; box-shadow: 0 0 0 1px var(--line); } .card__p { position: absolute; right: 3%; bottom: -7%; width: 19%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 16px; border: 4px solid #050B0A; box-shadow: 0 24px 40px -18px #000; }
.card::before, .card::after { content: ""; position: absolute; width: 16px; height: 16px; z-index: 2; } .card::before { left: -8px; top: -8px; border-left: 1px solid var(--signal); border-top: 1px solid var(--signal); } .card::after { right: -8px; top: -8px; border-right: 1px solid var(--signal); border-top: 1px solid var(--signal); }
.card h3 { margin-top: 26px; font-stretch: 118%; font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.6rem); letter-spacing: -.03em; line-height: 1.02; } .card p { margin-top: 6px; color: rgba(220,238,228,.72); max-width: 70%; }

/* Route steps */
.legs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: clamp(36px, 5vw, 72px); } .legs::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 3px, transparent 3px 11px); opacity: .5; } .legs__draw { position: absolute; left: 0; top: 9px; height: 2px; width: 100%; background: #C96200; transform-origin: left; }
.legs li { position: relative; padding-top: 40px; } .legs li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 2px var(--ink); } .legs b { display: block; font-stretch: 112%; font-weight: 500; font-size: clamp(1.3rem, 1.1rem + .7vw, 1.8rem); letter-spacing: -.025em; line-height: 1.05; } .legs p { margin-top: 8px; font-size: .98rem; line-height: 1.4; opacity: .82; } .legs .mono { display: block; margin-bottom: 8px; opacity: .7; }

/* About */
.about { background: var(--spruce-2); } .about__g { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 90px); align-items: center; } .about__i { position: relative; aspect-ratio: 5 / 5.6; overflow: hidden; } .about__i img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; } .about__i::after { content: "35.2828° N  120.6596° W"; position: absolute; left: 12px; bottom: 10px; font: 400 .75rem var(--mono); color: #fff; }
.about p { margin-top: 18px; color: rgba(220,238,228,.82); max-width: 32em; } .about p.lead { font-size: clamp(1.25rem, 1.1rem + .7vw, 1.7rem); line-height: 1.26; color: var(--mist); letter-spacing: -.012em; }

/* Quote + end */
.q { background: var(--signal); color: var(--ink); } .q blockquote { font-stretch: 118%; font-weight: 500; font-size: clamp(2.1rem, 1.1rem + 4.4vw, 6rem); letter-spacing: -.035em; line-height: 1; max-width: 17em; } .q figcaption { margin-top: 22px; }
.end { position: relative; overflow: hidden; isolation: isolate; padding-top: clamp(120px, 15vw, 240px); } .end .map { z-index: -1; opacity: .8; } .end::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--signal) 0, rgba(11,26,23,0) 0), linear-gradient(0deg, rgba(11,26,23,.92) 12%, rgba(11,26,23,.2)); }
.end__row { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 28px; } .foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; margin-top: clamp(70px, 9vw, 140px); padding-top: 22px; border-top: 1px solid var(--line); font-size: .93rem; } .foot img { height: 21px; width: auto; margin-bottom: 8px; } .foot .mono { color: rgba(220,238,228,.6); margin-bottom: 6px; } .foot li + li { margin-top: 3px; } .foot a:hover { color: var(--signal); }

@media (max-width: 980px) { .work { grid-template-columns: 1fr; } .work__side { position: relative; top: auto; height: auto; min-height: 0; } .ca { display: none; } .ca__read { display: none; } .card p { max-width: none; } .about__g { grid-template-columns: 1fr; } .legs { grid-template-columns: 1fr 1fr; row-gap: 36px; } .legs::before, .legs__draw { display: none; } .svc a { grid-template-columns: 1fr 24px; } .svc p, .svc .mono { grid-column: 1; text-align: left; } .svc svg { grid-column: 2; grid-row: 1; } .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .top nav { display: none; } .top .btn { margin-left: auto; } .map__in { --fx: 46%; width: 240vh; } .hud { width: 100%; } .legs { grid-template-columns: 1fr; } .card__p { right: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } }

/* phone pins */ @media (max-width: 640px) { .pin text { display: none; } }
