/* OmniMonk – one stylesheet. Apple's visual system: SF type (system), #f5f5f7 tints, pill buttons. */

:root {
  --ink: #1d1d1f;
  --grey: #6e6e73;
  --grey2: #86868b;
  --tint: #f5f5f7;
  --line: #d2d2d7;
  --blue: #0071e3;
  --link: #0066cc;
  --accent: #b64400;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wide: 1024px;
  --pad: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
  color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

/* global nav */
.gnav { position: sticky; top: 0; z-index: 20; height: 44px; background: rgba(251,251,253,.9);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06); }
.gnav-in { max-width: var(--wide); margin: 0 auto; height: 100%; display: flex; align-items: center;
  justify-content: space-between; padding: 0 var(--pad); }
.gnav .brand { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 600;
  letter-spacing: -0.01em; }
.gnav .brand:hover { text-decoration: none; }
.gnav ul { list-style: none; display: flex; gap: 32px; }
.gnav ul a { font-size: 12px; letter-spacing: -0.01em; color: rgba(0,0,0,.8); }
.gnav ul a:hover, .gnav ul a[aria-current] { color: #000; text-decoration: none; }

/* buttons */
.btn { display: inline-block; font-size: 17px; line-height: 1.18; padding: 11px 21px; border-radius: 980px;
  border: 1px solid transparent; letter-spacing: -0.022em; font-family: var(--font); cursor: pointer; }
.btn:hover { text-decoration: none; }
.btn-fill { background: var(--blue); color: #fff; }
.btn-fill:hover { background: #0077ed; }
.btn-line { border-color: var(--link); color: var(--link); background: transparent; }
.btn-line:hover { background: var(--link); color: #fff; }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn[disabled] { opacity: .35; cursor: default; }
.ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer */
.foot { background: var(--tint); border-top: 1px solid var(--line); font-size: 12px; color: var(--grey); }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 18px var(--pad) 26px; display: flex;
  justify-content: space-between; gap: 12px; flex-wrap: wrap; }

.menu-toggle { display: none; }
.gnav .menu-mail { display: none; }

/* phones: Apple-style menu button and full-screen menu (only with JS; without it the links stay in a row) */
@media (max-width: 734px) {
  .gnav ul { gap: 18px; }
  .js .menu-toggle { display: block; position: relative; width: 44px; height: 44px; margin-right: -12px;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .js .menu-toggle span { position: absolute; left: 14px; width: 17px; height: 1.2px; background: var(--ink);
    border-radius: 1px; transition: transform .3s ease, top .3s ease; }
  .js .menu-toggle span:first-child { top: 18px; }
  .js .menu-toggle span:last-child { top: 25px; }
  .js .gnav.open .menu-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
  .js .gnav.open .menu-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }
  .js .gnav ul { position: fixed; inset: 44px 0 0 0; background: #fff; display: flex; flex-direction: column;
    gap: 0; padding: 24px 48px; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s .25s; }
  .js .gnav.open ul { visibility: visible; opacity: 1; transition: opacity .25s ease; }
  .js .gnav ul { overflow-y: auto; overscroll-behavior: contain; }
  .js .gnav ul li { transform: translateY(-8px); transition: transform .35s ease; }
  .js .gnav.open ul li { transform: none; }
  .js .gnav ul a { display: block; padding: 8px 0; font-size: 28px; line-height: 1.14; font-weight: 600;
    letter-spacing: .007em; color: var(--ink); }
  .js .gnav ul a[aria-current] { color: var(--grey); }
  .js .gnav .menu-mail { display: block; margin-top: 28px; }
  .js .gnav .menu-mail a { font-size: 17px; font-weight: 400; color: var(--link); }
  /* backdrop-filter makes the nav the containing block for fixed children; drop it so the menu covers the screen */
  .js .gnav.open { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open, .menu-open body { overflow: hidden; }
}
@media (max-width: 734px) and (prefers-reduced-motion: reduce) {
  .js .gnav ul, .js .gnav ul li, .js .menu-toggle span { transition: none; }
}

/* unconfirmed facts, visible only in local builds (production refuses to build with any) */
mark.tbc { background: #fff3b0; color: inherit; border-bottom: 1px dashed #c99a00; border-radius: 2px; padding: 0 2px; }

/* ---------- home ---------- */
.hero { background: var(--tint); text-align: center; padding: 72px var(--pad) 64px; overflow: hidden; }
.hero h1 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; }
.hero .promise { font-size: 28px; line-height: 1.14; font-weight: 400; letter-spacing: .007em; margin-top: 6px; }
.hero .meta { font-size: 17px; color: var(--grey); margin-top: 10px; }
.hero .ctas { margin-top: 20px; }


.eyebrow { font-size: 21px; font-weight: 600; color: var(--grey); letter-spacing: .011em; }
.sec-head h2 { font-size: 80px; line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; margin-top: 6px; }
.lede { font-size: 21px; line-height: 1.43; font-weight: 500; color: var(--grey2); margin-top: 28px; letter-spacing: .011em; }
.lede b { color: var(--ink); font-weight: 600; }

.stats { list-style: none; max-width: var(--wide); margin: 0 auto; padding: 44px var(--pad) 110px; display: grid;
  grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--line); }
.stats small, .stats span { display: block; font-size: 14px; color: var(--grey); }
.stats b { display: block; font-size: 40px; line-height: 1.15; font-weight: 600; margin: 4px 0; }

.highlights { background: var(--tint); padding: 100px 0 110px; }
.highlights h2 { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); font-size: 48px; font-weight: 600; }
.cards { max-width: var(--wide); margin: 36px auto 0; padding: 0 var(--pad); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; text-align: left; border: 0; cursor: pointer; font: inherit; color: inherit;
  background: #fff; border-radius: 28px; padding: 30px 30px 80px; min-height: 440px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s; }
.card .card-art { transition: transform .6s cubic-bezier(.4, 0, .6, 1); }
.card:hover .card-art { transform: scale(1.03); }
.card-dark { background: #000; color: #f5f5f7; }
.kicker { font-size: 12px; font-weight: 600; color: var(--grey); }
.card-dark .kicker { color: var(--grey2); }
.card-t { font-size: 24px; line-height: 1.17; font-weight: 600; margin-top: 8px; letter-spacing: .009em; }
.card-art { margin: auto auto 0; max-width: 80%; }
.plus { position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 50%;
  background: #333336; color: #fff; display: grid; place-items: center; font-size: 24px; line-height: 1; }
.card-dark .plus { background: #f5f5f7; color: #000; }

.quotes { max-width: var(--wide); margin: 0 auto; padding: 110px var(--pad); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quote blockquote { font-size: 19px; line-height: 1.42; font-weight: 500; letter-spacing: .012em; }
.quote figcaption { margin-top: 14px; font-size: 14px; color: var(--grey); }

/* dialogs ("sheets"), shared by highlights and the configurator's help cards */
dialog.sheet { border: 0; border-radius: 18px; padding: 0; width: min(680px, calc(100vw - 32px));
  max-height: calc(100vh - 64px); margin: auto; color: var(--ink); }
dialog.sheet::backdrop { background: rgba(0,0,0,.45); }
.sheet .close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #e8e8ed; font-size: 16px; cursor: pointer; }
.sheet-in { padding: 56px 56px 36px; }
.sheet h3 { font-size: 32px; line-height: 1.125; font-weight: 600; }
.sheet p { margin-top: 16px; }
.sheet-art { margin: 24px auto 0; max-width: 60%; border-radius: 12px; }
.sheet-foot { background: var(--tint); text-align: center; padding: 20px; font-size: 14px; }
.sheet-foot b { display: block; }

/* scroll reveal (reveal.js adds .hidden only when motion is allowed) */
.reveal.hidden { opacity: 0; transform: translateY(20px); }
.reveal.shown { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.4, 0, .6, 1), transform .6s cubic-bezier(.4, 0, .6, 1);
  transition-delay: calc(var(--d, 0) * 70ms); }

@media (max-width: 734px) {
  .hero h1 { font-size: 40px; }
  .hero .promise { font-size: 21px; }
  .sec-head h2 { font-size: 48px; }
  .lede { font-size: 19px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .highlights h2 { font-size: 32px; }
  .card { min-height: 360px; }
  .sheet-in { padding: 48px 24px 28px; }
}

/* ---------- inner pages ---------- */
.page-head { max-width: 860px; margin: 0 auto; padding: 96px var(--pad) 72px; text-align: center; }
.page-head h1 { font-size: 64px; line-height: 1.06; font-weight: 700; letter-spacing: -0.009em; margin-top: 6px; }
.more { display: inline-block; margin-top: 10px; font-size: 17px; }

@media (max-width: 734px) {
  .page-head { padding: 64px var(--pad) 48px; }
  .page-head h1 { font-size: 40px; }
}

/* ---------- start a project (Apple's configure page) ---------- */
.start-head { max-width: var(--wide); margin: 0 auto; padding: 52px var(--pad) 0; display: flex;
  justify-content: space-between; align-items: flex-start; gap: 24px; }
.new { color: var(--accent); font-size: 17px; }
.start-head h1 { font-size: 48px; line-height: 1.08; font-weight: 600; margin-top: 2px; }
.start-line { margin-top: 10px; font-size: 17px; }
.chips { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; flex-shrink: 0; }
.chip { background: var(--tint); color: var(--ink); border-radius: 980px; padding: 9px 16px; font-size: 12px; }
.chip:hover { text-decoration: none; background: #e8e8ed; }
.cfg { max-width: var(--wide); margin: 0 auto; padding: 52px var(--pad) 80px; display: grid;
  grid-template-columns: minmax(0, 1fr) 328px; gap: 60px; }
.panel { position: sticky; top: 68px; align-self: start; background: var(--tint); border-radius: 18px;
  aspect-ratio: 1.3; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 32px; }
.panel .mark { margin-bottom: 22px; }
.panel-art { max-width: 58%; max-height: 58%; object-fit: contain; margin-bottom: 18px; }
.panel-t { font-size: 24px; line-height: 1.17; font-weight: 600; }
.panel-p { color: var(--grey); font-size: 15px; margin-top: 6px; max-width: 380px; }
.steps fieldset { border: 0; margin: 0 0 60px; min-width: 0; transition: opacity .3s; }
.steps fieldset[disabled] { opacity: .35; }
.steps legend { font-size: 24px; line-height: 1.17; font-weight: 600; padding: 0; }
.steps legend span { color: var(--grey2); }
.opts { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.opt { position: relative; display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--grey2);
  border-radius: 12px; padding: 16px; cursor: pointer; }
.opt:hover { border-color: var(--grey); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.opt:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 3px; }
fieldset[disabled] .opt { cursor: default; }
.opt-t b { display: block; font-size: 17px; font-weight: 600; }
.opt-t small { display: block; font-size: 12px; margin-top: 4px; }
.badge { font-size: 12px; color: var(--accent); text-align: right; max-width: 92px; }
.help { margin-top: 18px; width: 100%; display: flex; align-items: stretch; text-align: left; background: var(--tint);
  border: 0; border-radius: 18px; overflow: hidden; cursor: pointer; font: inherit; color: inherit; position: relative; }
.help-art { flex: 0 0 96px; width: 96px; height: auto; object-fit: cover; display: grid; place-items: center; background: #ebebef; }
.help-t { padding: 16px 40px 16px 16px; }
.help-t b { display: block; font-size: 14px; font-weight: 600; }
.help-t span { display: block; font-size: 14px; margin-top: 3px; line-height: 1.43; }
.help-plus { position: absolute; right: 14px; top: 14px; width: 18px; height: 18px; border: 1.5px solid var(--ink);
  border-radius: 50%; font-size: 13px; line-height: 15px; text-align: center; }
.summary { background: var(--tint); padding: 72px max(var(--pad), calc((100% - var(--wide)) / 2 + var(--pad)));
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
.summary h2 { font-size: 40px; line-height: 1.1; font-weight: 600; }
.summary h2 span { display: block; color: var(--grey2); }
.summary ul { list-style: none; font-size: 17px; line-height: 1.8; }
.summary li.empty { color: var(--grey2); }
.summary .note { font-size: 14px; color: var(--grey); margin-top: 16px; }
.go .send { display: block; text-align: center; }
.js .go .send[aria-disabled="true"] { opacity: .35; cursor: default; }
.go p { font-size: 14px; margin-top: 16px; }

@media (max-width: 734px) {
  .start-head { flex-direction: column; padding-top: 36px; }
  .start-head h1 { font-size: 34px; }
  .chips { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .cfg { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .panel { position: static; aspect-ratio: auto; min-height: 260px; }
  .summary { grid-template-columns: 1fr; gap: 28px; padding: 56px var(--pad); }
  .summary h2 { font-size: 32px; }
}

/* ---------- full-bleed photographs ---------- */
.card-photo { color: var(--ink); background: #ddd; }
.card-photo .card-art { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: cover; }
.card-photo::before { content: ""; position: absolute; inset: 0 0 45% 0; z-index: 1;
  background: linear-gradient(rgba(255,255,255,.88), rgba(255,255,255,.55) 60%, rgba(255,255,255,0)); }
.card-photo .kicker, .card-photo .card-t { position: relative; z-index: 2; }
.card-photo .plus { z-index: 2; }
.card-photo .kicker { color: #55555a; }
.panel.has-art { padding: 0; overflow: hidden; justify-content: flex-start; }
.panel.has-art .panel-art { width: 100%; max-width: none; max-height: none; height: 62%; object-fit: cover; margin: 0 0 22px; }
.panel.has-art .panel-t, .panel.has-art .panel-p { padding: 0 28px; }
.help-art { object-fit: cover; }
.sheet-art { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- care and studio ---------- */
.studio-art { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }
.wide-art { width: 100%; border-radius: 28px; aspect-ratio: 16 / 9; object-fit: cover; }
.included { max-width: var(--wide); margin: 0 auto; padding: 100px var(--pad) 40px; }
.included h2, .excluded h2 { font-size: 40px; font-weight: 600; line-height: 1.1; }
.included ul { list-style: none; margin-top: 36px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 48px; }
.included ul.three { grid-template-columns: repeat(3, 1fr); }
.included li { border-top: 1px solid var(--line); padding-top: 18px; }
.included h3 { font-size: 21px; font-weight: 600; }
.included li p { color: var(--grey); margin-top: 6px; }
.excluded { max-width: 860px; margin: 0 auto; padding: 60px var(--pad) 120px; text-align: center; }
.excluded p { font-size: 21px; color: var(--grey); margin: 14px 0 28px; }
.studio-body { max-width: 760px; margin: 0 auto; padding: 72px var(--pad) 0; text-align: left; }
.studio-body p + p { margin-top: 20px; }

@media (max-width: 734px) {
  .included ul, .included ul.three { grid-template-columns: 1fr; gap: 24px; }
  .included h2, .excluded h2 { font-size: 28px; }
  .wide-art { border-radius: 18px; aspect-ratio: 4 / 3; }
  .panel.has-art { min-height: 380px; }
}

/* old-site portfolio pictures: each client site on desktop, tablet and phone (transparent PNG -> WebP) */
.clients { padding: 0; }
.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.client-card { background: var(--tint); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; }
.client-card.has-art .mockup { width: 100%; margin: 4px 0 22px; }
.client-card:not(.has-art) { justify-content: flex-end; min-height: 220px; }
.client-text h2 { font-size: 21px; line-height: 1.19; font-weight: 600; }
.client-text p { font-size: 15px; color: var(--grey); margin-top: 4px; }
.client-text .more { font-size: 15px; margin-top: 8px; }
@media (max-width: 1068px) { .client-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 734px) {
  .client-grid { grid-template-columns: 1fr; }
  .client-card:not(.has-art) { min-height: 0; }
}

/* ---------- one page: sections ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
main > section[id] { scroll-margin-top: 44px; }
.sec-head { max-width: 860px; margin: 0 auto; padding: 120px var(--pad) 56px; text-align: center; }
.sec-head h2 { font-size: 64px; line-height: 1.06; font-weight: 700; letter-spacing: -0.009em; margin-top: 6px; }
.clients .client-grid { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad) 40px; }
.client-text h3 { font-size: 21px; line-height: 1.19; font-weight: 600; }
.included h3.sub, .excluded h3.sub { font-size: 40px; font-weight: 600; line-height: 1.1; }
.included li h3 { font-size: 21px; }
#care, #studio { padding-bottom: 20px; }
#studio .stats { padding-top: 60px; }
.start { border-top: 1px solid var(--line); }
.start-head h2 { font-size: 48px; line-height: 1.08; font-weight: 600; margin-top: 2px; }
.start-head { padding-top: 96px; }
.panel h3.panel-t { font-size: 24px; line-height: 1.17; font-weight: 600; }
.summary h3 { font-size: 40px; line-height: 1.1; font-weight: 600; }
.summary h3 span { display: block; color: var(--grey2); }
@media (max-width: 734px) {
  .sec-head { padding: 80px var(--pad) 40px; }
  .sec-head h2 { font-size: 40px; }
  .included h3.sub, .excluded h3.sub { font-size: 28px; }
  .quotes, .cards { grid-template-columns: 1fr; }
  .start-head { padding-top: 64px; }
  .start-head h2 { font-size: 34px; }
  .summary h3 { font-size: 32px; }
}


/* headlines never leave a single word on the last line */
h1, h2, h3, .lede { text-wrap: balance; }
/* on phones the configurator panel would sit above the questions and change out of sight; the summary shows choices */
@media (max-width: 734px) { .panel { display: none; } }

/* ---------- rhythm: sections alternate white and grey; gaps live inside sections ---------- */
#work, #care, #start { background: #fff; }
.highlights, #studio { background: var(--tint); }
.sec-head { padding: 104px var(--pad) 48px; }
.clients .client-grid { padding-bottom: 104px; }
.highlights { padding: 96px 0 104px; }
.included { padding-top: 72px; padding-bottom: 24px; }
.excluded { padding: 56px var(--pad) 104px; }
#care, #studio { padding-bottom: 0; }
#studio .stats { padding: 56px var(--pad) 24px; }
#studio .quotes { padding: 48px var(--pad) 104px; }
#studio .client-card, #studio .help { background: #fff; }
.start { border-top: 0; }

/* ---------- micro-interactions (Apple's buy page) ---------- */
.help-plus, .plus { transition: background .2s cubic-bezier(.4, 0, .6, 1), color .2s cubic-bezier(.4, 0, .6, 1); }
.help:hover .help-plus { background: var(--ink); color: #fff; }
.card:hover .plus { background: #000; }
.chip, .btn { transition: background .2s cubic-bezier(.4, 0, .6, 1), color .2s cubic-bezier(.4, 0, .6, 1); }
@media (max-width: 734px) {
  .sec-head { padding: 72px var(--pad) 36px; }
  .clients .client-grid { padding-bottom: 72px; }
  .highlights { padding: 72px 0; }
  .excluded { padding-bottom: 72px; }
  #studio .quotes { padding-bottom: 72px; }
}

/* ---------- footer (Apple's: note, directory, legal line) ---------- */
.foot-in { display: block; padding: 18px var(--pad) 22px; }
.foot-note { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.foot-dir { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 18px 0 20px; }
.foot-col h3 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.foot-col ul { list-style: none; }
.foot-col li { line-height: 2; }
.foot a { color: var(--grey); }
.foot a:hover { color: var(--ink); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot-place { margin-left: auto; }
@media (max-width: 734px) {
  .foot-dir { grid-template-columns: 1fr; gap: 14px; }
  .foot-place { margin-left: 0; width: 100%; }
}

/* legal pages */
.legal { max-width: 692px; margin: 0 auto; padding: 72px var(--pad) 96px; }
.legal h1 { font-size: 48px; line-height: 1.08; font-weight: 600; }
.legal .updated { color: var(--grey); margin-top: 8px; }
.legal h2 { font-size: 24px; font-weight: 600; margin-top: 40px; }
.legal p { margin-top: 10px; }

/* ---------- nav: a little larger than Apple's, so the brand carries the page ---------- */
.gnav { height: 52px; }
.gnav .brand { font-size: 20px; gap: 9px; }
.gnav .brand .mark { width: 24px; height: 24px; }
.gnav ul a { font-size: 13px; }
main > section[id] { scroll-margin-top: 52px; }
.panel { top: 76px; }
@media (max-width: 734px) {
  .js .gnav ul { inset: 52px 0 0 0; }
  .js .menu-toggle { height: 52px; }
  .js .menu-toggle span:first-child { top: 22px; }
  .js .menu-toggle span:last-child { top: 29px; }
  .js .gnav.open .menu-toggle span:first-child, .js .gnav.open .menu-toggle span:last-child { top: 25.5px; }
}

/* ---------- hero: the whole first screen; client sites fade one into another ---------- */
.hero { min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); display: flex; flex-direction: column;
  justify-content: space-between; padding: 64px var(--pad) 32px; gap: 32px; }
.hero h1 { font-size: 80px; line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; }
.fade-stage { position: relative; width: min(860px, 100%); aspect-ratio: 899 / 532; margin: 0 auto; flex: 0 1 auto;
  max-height: 52vh; }
.fade-stage .fade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0;
  transition: opacity 1.4s cubic-bezier(.4, 0, .6, 1); }
.fade-stage .fade.is-on { opacity: 1; }
@media (max-width: 734px) {
  .hero { padding: 48px var(--pad) 24px; }
  .hero h1 { font-size: 56px; }
  .fade-stage { max-height: 38vh; }
}

/* ---------- the "Your website." band: same look, now a rounded panel standing clear of the footer ---------- */
.summary { margin: 0 12px 72px; border-radius: 28px; }
@media (max-width: 734px) { .summary { margin: 0 8px 48px; border-radius: 22px; } }

/* step 4: details */
.field { display: block; margin-top: 14px; }
.field span { display: block; font-size: 12px; color: var(--grey); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: #fff;
  border: 1px solid var(--grey2); border-radius: 12px; padding: 14px 16px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.go .send { width: 100%; }
.go .send:disabled { opacity: .35; cursor: default; }
.privacy-note, .form-status { font-size: 12px; color: var(--grey); margin-top: 12px; }
.form-status:empty { display: none; }
.thanks h3 { font-size: 32px; font-weight: 600; }
.thanks p { margin-top: 8px; color: var(--grey); }

/* hero: text and picture are one group, centred in the first screen */
.hero { justify-content: center; gap: 32px; }
/* the summary band follows the last field closely, as the form's own summary */
.cfg { padding-bottom: 32px; }
.steps fieldset.details { margin-bottom: 0; }
@media (max-width: 734px) { .hero { gap: 24px; } .cfg { padding-bottom: 24px; } }

/* drawn plus signs, exactly centred in their circles */
.plus, .help-plus { display: grid; place-items: center; font-size: 0; line-height: 0; }
.plus-icon { width: 16px; height: 16px; display: block; }
.help-plus .plus-icon { width: 12px; height: 12px; }
.sheet .close { display: grid; place-items: center; padding: 0; color: var(--ink); }
.close-icon { width: 14px; height: 14px; display: block; }
.chip { display: inline-flex; align-items: center; gap: 5px; }
.chip-icon { width: 13px; height: 13px; display: block; }

/* highlight cards: text on clean card, the photo below it, bleeding to the edges and fading in at its top */
.card-photo { background: #fff; padding-bottom: 0; }
.card-photo::before { content: none; }
.card-photo .card-art { position: relative; inset: auto; flex: 1 1 auto; min-height: 200px; width: calc(100% + 60px);
  height: auto; margin: 18px -30px 0; object-fit: cover; object-position: center 70%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28%); mask-image: linear-gradient(to bottom, transparent, #000 28%); }
.card:hover .card-art { transform: scale(1.03); }
/* a client card with no picture centres its text, so it never looks like a missing image */
.client-card:not(.has-art) { justify-content: center; }
.privacy-note a { white-space: nowrap; }
.foot-note a { color: var(--link); }

/* footer directory: plain headings on desktop; tap-to-open rows on phones, as on apple.com */
.foot-toggle { all: unset; font: inherit; font-size: 12px; font-weight: 600; color: var(--ink); cursor: default; }
.foot-chev { display: none; }
@media (max-width: 734px) {
  .foot-dir { gap: 0; padding: 8px 0 12px; }
  .foot-col { border-bottom: 1px solid var(--line); }
  .foot-col h3 { margin: 0; }
  .js .foot-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 12px 0;
    cursor: pointer; font-size: 14px; font-weight: 400; color: var(--ink); }
  .js .foot-chev { display: block; width: 12px; height: 12px; color: var(--grey); transition: transform .3s cubic-bezier(.4, 0, .6, 1); }
  .js .foot-toggle[aria-expanded="true"] .foot-chev { transform: rotate(180deg); }
  .js .foot-col ul { display: none; padding: 0 0 12px 12px; }
  .js .foot-col.open ul { display: block; }
  .foot-col li { line-height: 2.3; font-size: 14px; }
}

/* hero slideshow pause button, bottom right of the stage */
.fade-pause { position: absolute; right: 0; bottom: 0; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(210,210,215,.64); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2;
  transition: background .2s cubic-bezier(.4, 0, .6, 1); }
.fade-pause:hover { background: rgba(190,190,195,.8); }
.fade-pause svg { width: 14px; height: 14px; display: block; }
.fade-pause .i-play { display: none; }
.fade-pause[aria-pressed="true"] .i-play { display: block; }
.fade-pause[aria-pressed="true"] .i-pause { display: none; }

/* ---------- objects of care: transparent cut-outs floating on their panels, as Apple shows products ----------
   The whole object always shows (contain, never cropped); a soft shadow follows its real outline. */
.card-photo .card-art, .panel.has-art .panel-art, .help .help-art, .sheet-art {
  object-fit: contain; background: transparent; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .14)); }
.card-photo { background: #fff; }
.card-photo::before { content: none; }
.card-photo .card-art { flex: 1 1 auto; width: 100%; min-height: 220px; margin: 12px 0 0; object-position: center;
  -webkit-mask-image: none; mask-image: none; padding: 8px 16px 24px; }
.card-photo .kicker { color: var(--grey); }
.panel.has-art { padding: 28px 0 32px; justify-content: center; background: var(--tint); }
.panel.has-art .panel-art { width: 58%; height: auto; max-height: 62%; margin: 0 auto 20px; }
.help { background: var(--tint); }
.help .help-art { background: transparent; padding: 10px; }
.sheet-art { background: var(--tint); aspect-ratio: 16 / 10; border-radius: 12px; padding: 24px; filter: none; }
/* the cut-outs carry wide transparent margins; let the object, not the margin, fill the card */
.card-photo .card-art { padding: 0; min-height: 280px; transform: scale(1.18); transform-origin: center 85%; }
.card:hover .card-art { transform: scale(1.22); }
.panel.has-art .panel-art { width: 66%; max-height: 68%; }
.help .help-art { padding: 2px; }
.card-photo .card-art { margin-top: 28px; }
@media (max-width: 734px) {
  .card-photo .card-art { transform: scale(1.04); margin-top: 32px; min-height: 240px; }
  .card:hover .card-art { transform: scale(1.06); }
}

/* ---------- objects on #f5f5f7 (the photos are flattened on exactly this grey, with their own real shadows) ----------
   Every panel holding one is that grey; the photo needs no shadow, mask or cut-out. Sections are re-coloured so those
   panels stand on white: hero white, Work grey, highlights white, Care grey, Studio white, Start white (hairline). */
.hero { background: #fff; }
#work { background: var(--tint); }
#work .client-card { background: #fff; }
.highlights { background: #fff; }
#care { background: var(--tint); }
#studio { background: #fff; }
#start { background: #fff; border-top: 1px solid var(--line); }
#studio .client-card, #studio .help { background: var(--tint); }
.card-photo, .panel.has-art, .help, .sheet-art { background: var(--tint); }
.card-photo .card-art, .panel.has-art .panel-art, .help .help-art, .sheet-art { filter: none; -webkit-mask-image: none; mask-image: none; }
.card-photo .card-art { object-fit: cover; }
.help .help-art { padding: 0; object-fit: cover; }
.sheet-art { padding: 0; object-fit: cover; }
/* the object photos decode to #f6f5f8 (WebP shifts their #f5f5f7 by one shade); their panels follow the decoded value */
:root { --photo-ground: #f6f5f8; }
.card-photo, .panel.has-art, .help, .sheet-art { background: var(--photo-ground); }
/* Start a project: feather the panel's photo into the panel, so no faint square ever shows */
.panel.has-art .panel-art {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
                      linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent),
              linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  mask-composite: intersect; }
/* help cards: the picture is a full-height tile with a clean edge, the slot Apple uses for its video thumbnails
   (a video can later take its place) */
.help .help-art { flex: 0 0 34%; width: 34%; max-width: 150px; height: auto; align-self: stretch; object-fit: cover;
  padding: 0; -webkit-mask-image: none; mask-image: none; }
.help .help-art { border-right: 1px solid var(--line); }
