/* One typeface, one off-white ground, gradients only where they carry a
   panel. The hero is the accepted opening; everything below is new. */
:root {
  --ink:#172d32; --soft:#5a6a69; --paper:#f6f7f4; --white:#fff; --line:rgba(23,45,50,.14);
  --radius:22px;
  font-family:Manrope,-apple-system,BlinkMacSystemFont,sans-serif; color:var(--ink);
  font-synthesis:none;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body { margin:0; background:var(--paper); color:var(--ink); overflow-x:clip; }
a { color:inherit; text-decoration:none; }
svg { width:18px; height:18px; flex:none; fill:none; stroke:currentColor; stroke-width:1.5; }
h1,h2,h3,p,ul { margin:0; }
p { line-height:1.6; }
h2 { font-size:clamp(40px,4.6vw,66px); font-weight:500; letter-spacing:-.05em; line-height:1.05; }
h3 { font-size:22px; font-weight:600; letter-spacing:-.03em; line-height:1.2; }
.lede { font-size:clamp(17px,1.35vw,20px); color:var(--soft); max-width:34em; letter-spacing:-.01em; }
.skip { position:fixed; top:-100px; left:20px; padding:14px; background:#fff; z-index:20; }
.skip:focus { top:20px; }

/* Reveals: elements fade up once as they enter the viewport. */
.reveal { opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; transition:none; } }

.masthead { position:fixed; z-index:10; top:0; left:0; right:0; display:flex; align-items:center; justify-content:space-between; padding:30px 5.5%; font-size:14px; transition:padding .35s, background .35s; }
.masthead.scrolled { padding:16px 5.5%; background:rgba(246,247,244,.72); -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px); }
.wordmark { font-weight:700; letter-spacing:-.5px; }
.masthead nav { display:flex; gap:34px; align-items:center; }
.masthead nav a { display:flex; align-items:center; gap:8px; }
/* A clear, stable contact action remains visible over both the sky and paper. */
.nav-cta { position:relative; overflow:hidden; min-height:48px; padding:12px 18px; border:1px solid var(--ink); border-radius:999px; background:var(--ink); color:#fff; font-size:14px; font-weight:600; transition:background .2s; }
.nav-cta:hover { background:#2d4f57; }
/* One quiet highlight on arrival, with no repeating attention animation. */
.nav-cta::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(110deg,transparent 25%,rgba(255,255,255,.24) 50%,transparent 75%); transform:translateX(-120%); animation:contact-intro 1.2s .45s ease-out both; }
@keyframes contact-intro { from { transform:translateX(-120%); } to { transform:translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .nav-cta::after { animation:none; } }

.text-link { display:inline-flex; gap:14px; align-items:center; font-size:14px; font-weight:500; padding:11px 0; border-bottom:1px solid rgba(23,45,50,.3); }
.text-link svg { transition:transform .3s; }
.text-link:hover svg { transform:translate(2px,-2px); }
.text-link.light { color:#fff; border-color:rgba(255,255,255,.45); }

/* Hero */
.hero { min-height:100svh; position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center; padding:100px 8%; }
.hero .gradient { position:absolute; inset:0; width:100%; height:100%; z-index:-1; pointer-events:none; }
.hero-copy { will-change:transform,opacity; max-width:900px; }
h1 { font-size:clamp(88px,13.2vw,208px); line-height:1.03; letter-spacing:-.075em; font-weight:500; margin:0 0 26px -.065em; }
.intro { font-size:clamp(20px,2.2vw,30px); line-height:1.4; letter-spacing:-.025em; margin-bottom:18px; }
.sub { font-size:clamp(15px,1.15vw,17px); max-width:34em; color:rgba(23,45,50,.8); margin-bottom:32px; }
.hero-links { display:flex; gap:28px; align-items:center; }
/* The main next step reads as a button and stays easy to tap on phones. */
.explore-button { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; min-height:52px; min-width:210px; padding:14px 22px; background:rgba(255,255,255,.94); border:1px solid rgba(23,45,50,.18); border-radius:16px; font-size:16px; font-weight:600; box-shadow:0 3px 12px rgba(23,45,50,.06); transition:background .2s,transform .2s; }
.explore-button:hover { background:#fff; transform:translateY(-2px); }
.explore-button svg { width:20px; height:20px; }
.hero-foot { position:absolute; bottom:40px; left:8%; font-size:12px; opacity:.8; }

/* Sections share one measure. */
section:not(.hero) { padding:120px 5.5%; }
.section-head, .feature-head { display:grid; grid-template-columns:1fr 1.4fr; gap:40px; align-items:end; margin-bottom:44px; }
.feature-head { grid-template-columns:1.15fr 1fr; align-items:center; }
.feature-heading { display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
/* A glass treatment keeps the contact action legible on the page background. */
.glass-button { display:inline-flex; align-items:center; justify-content:center; gap:16px; min-height:48px; padding:13px 19px; border:1px solid rgba(255,255,255,.9); border-radius:16px; background:rgba(218,233,244,.72); box-shadow:inset 0 0 0 1px rgba(23,45,50,.08); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); font-size:14px; font-weight:600; transition:background .2s,transform .2s; }
.glass-button:hover { background:#d6e7f3; transform:translateY(-2px); }
/* A full-width next step connects the preview to the complete Arcadia story. */
.arcadia-entry { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:26px 0; border-bottom:1px solid var(--line); }
.arcadia-entry-title { display:block; font-size:22px; font-weight:600; letter-spacing:-.02em; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.arcadia-entry-summary { display:block; margin-top:10px; font-size:15px; color:var(--soft); }
.arcadia-entry-arrow { display:grid; place-items:center; flex:none; width:48px; height:48px; border:1px solid var(--line); border-radius:50%; transition:background .2s; }
.arcadia-entry-arrow svg { width:22px; height:22px; }
.arcadia-entry:hover .arcadia-entry-arrow { background:rgba(23,45,50,.08); }

a:focus-visible { outline:2px solid #315f72; outline-offset:5px; }

/* Arcadia feature: sky panel with clouds, moon, and a strip of landscape. */
.sky-panel { position:relative; isolation:isolate; overflow:hidden; border-radius:var(--radius); min-height:640px; display:grid; grid-template-columns:1fr 1fr; gap:40px; padding:56px; color:#fff; }
.sky { position:absolute; inset:0; z-index:-1; background:linear-gradient(#78a7d6 0%, #b3ccdf 60%, #dbe6ea 100%); }
.clouds { position:absolute; inset:0; width:100%; height:100%; }
.moon { position:absolute; left:34%; top:7%; width:104px; aspect-ratio:1; opacity:.66; mix-blend-mode:screen; }
.moon img { width:100%; height:100%; filter:grayscale(1); mask-image:radial-gradient(circle,#000 43%,transparent 49%); }
/* Anchor both vertical edges. A 100% height plus a negative bottom offset
   left a visible strip of sky above the tree layer inside the panel. */
.land { position:absolute; top:0; left:-2%; bottom:-2%; width:104%; }
/* Keep the wider mountain and foreground composition. Tree visibility is
   handled by the clear detail pass below, without panning or lowering the photo. */
.land img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 70%; mask-image:linear-gradient(transparent 0%, rgba(0,0,0,.5) 28%, #000 55%); }
/* The second pass restores tree detail above the horizon without a hard sky edge. */
.land-filter { position:absolute; overflow:hidden; }
.land img.land-trees { -webkit-mask-image:none; mask-image:none; filter:url(#landscape-tree-alpha); }
.sky-copy { margin-left:clamp(56px,8vw,112px); align-self:start; max-width:420px; color:var(--ink); }
.sky-copy p { font-size:18px; line-height:1.55; margin-bottom:18px; }
.sky-copy .my-part { font-size:14px; color:#2d4a52; margin-bottom:26px; }
.sky-demo { display:grid; gap:16px; align-content:start; }
.frost { background:rgba(255,255,255,.62); -webkit-backdrop-filter:blur(18px) saturate(1.2); backdrop-filter:blur(18px) saturate(1.2); border:1px solid rgba(255,255,255,.7); border-radius:16px; padding:18px 20px; color:var(--ink); }
.card-head { display:flex; justify-content:space-between; font-size:12px; font-weight:600; letter-spacing:.01em; margin-bottom:12px; color:var(--soft); }
.live { display:inline-flex; gap:7px; align-items:center; }
.live i { width:7px; height:7px; border-radius:50%; background:#3d725e; animation:pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity:.35; transform:scale(.8); } }
.graph { display:block; width:100%; height:290px; touch-action:pan-y; }
.note-card p { font-size:15px; line-height:1.5; margin-bottom:10px; }
.card-foot { font-size:11px; color:var(--soft); }

/* Work grid: twelve columns, cards span 3, 6, or 12. */
.grid { display:grid; grid-template-columns:repeat(12,1fr); gap:20px; }
.span-3 { grid-column:span 3; } .span-6 { grid-column:span 6; } .span-12 { grid-column:span 12; }
.card { display:flex; flex-direction:column; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; transition:transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s; }
a.card:hover { transform:translateY(-4px); box-shadow:0 18px 50px rgba(23,45,50,.10); }
.card-visual { position:relative; aspect-ratio:16/9; overflow:hidden; }
.span-3 .card-visual { aspect-ratio:4/3; }
.card-visual .gradient { position:absolute; inset:0; width:100%; height:100%; }
/* Cached gradient layers only move and scale. Their blur is already rasterized,
   so these small scenes can stay smooth without a low-frame-rate canvas loop. */
.gradient { overflow:hidden; }
.gradient-base { position:absolute; inset:0; width:100%; height:100%; }
.gradient-layer { position:absolute; transform-origin:center; will-change:transform; pointer-events:none; }
.card-body { padding:22px 24px 26px; display:grid; gap:8px; }
.card-body p { font-size:15px; color:var(--soft); }
.work-card .card-body { display:flex; flex-direction:column; flex:1; }
.work-card .card-body p { margin-bottom:18px; }
.work-card .card-action { margin-top:auto; }
.card-action { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-top:18px; padding-top:15px; border-top:1px solid var(--line); font-size:13px; font-weight:600; }
.card-action svg { transition:transform .2s; }
a.card:hover .card-action svg { transform:translateX(4px); }
.card-kicker { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--soft); margin-bottom:5px; }
.card-meta { font-size:12px; color:var(--soft); opacity:.8; margin-top:6px; }
.slot { border-style:dashed; background:transparent; padding:34px 28px; display:grid; gap:6px; color:var(--soft); }
.slot span { font-weight:600; font-size:14px; color:var(--ink); }
.slot p { font-size:14px; }

/* Working together */
.hire { display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:stretch; }
.hire h2 { margin-bottom:36px; max-width:12em; }
.problems { list-style:none; padding:0; margin:0 0 30px; border-top:1px solid var(--line); }
.problems li { padding:18px 0; border-bottom:1px solid var(--line); font-size:19px; letter-spacing:-.02em; }
.hire-copy p { max-width:36em; color:var(--soft); }
.process-card { align-self:start; }
.process-card .card-visual { aspect-ratio:1.8; }
.process-card .card-body { padding:30px; }
.process-card h3 { font-size:36px; font-weight:500; }
.process-card .card-body p { font-size:17px; }
.hire-contact { margin-top:30px; }
.contact-link { display:inline-flex; gap:12px; align-items:center; font-size:clamp(20px,2vw,28px); font-weight:500; letter-spacing:-.03em; }

/* About */
.about { display:grid; grid-template-columns:minmax(0,360px) minmax(0,1fr); gap:48px; align-items:start; }
/* Preserve the supplied portrait proportions and reserve space before it loads. */
.portrait { display:block; width:100%; height:auto; aspect-ratio:4/5; border-radius:var(--radius); max-width:360px; }
.about h2 { margin-bottom:26px; }
.about-copy p { max-width:36em; margin-bottom:18px; }
.about-links { display:flex; gap:28px; margin-top:10px; }

footer { display:flex; justify-content:space-between; align-items:center; padding:36px 5.5%; border-top:1px solid var(--line); font-size:13px; color:var(--soft); }

/* Review only: a flat panel for headless captures that lack backdrop filters. */
html.flat .frost { -webkit-backdrop-filter:none; backdrop-filter:none; background:rgba(255,255,255,.86); }

@media (max-width: 900px) {
  .masthead { padding:22px 5.5%; }
  .masthead nav { gap:18px; font-size:13px; }
  .masthead nav a:not(.nav-cta) { display:none; }
  section:not(.hero) { padding:80px 5.5%; }
  .section-head, .feature-head, .hire, .about { grid-template-columns:1fr; gap:20px; }
  .sky-panel { grid-template-columns:1fr; padding:28px; min-height:0; }
  .sky-copy { order:2; margin-left:0; padding:24px; background:rgba(255,255,255,.86); border-radius:16px; }
  .moon { left:auto; right:8%; top:5%; width:64px; }
  .land img { object-position:30% 100%; }
  .span-3, .span-6 { grid-column:span 12; }
  .span-3 .card-visual { aspect-ratio:16/9; }
  .hero-links { flex-direction:column; gap:12px; align-items:stretch; }

  .portrait { max-width:240px; }
}

/* Keep the shared contact destination aligned with the hire section. */
.about-copy { max-width:760px; }
.hire { position:relative; }
.contact-anchor { position:absolute; top:0; }
.contact-status:empty { display:none; }

/* On wide displays the full tree canopy reaches the copy column. Keep that
   reading area legible without applying any blur to the tree-detail layer. */
@media (min-width:1400px) {
  .sky-copy { padding:24px; background:rgba(246,247,244,.88); border-radius:16px; }
}

/* Respect motion preferences while keeping ordinary document scrolling. */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior:auto; } }

/* The homepage keeps its signature left and the navigation group right. */
.masthead { gap:28px; }
@media (max-width:900px) { .masthead { gap:20px; } }
