/* Service pages (/commercials/, /film-tv/, /photography/, /websites/, /social-media/).
   Loaded after experience.css. Same ground, accent and type as the home page; only the new pieces live here:
   1 opening · 2 proof strip · 3 section headings · 4 build levels · 5 what you get · 6 steps · 7 questions · 8 other services · 9 motion */

/* 1. Opening: the promise and the action, over one photograph. */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(80svh, 760px);
  padding: 150px var(--pad) clamp(30px, 4vw, 54px);
  overflow: hidden;
}
.page-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #080808f2 0%, #080808c4 40%, #08080852 74%, #08080830 100%),
    linear-gradient(0deg, #080808 0%, #08080800 36%);
}
.page-hero-copy { max-width: 820px; }
.page-eyebrow {
  margin: 0 0 18px;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.5;
  text-transform: uppercase;
}
.page-eyebrow a { display: inline-block; padding-block: 14px; color: var(--muted); }
.page-eyebrow a:hover { color: var(--paper); }
.page-eyebrow span { margin-inline: 6px; color: var(--accent); }
.page-hero h1 { font-size: clamp(40px, 6vw, 88px); text-wrap: balance; }
.page-lede {
  max-width: 60ch;
  margin: 22px 0 0;
  color: #ecece7;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
  text-wrap: pretty;
}
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; margin-top: 28px; }
.page-hero-actions .text-link { padding-block: 14px; }

/* 2. Proof strip: three facts straight under the opening. */
.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0 var(--pad);
  border-block: 1px solid var(--line);
  list-style: none;
}
.proof-strip li { display: grid; align-content: start; gap: 6px; padding: 22px 28px 24px 0; }
.proof-strip li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-strip strong { font-size: clamp(26px, 2.9vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.proof-strip span { max-width: 34ch; color: #c9c9c3; font-size: 14px; line-height: 1.45; }

/* 3. Sections sit closer together than on the home page; headings below the work are a step smaller than the work itself. */
.service-page .section-pad { padding-block: clamp(26px, 2.6vw, 38px); }
.service-page .project.section-pad { padding-top: clamp(34px, 3.2vw, 46px); }
.division-heading--sub h2 { font-size: clamp(32px, 3.7vw, 56px); }
.svc-intro { max-width: 64ch; margin: -6px 0 26px; color: #d6d6d0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.55; }
.svc a:not(.cta-button):not(.other-services a) { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.svc a:not(.cta-button):not(.other-services a):hover { color: var(--accent-text); }

/* 4. Build levels (Websites): the same standard at three sizes. */
.level-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.level-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-top-color: var(--accent); background: var(--panel); }
.level-shot { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; overflow: hidden; background: #111; }
.level-shot img { height: 100%; object-fit: cover; object-position: top; transition: scale .6s var(--ease-out); }
.level-shot .expand-hint { opacity: 0; transition: opacity .2s ease-out; }
.level-shot:focus-visible .expand-hint { opacity: 1; }
.level-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.level-num { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; line-height: 1.5; text-transform: uppercase; }
.level-num span { color: var(--accent-text); }
.level-card h3 { font-size: clamp(21px, 1.75vw, 26px); letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
.level-card p { margin: 0; color: #d6d6d0; font-size: 15px; line-height: 1.6; }
.level-card .level-example { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.5; }
.level-example a { display: inline-flex; align-items: center; min-height: 44px; color: var(--paper); white-space: nowrap; }

/* 5. What you get. */
.include-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.4vw, 56px); margin: 0; padding: 0; list-style: none; }
.include-grid li { padding: 18px 0 22px; border-top: 1px solid var(--line); }
.include-grid h3 { margin-bottom: 8px; font-size: 12px; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.include-grid p { max-width: 46ch; margin: 0; color: #d6d6d0; font-size: 15px; line-height: 1.6; }

/* 6. Steps. */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.6vw, 40px); margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { padding-top: 16px; border-top: 2px solid var(--accent); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.steps h3 { margin-bottom: 8px; font-size: clamp(19px, 1.6vw, 23px); letter-spacing: -.03em; line-height: 1.15; }
.steps p { margin: 0; color: #d6d6d0; font-size: 15px; line-height: 1.6; }

/* 7. Questions. */
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 0 clamp(24px, 3.4vw, 56px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 60px;
  padding-block: 14px;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--accent-text); font-size: 22px; font-weight: 400; line-height: 1; transition: rotate var(--dur) var(--ease-out); }
.faq-list details[open] summary::after { rotate: 45deg; }
.faq-list summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-list details p { max-width: 58ch; margin: 0; padding-bottom: 20px; color: #d6d6d0; font-size: 15px; line-height: 1.65; }

/* 8. Other services. */
.other-services { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.other-services p { margin: 0 14px 0 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.other-services a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s ease-out, background-color .2s ease-out;
}
.other-services a span { color: var(--accent-text); transition: transform var(--dur) var(--ease-out); }

/* The page you are on is marked in the header. */
.site-header nav > a[aria-current="page"] { color: var(--paper); }
@media (hover: hover) {
  .site-header nav > a[aria-current="page"]::after { transform: scaleX(1); }
  .level-shot:hover img { scale: 1.03; }
  .level-shot:hover .expand-hint { opacity: 1; }
  .other-services a:hover { border-color: var(--accent); background: var(--panel); }
  .other-services a:hover span { transform: translate(3px, -3px); }
}
@media (max-width: 819px) {
  .site-header nav > a[aria-current="page"] { color: var(--accent-text); }
}

/* 9. Motion: the opening arrives in order; everything else uses the shared scroll reveals. */
@media (prefers-reduced-motion: no-preference) {
  .page-hero-image { animation: hero-settle 2.4s var(--ease-out) both; }
  .page-hero-copy > * { animation: rise .9s var(--ease-out) both; }
  .page-hero-copy > h1 { animation-delay: .1s; }
  .page-hero-copy > .page-lede { animation-delay: .22s; }
  .page-hero-copy > .page-hero-actions { animation-delay: .34s; }
  .faq-list details[open] p { animation: rise .45s var(--ease-out) both; }
}

@media (max-width: 1000px) {
  .level-grid { grid-template-columns: minmax(0, 1fr); }
  .level-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
  .level-shot { height: 100%; aspect-ratio: auto; min-height: 220px; }
  .include-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
}
@media (max-width: 760px) {
  .page-hero { min-height: min(84svh, 680px); padding-top: 110px; }
  .page-hero-shade {
    background:
      linear-gradient(0deg, #080808 0%, #080808d9 38%, #0808087a 70%, #08080852 100%);
  }
  .page-lede { margin-top: 16px; }
  .page-hero-actions { margin-top: 22px; }
  .proof-strip { grid-template-columns: minmax(0, 1fr); }
  .proof-strip li { grid-template-columns: minmax(96px, 34%) minmax(0, 1fr); align-items: center; gap: 14px; padding: 14px 0; }
  .proof-strip li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .proof-strip strong { font-size: 24px; }
  .level-card { display: flex; }
  .level-shot { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .include-grid, .faq-list { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 22px; }
  .other-services p { width: 100%; }
}
