@charset "utf-8";

/* ==========================================================================
   SHARED BAND THEMES
   These classes control band background and default text color only.
   They are intentionally generic because they are reused across multiple pages.
   ========================================================================== */

.band-light {
  background: var(--porcelain);
  color: var(--ink);
}

.band-dark {
  background:
    radial-gradient(circle at top right, color-mix(in srgb, var(--mist) 6%, transparent), transparent 24%),
    linear-gradient(135deg, var(--ink-deep) 0%, var(--ink-deeper) 100%);
  color: var(--text-light);
}

/* Mist band: the third tone, used between porcelain bands so no two adjoining
   bands look alike. Slate falls below readable contrast on mist for small
   text, so labels and links use ink here. */
.band-mist {
  background: var(--mist);
  color: var(--ink);
}

/* Ink band: deep blue closing band (for example the homepage closing
   invitation, paired with .cta-band in modules.css). */
.band-ink {
  background: var(--ink);
  color: var(--porcelain);
}

/* Button set per band (tokens in tokens.css, button rules in site.css):
   Ink buttons on the light bands, Mist buttons on the dark ones. */
.band-light,
.band-mist {
  --btn-bg: var(--button-ink-bg);
  --btn-bg-hover: var(--button-ink-bg-hover);
  --btn-text: var(--button-ink-text);
}

.band-ink,
.band-dark {
  --btn-bg: var(--button-mist-bg);
  --btn-bg-hover: var(--button-mist-bg-hover);
  --btn-text: var(--button-mist-text);
}

/* ==========================================================================
   SHARED LABEL PATTERN
   Reusable small uppercase label used at the top of intro columns across
   homepage sections and studio pages.

   KEEP HERE
   - outer label pattern and its divider line
   - theme-level light/dark color handling

   DO NOT ADD HERE
   - page-specific label spacing tweaks
   - component-specific badge/tag styles
   ========================================================================== */

.label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: var(--type-label-size);
  font-weight: 400;
  letter-spacing: var(--type-label-tracking-wide);
  line-height: 1;
  text-transform: uppercase;
  color: var(--muted-dark);
}

.band-light .label {
  color: var(--slate);
}

.band-mist .label {
  color: var(--ink);
}

.band-ink .label {
  color: var(--porcelain-muted);
}

.label::after {
  content: "";
  width: 52px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.band-dark .label {
  color: var(--muted-light);
}

/* ==========================================================================
   SHARED TEXT-LINK SHELL
   Used for band-level "View portfolio", "Read the journal", "See the process"
   style links that sit inside intro columns.

   KEEP HERE
   - shared link-arrow layout and typography

   DO NOT ADD HERE
   - service-card links
   - footer nav links
   - text-body link styling
   ========================================================================== */

.link-arrow,
.link-arrow-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--type-link-size);
  font-weight: 400;
  letter-spacing: var(--type-link-tracking);
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 180ms ease;
}

.link-arrow {
  margin-top: 1.7rem;
}

.link-arrow-inline {
  margin-top: 0;
}

.link-arrow:hover,
.link-arrow:focus-visible,
.link-arrow-inline:hover,
.link-arrow-inline:focus-visible {
  color: var(--mist);
}

.band-light .link-arrow,
.band-light .link-arrow:visited,
.band-light .link-arrow-inline,
.band-light .link-arrow-inline:visited,
.band-mist .link-arrow,
.band-mist .link-arrow:visited,
.band-mist .link-arrow-inline,
.band-mist .link-arrow-inline:visited {
  color: var(--ink);
}

/* Text links on porcelain and mist: a thin slate rule under the label,
   ink underline on hover. */
.band-light .link-arrow,
.band-light .link-arrow-inline,
.band-mist .link-arrow,
.band-mist .link-arrow-inline {
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line-slate);
}

.band-light .link-arrow:hover,
.band-light .link-arrow:focus-visible,
.band-light .link-arrow-inline:hover,
.band-light .link-arrow-inline:focus-visible,
.band-mist .link-arrow:hover,
.band-mist .link-arrow:focus-visible,
.band-mist .link-arrow-inline:hover,
.band-mist .link-arrow-inline:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ==========================================================================
   SHARED BAND SHELL GRIDS
   These selectors own the outer section layouts only.

   WHY THEY LIVE HERE
   The same shell patterns are reused across the homepage and studio pages:
   - intro column + content column
   - intro column + multi-card content area
   - intro/quote/image three-part trust layout

   DO NOT PUT MODULE INTERNALS HERE
   For example:
   - .service-card belongs in modules.css
   - .portfolio-grid internals belong in portfolio.css
   ========================================================================== */

.services-wrap,
.statement-grid {
  display: grid;
  gap: 0;
}

/* ==========================================================================
   SHARED INTRO COLUMN SPACING
   These are repeated intro-shell blocks used beside component content across
   multiple sections and page families.

   KEEP HERE
   - intro column padding and outer spacing
   - shared intro-column typography shell for headings and supporting copy

   DO NOT ADD HERE
   - paragraph color rules tied to a specific component
   - one-off text measure rules
   - card-grid spacing
   ========================================================================== */

.featured-intro,
.services-intro,
.statement-intro {
  padding: 1.95rem 1.25rem 1.95rem 0;
}

.featured-intro > :last-child,
.services-intro > :last-child,
.statement-intro > :last-child {
  margin-bottom: 0;
}

.featured-intro h2,
.services-intro h2,
.statement-intro h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: var(--type-heading-lg);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}

.featured-intro p,
.services-intro p,
.statement-intro p {
  margin: 0;
  max-width: var(--measure-copy);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-loose);
  color: var(--muted-dark);
}

.band-light .featured-intro p,
.band-light .services-intro p,
.band-light .statement-intro p,
.band-light .statement-copy p,
.band-mist .featured-intro p,
.band-mist .statement-intro p,
.band-mist .statement-copy p {
  color: var(--ink-muted);
}

.band-dark .featured-intro p,
.band-dark .services-intro p,
.band-dark .statement-intro p {
  color: var(--muted-light);
}

.band-light .featured-intro a,
.band-light .services-intro a,
.band-light .statement-intro a {
  color: var(--ink);
}

.band-light .featured-intro a:hover,
.band-light .featured-intro a:focus-visible,
.band-light .services-intro a:hover,
.band-light .services-intro a:focus-visible,
.band-light .statement-intro a:hover,
.band-light .statement-intro a:focus-visible {
  color: var(--ink);
}

/* ==========================================================================
   STATEMENT BAND SHELL
   Intro column (label + heading) beside a copy column of one or more
   paragraphs and an optional band-level link. Used where a band carries
   editorial copy rather than cards (for example the homepage studio
   introduction and journal bands).

   KEEP HERE
   - the copy column's spacing and paragraph typography shell

   DO NOT ADD HERE
   - card, list, or module internals
   ========================================================================== */

.statement-copy {
  padding: 1.95rem 0;
}

.statement-copy p {
  margin: 0 0 1rem;
  max-width: var(--measure-copy-xl);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-loose);
  color: var(--muted-dark);
}

.statement-copy .statement-lead {
  font-family: var(--font-display);
  font-size: var(--type-heading-md);
  font-weight: 400;
  line-height: 1.3;
  color: inherit;
}

/* ==========================================================================
   BAND HEAD SHELL
   Full-width band intro: eyebrow, headline and optional copy on the left, an
   optional band-level text link on the right, with the band's content (cards,
   columns) below at full width. Used by the homepage featured plans,
   services and design process bands.

   KEEP HERE
   - the head row layout and its spacing to the content below

   DO NOT ADD HERE
   - card or column internals (portfolio.css, modules.css)
   ========================================================================== */

.band-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  padding: 1.95rem 0 2.25rem;
}

.band-head-intro {
  flex: 1 1 32rem;
  min-width: 0;
}

.band-head-intro > :last-child {
  margin-bottom: 0;
}

.band-head-intro h2 {
  margin: 0 0 0.8rem;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: var(--type-heading-lg);
  font-weight: 400;
  line-height: 1.15;
  color: inherit;
}

.band-head-intro p {
  margin: 0;
  max-width: var(--measure-copy-xl);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line-loose);
  color: var(--ink-muted);
}

.band-head .link-arrow {
  flex: 0 0 auto;
  margin-top: 0;
}

.band-ink .band-head-intro p {
  color: var(--porcelain-muted);
}

.statement-copy > :last-child {
  margin-bottom: 0;
}

.band-dark .statement-copy p {
  color: var(--muted-light);
}

.band-dark .statement-copy .statement-lead {
  color: var(--text-light);
}

.band-light .statement-copy .statement-lead,
.band-mist .statement-copy .statement-lead {
  color: var(--ink);
}

/* ==========================================================================
   DESKTOP BAND SHELL LAYOUTS
   These breakpoints define the shared multi-column section structures.

   KEEP HERE
   - repeated section-shell column templates
   - shared band-level min-heights
   - shell-level alignment rules

   DO NOT PUT HERE
   - component card columns that belong to the component itself unless the
     layout is truly part of the outer shell
   ========================================================================== */

@media (min-width: 980px) {
  .services-wrap {
    grid-template-columns: 0.72fr 2.28fr;
    align-items: start;
    column-gap: 1.5rem;
    min-height: 430px;
  }

  .statement-grid {
    grid-template-columns: 0.85fr 2.15fr;
    align-items: start;
    column-gap: 1.5rem;
  }
}

/* ==========================================================================
   TABLET AND DOWN
   At tablet sizes the repeated section shells collapse to a simpler vertical
   flow. Component internals should manage their own responsive behavior inside
   these wrappers.

   KEEP HERE
   - shell collapse behavior
   - intro-shell spacing adjustments

   DO NOT ADD HERE
   - component-specific card stack logic unless absolutely shared
   ========================================================================== */

@media (max-width: 979px) {
  .services-wrap,
.statement-grid {
    grid-template-columns: 1fr;
  }

  .statement-copy {
    padding-top: 0;
  }

  .featured-intro h2,
.services-intro h2,
.statement-intro h2 {
    max-width: 16ch;
  }
}

/* ==========================================================================
   MOBILE
   Mobile keeps the same shared shell ownership but reduces padding on the
   repeated intro columns. This keeps cross-page band rhythm consistent.

   KEEP HERE
   - shared intro-column mobile padding

   DO NOT ADD HERE
   - component-specific typography or card sizing
   ========================================================================== */

@media (max-width: 767px) {
  .featured-intro,
.services-intro,
.statement-intro {
    padding: 1.75rem 0 1.75rem;
  }

  .label {
    font-size: var(--type-label-size-sm);
  }

  .featured-intro h2,
.services-intro h2,
.statement-intro h2 {
    font-size: var(--type-heading-sm);
    max-width: 100%;
  }

  .featured-intro p,
.services-intro p,
.statement-intro p,
.statement-copy p {
    font-size: var(--type-body-size-sm);
  }

  .statement-copy {
    padding: 0 0 1.75rem;
  }

  .statement-copy .statement-lead {
    font-size: var(--type-heading-sm);
  }

  .band-head {
    padding: 1.75rem 0 1.5rem;
  }

  .band-head-intro h2 {
    font-size: var(--type-heading-sm);
    max-width: 100%;
  }

  .band-head-intro p {
    font-size: var(--type-body-size-sm);
  }
}
