/* Pferred customer-facing site: homepage, project case study, inquiry. */
.site { font-family: var(--sans); }
.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

/* Nav */
.nav { position: sticky; top: var(--bar-h); z-index: 100; background: rgba(250, 248, 244, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-2); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { height: 64px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { border-color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-login { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-login:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .burger { display: flex; }
  .nav.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: var(--shadow); }
  .nav.is-open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 16px; }
  .nav-in { height: 68px; }
  .logo img { height: 50px; }
}
@media (max-width: 560px) { .nav-cta .btn { display: none; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--accent); }
.hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.2vw, 66px); line-height: 1.04; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 540px; margin: 24px 0 32px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-meta { display: grid; grid-template-columns: auto auto auto; gap: 24px 40px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 1100px) { .hero-meta { grid-template-columns: 1fr 1fr; } }
.hero-meta div { font-size: 13.5px; color: var(--muted); }
.hero-meta strong { display: block; color: var(--ink); font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.path { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--white); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; transition: border-color .15s, transform .2s var(--ease), box-shadow .2s; }
.path:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow); }
.path-k { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--accent); }
.path b { font-size: 16px; line-height: 1.25; }
.path small { color: var(--muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 1100px) and (min-width: 961px) { .paths { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .paths { grid-template-columns: 1fr; } }
.hero-media { position: relative; }
.hero-media .frame { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; box-shadow: var(--shadow-lg); background: var(--stone); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kb 22s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-card { position: absolute; left: -28px; bottom: 24px; background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 250px; }
.hero-card .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); flex: 0 0 auto; }
.hero-card b { display: block; font-size: 13.5px; line-height: 1.25; }
.hero-card small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; margin-top: 3px; }
@media (max-width: 960px) {
  .hero { padding: 28px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { order: -1; }
  .hero-media .frame { aspect-ratio: 4 / 3; }
  .hero-card { left: 16px; bottom: 16px; }
}
@media (max-width: 600px) { .hero-card { position: static; margin-top: 14px; max-width: none; } .hero-meta { gap: 18px; } }

/* Marquee of cities */
.cities { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 30px 0 0; overflow: hidden; background: var(--white); }
.cities-track { display: flex; gap: 48px; width: max-content; animation: slide 40s linear infinite; }
.cities-track span { font-family: var(--serif); font-size: 20px; color: var(--ink-2); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.cities-track span::after { content: "\2022"; color: var(--accent); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .cities-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 20px; } .hero-media img { animation: none; } }

/* Sections */
.section { padding: 88px 0; scroll-margin-top: calc(var(--bar-h) + 70px); }
.section.tight { padding: 56px 0; }
.section.alt { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: end; margin-bottom: 44px; }
.section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.02em; line-height: 1.08; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }
@media (max-width: 800px) { .section { padding: 60px 0; } .section-head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 26px 24px; transition: transform .25s var(--ease), box-shadow .25s; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--stone); display: grid; place-items: center; color: var(--accent); margin-bottom: 18px; }
.svc h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.svc p { color: var(--muted); font-size: 14.5px; margin: 0; }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.svc-list li { font-size: 14px; color: var(--ink-2); padding-left: 14px; position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.svc .more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 700; color: var(--accent); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services { grid-template-columns: 1fr; } }

/* Featured projects */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 340px; gap: 18px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone); height: 100%; width: 100%; cursor: pointer; border: 0; padding: 0; text-align: left; font: inherit; color: #fff; grid-column: span 4; }
.proj.wide { grid-column: span 8; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.proj:hover img { transform: scale(1.04); }
.proj .cap { position: absolute; inset: auto 0 0 0; padding: 50px 20px 18px; background: linear-gradient(to top, rgba(10, 12, 16, .78), rgba(10, 12, 16, 0)); display: flex; align-items: end; justify-content: space-between; gap: 10px; }
.proj .cap b { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: .01em; display: block; }
.proj .cap small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; }
.proj .cap .go { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: 0 0 auto; backdrop-filter: blur(6px); transition: background .2s; }
.proj:hover .cap .go { background: var(--accent); }
@media (max-width: 900px) { .projects { grid-auto-rows: 250px; gap: 12px; } .proj, .proj.wide { grid-column: span 6; } .proj.wide:first-child { grid-column: span 12; } }
@media (max-width: 560px) { .projects { grid-auto-rows: 230px; } .proj, .proj.wide { grid-column: span 12; } }
.proj-detail img { border-radius: 12px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; margin-bottom: 16px; }
.proj-detail p { color: var(--ink-2); }
.note-small { font-size: 12.5px; color: var(--muted); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 44px; color: var(--accent); line-height: 1; margin-bottom: 14px; font-weight: 500; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 28px; } .step + .step { border: 0; padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.member .ph { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--stone); }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.member .ph img.pos-megan, .member .ph img.pos-wan { object-position: 50% 50%; }
.member .tx { padding: 20px 22px 22px; }
.member h3 { font-size: 19px; }
.member .role { color: var(--accent); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin: 4px 0 12px; }
.member p { font-size: 14.5px; color: var(--ink-2); margin: 0; }
.member details summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--ink); margin-top: 10px; list-style: none; }
.member details summary::after { content: " +"; }
.member details[open] summary::after { content: " \2212"; }
.member details p { margin-top: 10px; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } .member { display: grid; grid-template-columns: 180px 1fr; } .member .ph { aspect-ratio: auto; } }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } .member .ph { aspect-ratio: 4 / 3.4; } }

/* Logo wall */
.wall { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 28px; text-align: center; }
.wall img { margin: 0 auto; max-width: 980px; width: 100%; }
.wall p { color: var(--muted); font-size: 14px; margin: 14px 0 0; }

/* Quote band */
.quote { background: var(--ink); color: #fff; padding: 80px 0; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); font-weight: 400; line-height: 1.3; max-width: 900px; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--sans); font-size: 14px; color: #c8ccd4; }

/* CTA band */
.cta { background: var(--accent); color: #fff; padding: 80px 0; }
.cta-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.cta h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.02em; line-height: 1.05; }
.cta p { font-size: 18px; margin: 16px 0 0; opacity: .95; max-width: 520px; }
.cta .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.cta .btn.light { color: var(--accent); }
.cta .btn.ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.cta .btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
@media (max-width: 800px) { .cta-in { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* Footer */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .logo img { height: 72px; }
.foot .tag { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 320px; }
.foot-bottom { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Case study page ---------- */
.cs-hero { position: relative; min-height: 560px; display: grid; align-items: end; color: #fff; overflow: hidden; }
.cs-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12, 14, 18, .82) 0%, rgba(12, 14, 18, .25) 55%, rgba(12, 14, 18, .1) 100%); }
.cs-hero .wrap { position: relative; z-index: 1; padding: 60px 0 48px; }
.cs-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 5vw, 62px); letter-spacing: -.02em; max-width: 820px; }
.cs-hero .kicker { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.cs-hero .kicker .sample-tag { color: #fff; border-color: rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .25); }
.cs-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; max-width: 900px; }
.cs-facts div { border-left: 2px solid var(--accent); padding-left: 12px; }
.cs-facts small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.cs-facts b { font-size: 17px; }
@media (max-width: 700px) { .cs-facts { grid-template-columns: 1fr 1fr; } .cs-hero { min-height: 480px; } }
.cs-body { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.cs-main h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 14px; letter-spacing: -.01em; }
.cs-main section + section { margin-top: 56px; }
.cs-main p { font-size: 17px; color: var(--ink-2); }
.cs-side { position: sticky; top: calc(var(--bar-h) + 92px); display: grid; gap: 16px; }
.side-card { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; }
.side-card h3 { font-size: 15px; margin-bottom: 12px; }
.side-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.side-card li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line-2); padding-bottom: 8px; }
.side-card li span:last-child { font-weight: 700; text-align: right; }
.side-card .btn { width: 100%; margin-top: 8px; }
@media (max-width: 960px) { .cs-body { grid-template-columns: 1fr; } .cs-side { position: static; } }
.challenges { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chal { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 18px 20px; }
.chal b { display: block; margin-bottom: 6px; }
.chal p { font-size: 14.5px; margin: 0; color: var(--muted); }
@media (max-width: 600px) { .challenges { grid-template-columns: 1fr; } }
.selections { display: grid; gap: 10px; }
.sel-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 14px 18px; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .15s, transform .15s; }
.sel-row:hover { border-color: var(--ink); transform: translateX(3px); }
.sel-row b { font-size: 15.5px; }
.sel-row small { display: block; color: var(--muted); font-size: 13.5px; }
.sel-row .pill { justify-self: end; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery button { border: 0; padding: 0; background: var(--stone); border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; cursor: zoom-in; }
.gallery button:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery button:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; } }
.lightbox { position: fixed; inset: 0; z-index: 450; background: rgba(10, 12, 16, .92); display: grid; grid-template-rows: 1fr auto; opacity: 0; transition: opacity .2s; }
.lightbox.is-in { opacity: 1; }
.lightbox img { max-width: min(96vw, 1400px); max-height: calc(100vh - 110px); object-fit: contain; margin: auto; border-radius: 8px; }
.lb-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; color: #fff; font-size: 14px; }
.lb-bar .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.lb-bar .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .25); }
.lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.kv div { background: var(--stone); border-radius: 10px; padding: 14px 16px; }
.kv small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.kv b { font-size: 18px; }

/* ---------- Inquiry page ---------- */
.inq { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; padding: 56px 0 90px; }
.inq-side { position: sticky; top: calc(var(--bar-h) + 92px); }
.inq-side .ph { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 18px; }
.inq-side .ph img { width: 100%; height: 100%; object-fit: cover; }
.inq-side h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: -.02em; margin-bottom: 12px; }
.inq-side ul { padding-left: 18px; margin: 0; color: var(--ink-2); display: grid; gap: 6px; }
.inq-side .contact { margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.form { background: var(--white); border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form h1 { font-family: var(--serif); font-weight: 500; font-size: 34px; letter-spacing: -.02em; margin-bottom: 6px; }
.form .sub { color: var(--muted); margin-bottom: 24px; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; background: var(--sgl-foam); border: 1px solid var(--sgl-sand); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: #3b4a2f; margin-bottom: 22px; }
.demo-note .sgl-mark { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f { display: grid; gap: 6px; }
.f.full { grid-column: 1 / -1; }
.f label, .f .lbl { font-size: 13.5px; font-weight: 700; }
.f label .opt, .f .lbl .opt { color: var(--muted); font-weight: 500; }
.f input, .f select, .f textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; transition: border-color .15s, box-shadow .15s; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 24, 31, .1); }
.f input[aria-invalid="true"] { border-color: var(--danger); }
.f .err { color: var(--danger); font-size: 13px; display: none; }
.f.is-error .err { display: block; }
.f textarea { min-height: 110px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; transition: all .15s; }
.chip input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13.5px; font-weight: 600; background: #fff; transition: all .15s; }
.seg input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: #7a3f12; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 22px; text-align: center; color: var(--muted); font-size: 14px; background: var(--paper); transition: border-color .15s, background .15s; position: relative; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.drop b { color: var(--ink); }
.files { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.files li { display: flex; align-items: center; gap: 10px; background: var(--stone); border-radius: 8px; padding: 8px 12px; font-size: 13.5px; }
.files li .rm { margin-left: auto; background: transparent; border: 0; cursor: pointer; color: var(--muted); font-size: 16px; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.form-foot small { color: var(--muted); font-size: 13px; }
.success { text-align: center; padding: 20px 10px; }
.success .check { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; margin: 0 auto 18px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin-bottom: 10px; }
.success p { color: var(--ink-2); max-width: 520px; margin: 0 auto 10px; }
.success .summary { text-align: left; background: var(--stone); border-radius: 12px; padding: 16px 18px; margin: 20px auto; max-width: 520px; font-size: 14.5px; display: grid; gap: 6px; }
.success .summary div { display: flex; justify-content: space-between; gap: 12px; }
.success .summary span:first-child { color: var(--muted); }
.success .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 960px) { .inq { grid-template-columns: 1fr; gap: 32px; padding: 36px 0 70px; } .inq-side { position: static; order: 2; } .form { padding: 24px 20px; } }
@media (max-width: 560px) { .fgrid { grid-template-columns: 1fr; } }
