/* Sillwood — styles.css — 2026-09-16 */
:root {
  --paper: #ffffff; --ink: #111111; --ink-2: rgba(17, 17, 17, 0.62); --line: rgba(17, 17, 17, 0.12); --sky: #79aee8; --sky-2: #5f98d9; --grey: #f2f2f0; --dark: #1f242b; --on-dark: #f4f4f2; --on-dark-2: rgba(244, 244, 242, 0.62);
  --font: "Onest", system-ui, sans-serif; --pad: clamp(20px, 4.4vw, 68px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, dl, dd, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--sky-2); outline-offset: 3px; }
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); }
.h-xl { font-weight: 700; font-size: clamp(56px, 8.4vw, 125px); line-height: 0.98; letter-spacing: -0.03em; }
.h-l { font-weight: 700; font-size: clamp(40px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.025em; }
.h-m { font-weight: 600; font-size: clamp(28px, 3vw, 44px); line-height: 1.1; letter-spacing: -0.02em; }
.h-s { font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; }
.statement { font-weight: 500; font-size: clamp(26px, 2.8vw, 42px); line-height: 1.2; letter-spacing: -0.02em; text-indent: 6ch; max-width: 26ch; }
.statement em { font-style: normal; color: var(--sky-2); }
.muted { color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 14px; height: 56px; padding: 0 8px 0 24px; border: 1px solid var(--line); border-radius: 999px; font-size: 16px; font-weight: 500; background: var(--paper); color: var(--ink); transition: border-color 0.2s, transform 0.15s; }
.pill:hover { border-color: var(--ink); transform: translateY(-1px); }
.pill .dot { width: 40px; height: 40px; border-radius: 50%; background: var(--grey); display: grid; place-items: center; transition: background 0.2s; }
.pill:hover .dot { background: var(--sky); }
.pill svg { width: 16px; height: 16px; }
.pill-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill-ink .dot { background: rgba(255, 255, 255, 0.15); }
.wrap { padding: 0 var(--pad); }
.section { padding: clamp(64px, 9vw, 140px) var(--pad); display: grid; gap: clamp(32px, 4vw, 56px); }
.section > .label { align-self: start; }
.rule-top { border-top: 1px solid var(--line); }

/* header */
.header { position: sticky; top: 0; z-index: 30; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); }
.header.on-sky { background: rgba(121, 174, 232, 0.85); }
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a[aria-current] { text-decoration: underline; text-underline-offset: 6px; }
.header-r { justify-self: end; display: flex; gap: 12px; align-items: center; font-size: 14px; }
.menu-btn { display: none; }
.sheet { position: fixed; inset: 0; z-index: 40; background: var(--paper); display: grid; grid-template-rows: auto 1fr auto; padding: 18px var(--pad) 28px; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; }
.sheet nav { align-self: center; display: grid; gap: 8px; }
.sheet nav a { font-weight: 700; font-size: clamp(34px, 8vw, 60px); letter-spacing: -0.03em; line-height: 1.1; }

/* hero */
.hero-block { height: clamp(220px, 46vh, 460px); background: var(--sky) repeating-linear-gradient(180deg, transparent 0 24.5%, rgba(17, 17, 17, 0.35) 24.5% calc(24.5% + 1px)); }
.hero { padding: clamp(40px, 6vw, 88px) var(--pad) clamp(56px, 8vw, 120px); display: grid; gap: 28px; }
.hero .h-one { font-weight: 700; font-size: clamp(32px, 4.4vw, 64px); line-height: 1; letter-spacing: -0.03em; }
.hero .sub { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; }
.hero p.lead { max-width: 64ch; color: var(--ink-2); font-size: 18px; }

/* areas */
.areas { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.col { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--line); padding-top: 20px; }
.col .n { color: var(--sky-2); font-weight: 600; font-size: 15px; }
.col h3 { font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; letter-spacing: -0.01em; max-width: 14ch; }
.col p { color: var(--ink-2); max-width: 36ch; }

/* services */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.services-grid .copy { display: grid; gap: 24px; }
.services-grid .copy p { max-width: 48ch; color: var(--ink-2); }
.list { display: grid; }
.list li { display: grid; grid-template-columns: 3ch 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: clamp(20px, 2vw, 28px); letter-spacing: -0.01em; }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .n { color: var(--sky-2); font-size: 15px; padding-top: 6px; }

/* projects */
.projects { background: var(--dark); color: var(--on-dark); }
.projects .label { color: var(--on-dark); }
.proj-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.proj-list { display: grid; }
.proj { display: grid; grid-template-columns: 1.6fr 1fr 0.6fr 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(244, 244, 242, 0.16); color: var(--on-dark-2); transition: color 0.2s; font-size: 15px; }
.proj:last-child { border-bottom: 1px solid rgba(244, 244, 242, 0.16); }
.proj b { font-weight: 600; color: var(--on-dark); font-size: 18px; }
.proj:hover, .proj:focus-visible, .proj[aria-current] { color: var(--on-dark); }
.proj-preview { position: sticky; top: 100px; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(244, 244, 242, 0.06); }
.proj-preview img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s; }
.proj-preview img.on { opacity: 1; }
.proj-preview figcaption { position: absolute; left: 16px; bottom: 12px; font-size: 13px; color: var(--on-dark-2); }
.projects .pill { background: transparent; color: var(--on-dark); border-color: rgba(244, 244, 242, 0.3); }
.projects .pill .dot { background: rgba(244, 244, 242, 0.12); }

/* process */
.process { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.timeline { position: sticky; top: 100px; align-self: start; display: grid; gap: 40px; padding-left: 20px; border-left: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.timeline li { position: relative; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.timeline li.on { color: var(--ink); }
.timeline li.on::before { background: var(--sky); }
.steps { display: grid; gap: clamp(64px, 10vw, 160px); }
.step { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.step p { color: var(--ink-2); max-width: 44ch; padding-top: 12px; }
.step figure { grid-column: 1 / -1; aspect-ratio: 16 / 7; overflow: hidden; background: var(--grey); }
.step img { width: 100%; height: 100%; object-fit: cover; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); padding-top: 24px; }
.stats b { display: block; font-weight: 700; font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -0.03em; line-height: 1; }
.stats span { font-size: 14px; color: var(--ink-2); }

/* team */
.team { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.team-photo { aspect-ratio: 21 / 9; overflow: hidden; background: var(--grey); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 4px; }
.person b { font-weight: 600; }
.person span { color: var(--ink-2); font-size: 15px; }

/* cta */
.cta { padding: clamp(80px, 12vw, 180px) var(--pad); display: grid; gap: 32px; justify-items: start; }
.cta .h-l { max-width: 16ch; }
.hold-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hold { position: relative; display: inline-flex; align-items: center; gap: 16px; height: 64px; padding: 0 12px 0 28px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 500; font-size: 16px; overflow: hidden; user-select: none; touch-action: none; }
.hold .fill { position: absolute; inset: 0; background: var(--sky-2); transform: scaleX(0); transform-origin: left; transition: transform 0.1s linear; }
.hold .txt, .hold .ring { position: relative; }
.hold .ring { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center; }
.hold .ring svg { width: 16px; height: 16px; }
.hold.done .fill { transform: scaleX(1); }
.hold-hint { font-size: 14px; color: var(--ink-2); }

/* footer */
.footer { border-top: 1px solid var(--line); padding: clamp(40px, 6vw, 88px) var(--pad) 32px; display: grid; gap: 40px; }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; font-size: 15px; }
.foot-grid ul { display: grid; gap: 8px; }
.foot-grid .label { margin-bottom: 12px; }
.foot-grid address { font-style: normal; color: var(--ink-2); display: grid; gap: 4px; }
.foot-grid a:hover { text-decoration: underline; text-underline-offset: 4px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 16px; }
.foot-bottom .links { display: flex; gap: 20px; }

/* inner */
.page-head { padding: clamp(48px, 7vw, 100px) var(--pad) clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.page-head p { max-width: 60ch; color: var(--ink-2); font-size: 18px; }
.svc-rows { display: grid; }
.svc-row { display: grid; grid-template-columns: 3ch 1fr 1.4fr; gap: 24px; padding: 36px 0; border-top: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 1px solid var(--line); }
.svc-row .n { color: var(--sky-2); font-weight: 600; font-size: 15px; padding-top: 8px; }
.svc-row p { color: var(--ink-2); max-width: 56ch; }
.svc-row ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.work { display: grid; gap: 12px; }
.work figure { aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey); }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1); }
.work:hover img { transform: scale(1.03); }
.work .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2); }
.work b { font-weight: 600; font-size: 20px; }
.form { display: grid; gap: 18px; max-width: 560px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form select, .form textarea { font: 400 17px/1.4 var(--font); background: var(--grey); border: 0; border-bottom: 1px solid var(--ink); padding: 12px 14px; color: var(--ink); border-radius: 0; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom: 2px solid var(--sky-2); }
.form .pill { justify-self: start; }
.form-status { font-size: 15px; color: var(--sky-2); min-height: 1.4em; }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.offices { display: grid; gap: 28px; }
.offices address { font-style: normal; display: grid; gap: 4px; color: var(--ink-2); }
.offices b { color: var(--ink); font-weight: 600; }

/* demo note */
.demo-note { position: fixed; left: 12px; bottom: 12px; z-index: 50; padding: 6px 10px; border-radius: 999px; background: rgba(17, 17, 17, 0.7); color: rgba(255, 255, 255, 0.9); font: 500 11px/1 var(--font); backdrop-filter: blur(6px); }
.demo-note:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) { * { transition-duration: 0.001s !important; } html { scroll-behavior: auto; } }
@media (max-width: 1000px) { .people, .stats { grid-template-columns: 1fr 1fr; } .cols { grid-template-columns: 1fr; } .proj { grid-template-columns: 1.4fr 1fr 1fr; } .proj span:nth-child(3) { display: none; } }
@media (max-width: 860px) {
  .header { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .areas, .services-grid, .proj-wrap, .process, .team, .step, .work-grid, .contact, .foot-grid { grid-template-columns: 1fr; }
  .timeline { position: static; display: flex; flex-wrap: wrap; gap: 12px 24px; border-left: 0; padding-left: 0; }
  .timeline li::before { display: none; }
  .proj-preview { position: relative; top: auto; }
  .statement { text-indent: 3ch; }
  .svc-row { grid-template-columns: 3ch 1fr; }
  .svc-row > div:last-child { grid-column: 2; }
}
@media (max-width: 560px) { .people, .stats { grid-template-columns: 1fr; } .hero-block { height: 180px; } .cta .h-l { max-width: none; } }
