/* =====================================================================
   lverbeeck.com - pages.css
   Page-specific styles for services.html + about.html only.
   Loaded AFTER base.css (inherits all tokens, header/footer, reveals).
   No external requests. No em dashes. Reuses base components where possible.
   ===================================================================== */

/* -------------------------------------------------- Page hero
   Caps label inline-left + oversized serif headline (ref: ogaki-about).
   Extra top padding clears the fixed header. */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(40px, 8vw, 96px));
  padding-bottom: clamp(40px, 7vw, 88px);
}
.page-hero__head {
  display: flex;
  align-items: baseline;               /* label sits on the title's first-line baseline (ref) */
  gap: clamp(14px, 2vw, 30px);
  flex-wrap: wrap;
}
.page-hero__label {
  white-space: nowrap;
  color: var(--ink);
}
.page-hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-display);
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 18ch;
}
/* right-aligned caps subline for counterpoint (design DNA) */
.page-hero__sub {
  margin-top: clamp(28px, 4vw, 48px);
  margin-left: auto;
  max-width: 36ch;
  text-align: right;
  color: var(--ink-soft);
}

/* -------------------------------------------------- Services: numbered index list
   Row: (0N) number | title + caps desc | from-price | small square image.
   Everything top-aligned, hairline rule above each row (ref: ogaki-services). */
.svc-section { padding-bottom: clamp(90px, 13vw, 170px); }

.svc-list { margin-top: clamp(4px, 1.5vw, 18px); }

.svc-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto clamp(96px, 10vw, 128px);
  grid-template-areas:
    "num title price media"
    "num desc  price media";
  align-items: start;
  column-gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(30px, 4vw, 52px);
  border-top: 1px solid var(--rule);
}
.svc-row:last-of-type { border-bottom: 1px solid var(--rule); }

.svc-row__num {
  grid-area: num;
  padding-top: .5em;                   /* drop to align with title cap height */
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  color: var(--ink-soft);
}
.svc-row__title {
  grid-area: title;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
}
.svc-row__desc {
  grid-area: desc;
  margin-top: clamp(14px, 1.6vw, 20px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.45;
  max-width: 44ch;
}
.svc-row__price {
  grid-area: price;
  padding-top: .32em;                  /* nudge to sit with title */
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.35rem, 1.8vw, 1.95rem);
  letter-spacing: -.01em;
  white-space: nowrap;
  text-align: right;
}
.svc-row__media { grid-area: media; width: 100%; }
.svc-row__media .img-ph { aspect-ratio: 1 / 1; padding: 8%; }
/* Service illustration: ink line-art centred on the --bg-alt tint mat, matching
   the journal set. object-fit: contain keeps the whole icon visible; the square
   mat holds the row's media column dimensions (clamp 96-128px). */
.svc-row__art {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 13%;
  background-color: var(--bg-alt);
  border: 1px solid var(--rule);
}

/* -------------------------------------------------- Services: "Every build ships with" */
.ships { margin-top: clamp(72px, 10vw, 130px); }
.ships__label { margin-bottom: clamp(26px, 4vw, 44px); color: var(--ink-soft); }
.ships__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}
.ships__item h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.ships__item p {
  margin-top: 12px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* -------------------------------------------------- Services: included + add-ons
   Caps title + one serif line per item, hairline rule above each grid
   (extends the "ships" visual language). */
.ships--included { margin-top: clamp(72px, 10vw, 130px); }
.ships--addons { margin-top: clamp(48px, 7vw, 88px); }
.feat-grid {
  display: grid;
  gap: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 48px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(28px, 4vw, 48px);
}
.feat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feat-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feat-item__title {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.feat-item__line {
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.15rem, .9vw + .9rem, 1.45rem);
  line-height: 1.28;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 32ch;
}

/* -------------------------------------------------- About: story + portrait split
   Text left, portrait image right (ref: ogaki-about). */
.about-section { padding-bottom: clamp(90px, 13vw, 170px); }
.about-split {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.about-story { max-width: 48ch; }
.about-story p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.125rem, .5vw + 1rem, 1.3rem);
  line-height: 1.5;
}
.about-story p + p { margin-top: 1.1em; }
.about-media { width: 100%; justify-self: end; max-width: 460px; }
.about-media .img-ph { aspect-ratio: 4 / 5; }

/* -------------------------------------------------- About: "What AI changes" 3-col */
.changes { margin-top: clamp(76px, 11vw, 150px); }
.changes__label { margin-bottom: clamp(26px, 4vw, 44px); color: var(--ink-soft); }
.changes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 64px);
  border-top: 1px solid var(--rule);
  padding-top: clamp(32px, 4vw, 56px);
}
.changes__item h3 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.changes__item p {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h3);
  line-height: 1.14;
  letter-spacing: -.01em;
  max-width: 24ch;
}

/* -------------------------------------------------- About: career timeline ("The road here")
   Year range (caps, left) beside the serif role/place, hairline rule per row
   (shares the services numbered-list row DNA). */
.road { margin-top: clamp(76px, 11vw, 150px); }
.road__label { margin-bottom: clamp(26px, 4vw, 44px); color: var(--ink-soft); }
.road__row {
  display: grid;
  grid-template-columns: clamp(108px, 15vw, 180px) 1fr;
  gap: clamp(16px, 4vw, 56px);
  align-items: baseline;
  padding-block: clamp(22px, 3vw, 34px);
  border-top: 1px solid var(--rule);
}
.road__row:last-child { border-bottom: 1px solid var(--rule); }
.road__year {
  font-family: var(--sans);
  font-weight: 500;
  font-size: var(--fs-label);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  padding-top: .2em;
}
.road__role {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.3vw + .9rem, 1.7rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  max-width: 42ch;
}

/* -------------------------------------------------- Shared CTA row (both pages) */
.page-cta {
  margin-top: clamp(76px, 11vw, 150px);
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px 48px;
}
.page-cta__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--fs-h2);
  line-height: 1.02;
  letter-spacing: -.02em;
  max-width: 20ch;
}
.page-cta__links { display: flex; flex-wrap: wrap; gap: 18px 40px; }

/* -------------------------------------------------- Responsive */
@media (max-width: 900px) {
  .ships__grid { grid-template-columns: 1fr 1fr; }
  .feat-grid--3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  /* About split stacks */
  .about-split { grid-template-columns: 1fr; gap: clamp(32px, 8vw, 56px); }
  .about-media { justify-self: start; }

  /* Services rows stack: number, title, price (under title), desc, image */
  .svc-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "num"
      "title"
      "price"
      "desc"
      "media";
    row-gap: 12px;
    padding-block: clamp(30px, 7vw, 44px);
  }
  .svc-row__num { padding-top: 0; }
  .svc-row__price { padding-top: 4px; text-align: left; }
  .svc-row__media { max-width: 150px; margin-top: 6px; }
}

@media (max-width: 760px) {
  .changes__grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 560px) {
  .road__row { grid-template-columns: 1fr; row-gap: 6px; }
  .road__year { padding-top: 0; }
}

@media (max-width: 480px) {
  .ships__grid { grid-template-columns: 1fr; gap: 26px; }
  .feat-grid--3, .feat-grid--2 { grid-template-columns: 1fr; gap: 26px; }
  .page-hero__sub { text-align: left; margin-left: 0; }
}
