/* Warm Glass 10a · Sunset — imported from Claude Design */
:root {
  --ink: #15110d;
  --ink-2: #2a2520;
  --ink-3: #4a4138;
  --muted: #635c50;
  --paper: #fcfcfa;
  --amber: #c77a0c;
  --magenta: #ce3473;
  --grad-text: linear-gradient(90deg, #e8740c 0%, #d6337a 55%, #b01e5c 100%);
  --gutter: 64px;
  --pad: 32px; /* main content side padding */
  --card-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 2px 6px rgba(21, 17, 13, .04), 0 30px 60px -24px rgba(21, 17, 13, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.warm-page {
  margin: 0;
  background: var(--paper);
  font-family: 'Outfit', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.warm-page a { color: inherit; text-decoration: none; }
.warm-page a:hover { text-decoration: none; }

.w-page {
  position: relative;
  min-height: 100vh;
  background: var(--paper);
}
/* Background layer: full-bleed, decoupled from the content column */
.w-glows { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* Content column: max-width lives here, margins inside never clip the background */
.w-content { position: relative; max-width: 1280px; margin: 0 auto; padding-bottom: 40px; }

/* Glow layers removed. */
.w-glows { display: none; }

/* ── Nav ── */
.w-nav { position: sticky; top: 0; z-index: 10; padding: 20px 16px 0; }   /* nav + footer: 1280 wide, wider than the padded content below */
.w-nav__bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 24px; border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 10px 30px -12px rgba(21, 17, 13, .18);
}
.w-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.02em; }
.w-logo span, .w-footer__logo span { color: var(--magenta); }

/* Nav links + footer actions reuse the home page's Ghost button (see import-chrome.css) */
.w-nav__bar { position: relative; }
.w-nav__links { display: flex; align-items: center; gap: 8px; }

/* ── Hero ── */
.w-hero {
  position: relative; padding: 96px var(--pad) 140px; overflow-x: clip;
  display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 0; align-items: center;
}
.w-hero__copy { display: flex; flex-direction: column; gap: 32px; }
.w-hero__head { display: flex; flex-direction: column; gap: 24px; }
.w-kicker {
  align-self: flex-start; margin: 0;
  font-family: 'Syne', sans-serif; font-weight: 600; font-size: 18px; line-height: 1.4; letter-spacing: .01em;
}
.w-grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-kicker__name { color: var(--ink); }
.w-kicker__role { color: var(--orange-text); }
.w-hero h1 {
  margin: 0; font-family: 'Syne', sans-serif; font-size: clamp(40px, 5.2vw, 64px); line-height: 1.06;
  font-weight: 500; letter-spacing: -.026em; text-wrap: balance;
}
.w-hero h1 span { display: block; }
.w-lede { margin: 0; font-size: 21px; line-height: 1.6; color: var(--ink-3); max-width: 620px; text-wrap: pretty; }
.w-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.w-chips li {
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #4a4139;
  background: #f1963f29; border: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
/* Oversized portrait: its transparent margins let it overlap the copy column and bleed past the page padding */
.w-hero__photo {
  /* Subject spans ~17–81% of the image width, so the right margin pushes its right edge flush with the nav's right edge */
  position: relative; aspect-ratio: 3 / 2; width: 680px; justify-self: end;
  margin: -40px calc(-0.1905 * 680px - var(--pad) + 64px) -60px -160px; pointer-events: none;
}
.w-hero__photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  /* Soften the line work to match the page's glassy look */
  filter: blur(.7px) contrast(.88) saturate(.9); opacity: .88;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, 0) 99%);
  mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, 0) 99%);
}

/* ── Sections ── */
.w-section { position: relative; padding: 0 var(--pad) var(--s-12); display: flex; flex-direction: column; gap: 48px; }
.w-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.w-section-head > div { display: flex; flex-direction: column; gap: 0; }
.w-eyebrow { font-size: 14px; font-weight: 600; color: var(--orange-text); letter-spacing: .02em; }
.w-h2 { margin: 0; font-family: 'Syne', sans-serif; font-size: 44px; font-weight: 500; letter-spacing: -.01em; }
.w-aside { font-size: 15px; color: var(--muted); }

/* ── Project cards ── */
.w-case {
  display: grid; grid-template-columns: 1.1fr 1fr; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid rgba(21, 17, 13, .06); box-shadow: var(--card-shadow);
}
.w-case__media {
  position: relative; min-height: 400px; margin: 12px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(135deg, #f39a3d 0%, #d6337a 100%);
}
.w-case__media img {
  position: absolute; left: 32px; top: 32px; height: calc(100% - 64px); width: auto; max-width: calc(100% - 64px);
  object-fit: cover; object-position: left top;
  border-radius: 10px; box-shadow: 0 20px 50px -10px rgba(80, 20, 40, .35);
}
.w-case__body { padding: 52px 52px 52px 40px; display: flex; flex-direction: column; gap: 18px; }
.w-case__period {
  font-size: 13px; font-weight: 500; color: var(--amber);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; text-transform: uppercase;
}
.w-case h3 { margin: 0; font-family: 'Syne', sans-serif; font-size: 28px; line-height: 1.14; font-weight: 700; }
.w-case p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-3); }
.w-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.w-tags span {
  font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid #f7b9d6; color: #8c174a;
}
.w-btn {
  margin-top: auto; align-self: flex-start; font-size: 15px; font-weight: 600; padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: #fff !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .2) inset, 0 8px 20px -8px rgba(28, 24, 20, .55);
  transition: transform .2s, background .2s;
}
.w-btn:hover { transform: translateY(-1px); background: #2a2520; }

/* ── Testimonials ── */
.w-quotes {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--bleed);
  --bleed: min(40px, var(--pad));
  padding: 4px var(--bleed) 40px; margin: -4px calc(-1 * var(--bleed)) 0; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.w-quotes::-webkit-scrollbar { display: none; }
.w-quote {
  scroll-snap-align: start; flex: 0 0 clamp(300px, 40%, 500px);
  margin: 0; padding: 32px; border-radius: 16px; display: flex; flex-direction: column; gap: 24px;
  background: #fff; border: 1px solid rgba(21, 17, 13, .06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 20px 40px -24px rgba(21, 17, 13, .25);
}
.w-quote blockquote { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.w-quote__group { display: flex; flex-direction: column; gap: 8px; }
.warm-page .w-quote__link {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 14px; font-weight: 500; line-height: 20px; color: var(--magenta-text);
}
.w-quote__link svg { width: 15px; height: 15px; flex: none; }
.warm-page .w-quote__link:hover { color: var(--magenta-ui-hover); text-decoration: underline; text-underline-offset: 3px; }
.w-quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.w-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.w-quote b { display: block; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; }
.w-quote span { font-size: 13px; color: var(--muted); }

/* ── Footer ── */
.w-footer {
  position: relative; margin: 0 16px; padding: 28px 32px; border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: 1px solid rgba(21, 17, 13, .06); box-shadow: 0 20px 40px -28px rgba(21, 17, 13, .25);
}
.w-footer__logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 30px; letter-spacing: -.02em; display: block; }
.w-footer__copy { margin: 8px 0 0; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--ink-3); }

/* Narrow desktops: avoid overflow from the oversized portrait */
@media (max-width: 1280px) and (min-width: 1001px) {
  .w-hero { grid-template-columns: minmax(0, 1fr) 40%; }
  .w-hero__photo { width: 42vw; margin: -24px calc(-0.1905 * 42vw - var(--pad) + 16px + 40px) -48px -80px; }
}
/* ── Responsive ── */
@media (max-width: 1000px) {
  :root { --gutter: 32px; }
  .w-hero { padding: 64px var(--pad) 96px; grid-template-columns: 1fr; }
  .w-hero__photo { width: 100%; max-width: 620px; justify-self: center; margin: 0 auto -32px; }
  .w-case { grid-template-columns: 1fr; }
  .w-case__media { min-height: 320px; }
  .w-case__body { padding: 24px 32px 36px; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; --pad: 24px; }
  .w-nav { padding: 12px 16px 0; }
  .w-hero { padding: 40px var(--pad) 72px; gap: 32px; }
  .w-lede { font-size: 18px; }
  .w-section { padding: 0 var(--pad) 80px; gap: 32px; }
  .w-section-head { flex-direction: column; align-items: flex-start; }
  .w-h2 { font-size: 32px; }
  .w-case__media { min-height: 240px; margin: 8px; }
  .w-case__media img { left: 16px; top: 16px; height: calc(100% - 32px); max-width: calc(100% - 32px); }
  .w-case__body { padding: 20px 20px 28px; }
  .w-case h3 { font-size: 24px; }
  .w-footer { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .w-btn { transition: none; } }

/* nav + footer = full 1280 box on wide screens (placed after base rules) */
@media (min-width: 1313px) { .w-nav { padding-inline: 0; } .w-footer { margin-inline: 0; } }

/* ── Testimonials carousel stepper (DS icon-button feel, as on home) ── */
.w-section-head .tst-nav { display: flex; flex-direction: row; gap: 10px; }
.tst-arrow {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  border: 1px solid rgba(21, 17, 13, .06); background: #fff; color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: color 150ms cubic-bezier(0.22, 1, 0.36, 1), border-color 150ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tst-arrow svg { width: 20px; height: 20px; }
.tst-arrow:hover { border-color: var(--ink); }
.tst-arrow:focus-visible { outline: none; border-color: var(--marigold-ui); box-shadow: 0 0 0 3px var(--marigold-100); }
.tst-arrow:disabled { opacity: 0.32; cursor: default; }
@media (max-width: 720px) {
  .w-quote { flex-basis: 86%; }
  .w-section-head .tst-nav { display: none; }
}
.w-section.w-testimonials { padding-bottom: var(--s-12); }

/* Fade the cards cut off by the carousel edges instead of a hard vertical cut */
.w-quotes {
  --fade-l: 0px; --fade-r: 0px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.1) 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), rgba(0,0,0,0.1) 100%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.1) 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), rgba(0,0,0,0.1) 100%);
}
.w-quotes.fade-l { --fade-l: 96px; }
.w-quotes.fade-r { --fade-r: 96px; }

/* Drag-to-scroll (mouse); touch scrolls natively */
.w-quotes { cursor: grab; }
.w-quotes.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.w-quotes.is-dragging a { pointer-events: none; }
.w-quotes img { -webkit-user-drag: none; }

/* Testimonials head: eyebrow on top, then title + stepper centred on one row */
.w-testimonials .w-section-head > .w-section-head__text { flex: 1; min-width: 0; }
.w-section-head__row { display: flex !important; flex-direction: row !important; align-items: center; justify-content: space-between; gap: 16px; }
.w-section-head .w-section-head__row .tst-nav { display: flex; }
@media (max-width: 720px) { .w-section-head .w-section-head__row .tst-nav { display: none; } }

/* Image cards in the testimonials carousel (award + recognition screenshots) */
.w-quote--award, .w-quote--shot { padding: 0; overflow: hidden; justify-content: center; }
.w-quote--award { flex: 0 0 auto; width: 330px; }
.w-quote--award a { display: block; height: 100%; }
.w-quote--award img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }
.w-quote--shot { flex-basis: clamp(360px, 46%, 560px); padding: 16px; }
.w-quote--shot img { width: 100%; height: auto; border-radius: 16px; display: block; }
@media (max-width: 720px) { .w-quote--award { width: 260px; } .w-quote--shot { flex-basis: 90%; } }
