/* Pulsified Media homepage. The publication pages keep using style.css. */

:root {
  --cream: #F5F1E9;
  --ink: #202321;
  --coral: #F06B50;
  --teal: #467A78;
  --stone: #DDD7CD;

  --ink-soft: #4B4E4A;      /* secondary text on cream: 7.5:1 */
  --cream-soft: #CFCAC0;    /* secondary text on ink: 9.7:1 */
  --paper: #FBF8F2;         /* raised surfaces on cream */
  --coral-deep: #B8432C;    /* coral when it has to be text on cream: 4.8:1 */
  --teal-text: #3F6E6C;     /* teal as small text on cream: 5.1:1 (approved teal is 4.3:1) */

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;

  --gutter: clamp(16px, 5vw, 72px);
  --max: 1320px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  /* Electric pulse: the brand's one decorative motif (no asterisks or starbursts). */
  --pulse-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 20'%3E%3Cpath d='M1 13h17l4-10 6 16 5-12 3 6h19' fill='none' stroke='%23F06B50' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--coral); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--ink); color: var(--cream); padding: 10px 14px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons and links ---------- */

.button {
  display: inline-flex; align-items: center; gap: .6em;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid var(--ink); border-radius: 3px;
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.button .icon { transition: transform .25s var(--ease-out); }
.button:hover .icon { transform: translateX(3px); }

.button-primary { background: var(--coral); color: var(--ink); border-color: var(--coral); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); box-shadow: 0 10px 24px -14px rgba(32, 35, 33, .7); }
.button-primary:active { transform: translateY(1px); }

.button-quiet { background: transparent; color: var(--ink); }
.button-quiet:hover { background: var(--ink); color: var(--cream); }

.text-link {
  font-weight: 600; color: var(--ink); text-decoration: underline;
  text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px;
  transition: text-underline-offset .2s, color .2s;
}
.text-link:hover { text-underline-offset: 3px; color: var(--coral-deep); }
.as-button { background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 600; cursor: pointer; }

/* ---------- Masthead ---------- */

.masthead {
  position: sticky; top: 0; z-index: 20;
  background: rgba(245, 241, 233, .92);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
@supports (backdrop-filter: blur(8px)) {
  .masthead { background: rgba(245, 241, 233, .82); backdrop-filter: blur(10px) saturate(1.2); }
}
.masthead.is-scrolled { border-bottom-color: var(--stone); }

.masthead-inner {
  max-width: var(--max); margin: 0 auto; padding: 14px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  font: 800 21px/1 var(--display); letter-spacing: -.02em; text-decoration: none;
}
.wordmark b { font-weight: 500; margin-left: .2em; }
.wordmark-pulse { width: 34px; height: 17px; fill: none; stroke: var(--coral); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.masthead-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); font-size: 15px; font-weight: 500; }
.masthead-nav a { text-decoration: none; padding: 8px 0; position: relative; white-space: nowrap; }
.masthead-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.masthead-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-play { display: inline-flex; align-items: center; gap: 6px; }
.nav-play::before { content: ""; width: 22px; height: 10px; background: var(--pulse-svg) no-repeat center / contain; }
.nav-cta { border: 1.5px solid var(--ink); border-radius: 3px; padding: 9px 16px !important; font-weight: 600; transition: background-color .2s, color .2s; }
.nav-cta:hover { background: var(--ink); color: var(--cream); }

/* ---------- Shared section frame ---------- */

main > section { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.section-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section-head h2 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1; letter-spacing: -.035em; }
.section-head h2::before,
.inquiry-intro h2::before {
  content: ""; display: block; width: 56px; height: 20px; margin-bottom: 18px;
  background: var(--pulse-svg) no-repeat left center / contain;
}
.section-head p { color: var(--ink-soft); max-width: 44ch; font-size: 18px; }

/* ---------- Hero ---------- */

.hero {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(36px, 5vw, 80px); align-items: center;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px);
}

.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .96; letter-spacing: -.04em; }
.hero-line { display: block; }
.hero-line + .hero-line { margin-top: .08em; }

.pulse-word { position: relative; display: inline-block; color: var(--ink); }
.pulse-line {
  position: absolute; left: -2%; bottom: -.34em; width: 108%; height: .5em; overflow: visible;
  fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0;
}
.js .pulse-line { animation: pulse-draw 1.6s var(--ease-out) .35s both; }
@keyframes pulse-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.hero-lede { margin-top: clamp(28px, 3.4vw, 44px); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; max-width: 30ch; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 32px; }

.hero-work { margin: 0; position: relative; }
.hero-work-link { display: block; position: relative; padding: 0 0 54px 0; text-decoration: none; }
.browser {
  background: var(--paper); border: 1px solid var(--stone); border-radius: 8px; overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(32, 35, 33, .55), 0 2px 6px -2px rgba(32, 35, 33, .12);
  transform: rotate(-1.2deg); transition: transform .5s var(--ease-out);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--stone); }
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--stone); }
.browser-bar span { margin-left: 10px; font-size: 11.5px; color: var(--ink-soft); letter-spacing: .01em; }
.browser img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }

.phone {
  position: absolute; right: -2%; bottom: 0; width: 27%;
  border: 6px solid var(--ink); border-radius: 22px;
  aspect-ratio: 390 / 760; object-fit: cover; object-position: top;
  box-shadow: 0 24px 40px -22px rgba(32, 35, 33, .7);
  transform: rotate(3deg); transition: transform .5s var(--ease-out);
}
.hero-work-link:hover .browser { transform: rotate(0deg); }
.hero-work-link:hover .phone { transform: rotate(0deg) translateY(-6px); }

.hero-work figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.hero-work figcaption a { color: var(--ink); font-weight: 600; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Promise band ---------- */

.promise {
  max-width: none !important; margin: 0;
  background: var(--ink); color: var(--cream);
  padding-top: clamp(64px, 9vw, 128px) !important; padding-bottom: clamp(64px, 9vw, 128px) !important;
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center;
}
.promise-statement {
  font: 700 clamp(34px, 5vw, 68px)/1.06 var(--display); letter-spacing: -.035em;
  max-width: 19ch; text-wrap: balance;
}
.promise-statement em { font-style: normal; color: var(--coral); }
.promise-detail { margin-top: 28px; max-width: 52ch; color: var(--cream-soft); font-size: 19px; }

/* ---------- Services ---------- */

.services { padding-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(56px, 8vw, 100px); }

.service-list { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) auto;
  gap: 16px 56px; align-items: baseline;
  padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--stone);
  position: relative;
}
.service h3 { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -.03em; transition: transform .35s var(--ease-out); }
.service p { color: var(--ink-soft); max-width: 52ch; }
.service-ask {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; font-size: 15px; text-decoration: none; padding: 8px 0;
  border-bottom: 2px solid var(--coral);
}
.service-ask .icon { transition: transform .25s var(--ease-out); }
.service-ask:hover .icon { transform: translateX(4px); }
.service::before {
  content: ""; position: absolute; left: 0; top: -1.5px; height: 3px; width: 100%;
  background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out);
}
.service:hover::before, .service:focus-within::before { transform: scaleX(1); }

/* ---------- Work ---------- */

.work { padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(80px, 10vw, 140px); }
.work-list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(56px, 8vw, 96px); }

.work-entry { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.work-entry[data-kind="live"] { grid-template-columns: minmax(0, 1fr); }
.work-entry--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.work-entry--flip .work-sheet { order: 2; }

.work-sheet {
  display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: 14px;
  background: var(--stone); padding: clamp(14px, 2vw, 24px); border-radius: 4px;
}
.sheet-frame {
  position: relative; display: block; overflow: hidden; border-radius: 3px; background: var(--paper);
  box-shadow: 0 14px 30px -20px rgba(32, 35, 33, .6);
  text-decoration: none;
}
.sheet-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .7s var(--ease-out); }
.sheet-frame:hover img { transform: scale(1.03); }
.sheet-main { grid-column: 1 / -1; }
.sheet-left { grid-column: 1 / 4; }
.sheet-right { grid-column: 4 / -1; }
.sheet-label {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--ink); color: var(--cream); padding: 5px 10px; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .01em;
}
.sheet-frame:hover .sheet-label, .sheet-frame:focus-visible .sheet-label { background: var(--coral); color: var(--ink); }

.work-meta h3 { font-size: clamp(38px, 4.6vw, 60px); letter-spacing: -.035em; line-height: 1; }
.work-type { margin-top: 12px !important; font-weight: 600; color: var(--teal-text); }
.work-meta p { margin-top: 18px; color: var(--ink-soft); max-width: 46ch; }
.work-meta .work-note { font-size: 15px; }
.work-meta .button { margin-top: 28px; }

/* Photography cards inside Selected work */
.photo-work {
  display: grid; grid-template-columns: minmax(0, .9fr) repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start;
  margin-top: clamp(64px, 9vw, 112px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--stone);
}
.photo-work-intro { align-self: start; }
.photo-work-intro h3 { font-size: clamp(34px, 4vw, 52px); letter-spacing: -.035em; line-height: 1; }
.photo-work-intro p { margin-top: 14px; color: var(--ink-soft); max-width: 30ch; }
.photo-card { display: grid; gap: 4px; text-decoration: none; min-width: 0; }
.photo-card img {
  width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 3px; margin-bottom: 10px;
  box-shadow: 0 18px 36px -26px rgba(32, 35, 33, .7);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.photo-card:hover img { transform: translateY(-4px); box-shadow: 0 26px 40px -24px rgba(32, 35, 33, .7); }
.photo-card-title { font: 800 clamp(24px, 2.2vw, 30px)/1.05 var(--display); letter-spacing: -.025em; }
.photo-card-title::after {
  content: ""; display: inline-block; width: 30px; height: 12px; margin-left: 10px; vertical-align: middle;
  background: var(--pulse-svg) no-repeat center / contain;
  opacity: 0; transform: translateX(-6px); transition: opacity .3s, transform .4s var(--ease-out);
}
.photo-card:hover .photo-card-title::after, .photo-card:focus-visible .photo-card-title::after { opacity: 1; transform: none; }
.photo-card-kind { font-size: 15px; color: var(--ink-soft); }
.design-work { margin-top: clamp(40px, 6vw, 72px); }
.photo-card--flyer img { aspect-ratio: 4 / 5; }
.photo-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 6px; }

/* ---------- Process ---------- */

.process {
  padding-top: clamp(24px, 4vw, 48px) !important; padding-bottom: clamp(72px, 9vw, 120px) !important;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); counter-reset: none; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before {
  content: ""; position: absolute; top: 25px; left: 60px; right: calc(-1 * clamp(28px, 4vw, 56px));
  height: 1.5px; background: var(--stone);
}
.steps li:last-child::before { display: none; }
.steps li::after {
  content: ""; position: absolute; top: 16px; width: 56px; height: 20px;
  left: calc((60px + 100% + clamp(28px, 4vw, 56px)) / 2 - 28px);
  background: var(--cream) var(--pulse-svg) no-repeat center / contain;
}
.steps li:last-child::after { display: none; }
.step-num {
  position: absolute; top: 0; left: 0; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--ink); font: 700 20px/1 var(--display);
}
.steps li:last-child .step-num { background: var(--coral); border-color: var(--coral); }
.steps h3 { font-size: clamp(23px, 2.1vw, 28px); line-height: 1.12; letter-spacing: -.02em; }
.steps p { margin-top: 12px; color: var(--ink-soft); max-width: 36ch; }

/* ---------- Inquiry ---------- */

.inquiry {
  max-width: none !important; margin: 0;
  background: var(--paper); border-top: 1px solid var(--stone);
  padding-top: clamp(72px, 9vw, 124px) !important; padding-bottom: clamp(72px, 9vw, 124px) !important;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px);
}
.inquiry > * { min-width: 0; }
.inquiry {
  padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) !important;
  padding-right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) !important;
}
.inquiry-intro h2 { font-size: clamp(36px, 4.6vw, 62px); line-height: 1; letter-spacing: -.035em; }
.inquiry-intro > p { margin-top: 20px; color: var(--ink-soft); font-size: 18px; max-width: 38ch; }

.delivery-note {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 32px; padding: 16px 18px; max-width: 44ch;
  border: 1.5px solid var(--ink); border-radius: 3px; background: var(--cream);
  font-size: 15.5px;
}
.delivery-note .icon { margin-top: 3px; color: var(--coral-deep); width: 20px; height: 20px; }

.inquiry-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15.5px; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); margin-left: 4px; }
.optional::before { content: "("; } .optional::after { content: ")"; }

input[type="text"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 16.5px/1.4 var(--body); color: var(--ink);
  background: #fff; border: 1.5px solid #8F8A80; border-radius: 3px;
  transition: border-color .15s, box-shadow .15s;
  caret-color: var(--coral-deep);
}
textarea { resize: vertical; min-height: 140px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23202321' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
input::placeholder, textarea::placeholder { color: #6C6E69; }
input:hover, select:hover, textarea:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(70, 122, 120, .35); }
[aria-invalid="true"] { border-color: var(--coral-deep) !important; }
.field-error { color: var(--coral-deep); font-size: 14.5px; font-weight: 600; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
  border: 1.5px solid #8F8A80; border-radius: 999px; background: #fff;
  font-size: 15px; font-weight: 500; transition: background-color .15s, border-color .15s, color .15s;
}
.chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid currentColor; flex: none;
  transition: background-color .15s, box-shadow .15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.chip input:checked + span::before { background: var(--coral); border-color: var(--coral); box-shadow: inset 0 0 0 2px var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }

.inquiry-form .button { justify-self: start; margin-top: 6px; }
.form-status { min-height: 1.5em; font-weight: 600; font-size: 15px; }

.brief { display: grid; gap: 14px; }
.brief:focus { outline: none; }
.brief h3 { font-size: 30px; letter-spacing: -.02em; }
.brief-sent-note { font-weight: 600; color: var(--ink); }
.brief-text {
  margin: 0; padding: 20px; white-space: pre-wrap; word-break: break-word;
  background: #fff; border: 1.5px solid var(--stone); border-radius: 3px;
  font: 400 15.5px/1.6 var(--body);
}
.brief-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--cream); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 40px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center;
}
.footer-inner > p:first-of-type { color: var(--cream-soft); max-width: 40ch; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.site-footer nav a { text-decoration: none; padding: 6px 0; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 5px; }
.footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid #3A3D3A; font-size: 14px; color: var(--cream-soft); }
.site-footer :focus-visible { outline-color: var(--coral); }

/* ---------- Responsive ---------- */

@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-work { max-width: 680px; }
  .work-entry { grid-template-columns: minmax(0, 1fr); }
  .work-entry--flip { grid-template-columns: minmax(0, 1fr); }
  .work-entry--flip .work-sheet { order: 0; }
  .inquiry { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .masthead-nav a[href$="#process"] { display: none; }
  .photo-work { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-work-intro { grid-column: 1 / -1; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-ask { justify-self: start; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { padding: 0 0 36px 74px; min-height: 50px; }
  .steps li::before { top: 58px; bottom: 8px; left: 25px; right: auto; width: 1.5px; height: auto; }
  .steps li::after { display: none; }
}

@media (max-width: 640px) {
  .design-work { grid-template-columns: minmax(0, 1fr); }
  body { font-size: 16.5px; }
  .masthead-inner { flex-wrap: wrap; gap: 6px 16px; padding-top: 10px; padding-bottom: 8px; }
  .masthead-nav { width: 100%; justify-content: space-between; gap: 8px; font-size: 14.5px; }
  .nav-cta { padding: 7px 12px !important; }
  html { scroll-padding-top: 108px; }
  .hero h1 { font-size: clamp(40px, 12.4vw, 60px); }
  .phone { width: 30%; border-width: 4px; border-radius: 16px; }
  .hero-work-link { padding-bottom: 40px; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .work-sheet { gap: 10px; }
  .sheet-label { font-size: 12px; left: 6px; bottom: 6px; padding: 4px 8px; }
  .promise-statement { font-size: clamp(30px, 8.6vw, 40px); }
}

@media (max-width: 380px) {
  .masthead-nav a[href$="#work"] { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
