/* The selected Nordic direction. Other studio layouts retain their own styles. */
@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("assets/fonts/barlow-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Semi Condensed";
  src: url("assets/fonts/barlow-semi-condensed-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

html[data-layout="nordic"] {
  --font: "Barlow", "Segoe UI", sans-serif;
  --font-heading: "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --page-gutter: clamp(1.25rem, 5vw, 5rem);
}

/* A zero-specificity layout prefix lets component selectors keep a clear cascade. */
:where([data-layout="nordic"]) body {
  font-size: 1.125rem;
  line-height: 1.65;
}

:where([data-layout="nordic"]) .container {
  width: min(1280px, calc(100% - var(--page-gutter) * 2));
}

:where([data-layout="nordic"]) :is(h1, h2, h3) {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -.025em;
  text-wrap: balance;
}

:where([data-layout="nordic"]) h2 {
  font-size: clamp(2.5rem, 4.6vw, 4.25rem);
  line-height: 1.06;
}

:where([data-layout="nordic"]) .section {
  padding-block: clamp(4rem, 7.8vw, 7.5rem);
}

:where([data-layout="nordic"]) .section-description {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 36ch;
  margin-top: 1.5rem;
}

:where([data-layout="nordic"]) .button {
  min-height: 54px;
  padding: 15px 26px;
  border-radius: 3px;
  font-size: 1rem;
  font-weight: 600;
}

:where([data-layout="nordic"]) .text-link {
  font-size: 1rem;
  font-weight: 600;
  text-decoration-color: currentColor;
}

:where([data-layout="nordic"]) :focus-visible {
  outline: 3px solid var(--highlight);
  outline-offset: 5px;
}

:where([data-layout="nordic"]) .hero :focus-visible,
:where([data-layout="nordic"]) .closing :focus-visible {
  outline-color: var(--on-deep);
}

/* The italic wordmark stays distinct from the upright transport-inspired type. */
:where([data-layout="nordic"]) .header-inner {
  min-height: 104px;
  gap: 32px;
}

:where([data-layout="nordic"]) .brand-name {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 600;
  letter-spacing: -.025em;
}

:where([data-layout="nordic"]) .brand-sub {
  font-size: .75rem;
  letter-spacing: .29em;
  font-weight: 600;
}

:where([data-layout="nordic"]) .site-nav {
  gap: 30px;
}

:where([data-layout="nordic"]) .site-nav a,
:where([data-layout="nordic"]) .header-inner > .button {
  font-size: 1rem;
  font-weight: 600;
}

/* One strong split: a calm navy field and a photograph of the work itself. */
:where([data-layout="nordic"]) .hero-nordic {
  grid-template-columns: 1fr 1fr;
}

:where([data-layout="nordic"]) .hero-nordic .hero-copy {
  min-height: 640px;
  padding: 56px 48px 48px max(var(--page-gutter), calc((100vw - 1280px) / 2));
}

:where([data-layout="nordic"]) .hero-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-deep);
  margin-bottom: 30px;
}

:where([data-layout="nordic"]) .hero-location .icon {
  color: var(--accent);
  width: 20px;
  height: 20px;
}

:where([data-layout="nordic"]) .hero-nordic h1 {
  font-size: clamp(4.25rem, 7.8vw, 7.5rem);
  line-height: .98;
  letter-spacing: -.03em;
}

:where([data-layout="nordic"]) .hero-nordic .hero-description {
  max-width: 33ch;
  margin-top: 28px;
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 1;
  color: #dce3ed;
}

:where([data-layout="nordic"]) .hero-actions {
  gap: 26px;
  margin-top: 32px;
}

:where([data-layout="nordic"]) .hero-actions .text-link {
  font-size: 1rem;
  font-weight: 400;
}

:where([data-layout="nordic"]) .hero-assurance {
  display: block;
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  margin-top: 36px;
  font-size: .9375rem;
  line-height: 1.5;
  opacity: 1;
  color: #dce3ed;
}

:where([data-layout="nordic"]) .hero-nordic .hero-photo > img {
  object-position: 54% 50%;
}

:where([data-layout="nordic"]) .hero-nordic .hero-photo figcaption {
  bottom: 28px;
  left: 0;
  gap: 20px;
  padding: 0 24px 0 0;
  max-width: calc(100% - 24px);
  font-size: 1rem;
  line-height: 1.45;
}

:where([data-layout="nordic"]) .hero-caption-star {
  width: 82px;
  min-height: 88px;
  display: grid;
  place-items: center;
  background: var(--accent);
  flex-shrink: 0;
}

:where([data-layout="nordic"]) .hero-photo figcaption .brand-star {
  width: 36px;
  height: 48px;
  background: var(--on-accent);
}

:where([data-layout="nordic"]) .hero-photo figcaption strong {
  font-weight: 600;
}

/* Keep the callback directly below the hero and its demonstration notice visible. */
:where([data-layout="nordic"]) .callback {
  padding-block: 44px;
  border-bottom: 0;
}

:where([data-layout="nordic"]) .callback-inner {
  grid-template-columns: 1fr 1.85fr;
  gap: 48px;
}

:where([data-layout="nordic"]) .callback h2 {
  font-size: 2rem;
  line-height: 1.12;
  letter-spacing: -.02em;
}

:where([data-layout="nordic"]) .callback-form {
  gap: 16px;
}

:where([data-layout="nordic"]) .field label {
  font-size: 1rem;
  font-weight: 600;
}

:where([data-layout="nordic"]) .field input {
  min-height: 54px;
  border-color: #bdc6d3;
  border-radius: 3px;
  padding: 13px 15px;
}

:where([data-layout="nordic"]) .callback-form .button {
  font-size: 1rem;
  padding-inline: 22px;
}

:where([data-layout="nordic"]) .form-note {
  font-size: .875rem;
}

:where([data-layout="nordic"]) .form-status {
  font-size: 1rem;
}

:where([data-layout="nordic"]) .values {
  background: var(--surface);
  border-bottom: 0;
  padding-block: 30px;
}

:where([data-layout="nordic"]) .values-grid > div {
  justify-content: start;
  gap: 16px;
}

:where([data-layout="nordic"]) .values-grid > div + div {
  padding-left: 32px;
}

:where([data-layout="nordic"]) .values strong {
  font-size: 1.0625rem;
  font-weight: 600;
}

:where([data-layout="nordic"]) .values small {
  font-size: .9375rem;
}

/* Service rows replace repeated boxed cards; the open left column sets the pace. */
:where([data-layout="nordic"]) .services {
  background: var(--paper);
}

:where([data-layout="nordic"]) .services-layout {
  display: grid;
  grid-template-columns: .9fr 1.4fr;
  gap: clamp(40px, 7vw, 112px);
}

:where([data-layout="nordic"]) .service-list {
  min-width: 0;
}

:where([data-layout="nordic"]) .service-entry {
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
}

:where([data-layout="nordic"]) .service-entry:first-child {
  padding-top: 0;
}

:where([data-layout="nordic"]) .service-entry:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

:where([data-layout="nordic"]) .service-entry-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}

:where([data-layout="nordic"]) .service-entry-heading .icon {
  width: 28px;
  height: 28px;
  color: var(--highlight);
}

:where([data-layout="nordic"]) .service-entry h3 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -.02em;
}

:where([data-layout="nordic"]) .service-entry > p {
  max-width: 56ch;
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.125rem;
}

:where([data-layout="nordic"]) .service-entry .text-link {
  display: inline-block;
  margin-top: 16px;
  font-size: .9375rem;
}

:where([data-layout="nordic"]) .process {
  background: var(--surface);
}

:where([data-layout="nordic"]) .process-grid {
  gap: 36px;
  margin-top: 56px;
}

:where([data-layout="nordic"]) .step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

:where([data-layout="nordic"]) .process h3 {
  font-size: 1.625rem;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin-bottom: 16px;
}

:where([data-layout="nordic"]) .process-grid p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

:where([data-layout="nordic"]) .story {
  background: var(--paper);
}

:where([data-layout="nordic"]) .story-grid {
  gap: clamp(40px, 7vw, 112px);
}

:where([data-layout="nordic"]) .story-photo {
  min-height: 590px;
}

:where([data-layout="nordic"]) .story-photo > img {
  border-radius: 3px;
  object-position: 60% 50%;
}

:where([data-layout="nordic"]) .story-photo figcaption {
  right: 0;
  left: 0;
  bottom: 0;
  padding: 24px 28px;
  font-size: 1rem;
}

:where([data-layout="nordic"]) .story-photo figcaption .brand-star {
  display: none;
}

:where([data-layout="nordic"]) .story-copy h2 {
  font-size: clamp(2.5rem, 4.2vw, 4rem);
}

:where([data-layout="nordic"]) .story-copy > p {
  font-size: 1.125rem;
  line-height: 1.7;
}

:where([data-layout="nordic"]) .story-signature {
  font-size: 1rem;
}

:where([data-layout="nordic"]) .area {
  padding-block: 56px;
  background: var(--tint);
}

:where([data-layout="nordic"]) .area-inner {
  grid-template-columns: .8fr 1.5fr 1.3fr;
  gap: 48px;
}

:where([data-layout="nordic"]) .area-label {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0;
}

:where([data-layout="nordic"]) .area h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

:where([data-layout="nordic"]) .area p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

:where([data-layout="nordic"]) .faq-grid {
  grid-template-columns: .9fr 1.4fr;
  gap: clamp(40px, 7vw, 112px);
}

:where([data-layout="nordic"]) .faq .section-description {
  font-size: 1.125rem;
}

:where([data-layout="nordic"]) .faq summary {
  font-size: 1.125rem;
  font-weight: 600;
  padding-block: 25px;
}

:where([data-layout="nordic"]) .faq details > p {
  font-size: 1.0625rem;
  line-height: 1.7;
}

:where([data-layout="nordic"]) .closing {
  padding-block: 80px;
}

:where([data-layout="nordic"]) .closing-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

:where([data-layout="nordic"]) .closing h2 {
  font-size: clamp(3rem, 5vw, 5rem);
}

:where([data-layout="nordic"]) .closing p:not(.eyebrow) {
  margin: 20px 0 0;
  font-size: 1.125rem;
}

:where([data-layout="nordic"]) .closing .button {
  flex-shrink: 0;
}

:where([data-layout="nordic"]) .site-footer {
  padding-block: 48px 24px;
}

:where([data-layout="nordic"]) .footer-top {
  gap: 40px;
}

:where([data-layout="nordic"]) .footer-top .brand-name {
  font-size: 1.875rem;
}

:where([data-layout="nordic"]) .footer-top > p,
:where([data-layout="nordic"]) .footer-top nav {
  font-size: 1rem;
}

:where([data-layout="nordic"]) .footer-bottom {
  font-size: .875rem;
}

@media (max-width: 1120px) {
  :where([data-layout="nordic"]) .header-inner { gap: 24px; }
  :where([data-layout="nordic"]) .site-nav { gap: 22px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-copy { min-height: 600px; padding-right: 32px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-description { font-size: 1.125rem; }
  :where([data-layout="nordic"]) .hero-actions { gap: 20px; }
  :where([data-layout="nordic"]) .callback-inner { grid-template-columns: 1fr; gap: 28px; }
  :where([data-layout="nordic"]) .callback h2 br { display: none; }
  :where([data-layout="nordic"]) .values-grid { gap: 24px; }
  :where([data-layout="nordic"]) .values-grid > div + div { padding-left: 20px; }
  :where([data-layout="nordic"]) .story-photo { min-height: 560px; }
  :where([data-layout="nordic"]) .area-inner { grid-template-columns: .8fr 1.4fr 1.3fr; gap: 28px; }
  :where([data-layout="nordic"]) .area-label { grid-row: auto; }
  :where([data-layout="nordic"]) .area p { grid-column: auto; }
}

@media (max-width: 880px) {
  :where([data-layout="nordic"]) .header-inner { min-height: 88px; gap: 16px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-copy { min-height: 580px; padding-block: 40px; }
  :where([data-layout="nordic"]) .hero-nordic h1 { font-size: clamp(3.75rem, 8vw, 4.5rem); }
  :where([data-layout="nordic"]) .hero-location { font-size: .9375rem; margin-bottom: 24px; }
  :where([data-layout="nordic"]) .hero-actions { align-items: start; flex-direction: column; gap: 18px; }
  :where([data-layout="nordic"]) .hero-assurance { margin-top: 28px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-photo figcaption { gap: 14px; font-size: .875rem; padding-right: 16px; }
  :where([data-layout="nordic"]) .hero-caption-star { width: 60px; min-height: 78px; }
  :where([data-layout="nordic"]) .values-grid { gap: 16px; }
  :where([data-layout="nordic"]) .values-grid > div { gap: 12px; }
  :where([data-layout="nordic"]) .values strong { font-size: 1rem; }
  :where([data-layout="nordic"]) .values small { font-size: .875rem; }
  :where([data-layout="nordic"]) .services-layout { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  :where([data-layout="nordic"]) .process-grid { gap: 40px; }
  :where([data-layout="nordic"]) .story-grid { grid-template-columns: 1fr; }
  :where([data-layout="nordic"]) .story-photo { min-height: 460px; height: 460px; }
  :where([data-layout="nordic"]) .story-copy { max-width: 60ch; }
  :where([data-layout="nordic"]) .area-inner { grid-template-columns: 1fr 1fr; gap: 20px 32px; }
  :where([data-layout="nordic"]) .area-label { grid-column: 1 / -1; }
  :where([data-layout="nordic"]) .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  :where([data-layout="nordic"]) .faq .section-description { max-width: 44ch; }
  :where([data-layout="nordic"]) .footer-top { flex-wrap: wrap; gap: 24px; }
  :where([data-layout="nordic"]) .footer-top nav { gap: 22px; }
}

@media (max-width: 640px) {
  :where([data-layout="nordic"]) .header-inner { min-height: 84px; }
  :where([data-layout="nordic"]) .brand-name { font-size: 1.75rem; }
  :where([data-layout="nordic"]) .brand-sub { font-size: .6875rem; }
  :where([data-layout="nordic"]) .hero-nordic { grid-template-columns: 1fr; }
  :where([data-layout="nordic"]) .hero-nordic .hero-copy { min-height: 0; padding: 36px var(--page-gutter) 40px; }
  :where([data-layout="nordic"]) .hero-nordic h1 { font-size: clamp(3.75rem, 16vw, 6rem); }
  :where([data-layout="nordic"]) .hero-nordic .hero-description { margin-top: 24px; max-width: 34ch; }
  :where([data-layout="nordic"]) .hero-actions { flex-direction: row; align-items: center; gap: 20px; margin-top: 28px; }
  :where([data-layout="nordic"]) .hero-actions .button { padding-inline: 22px; }
  :where([data-layout="nordic"]) .hero-assurance { font-size: .875rem; margin-top: 28px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-photo { height: 340px; }
  :where([data-layout="nordic"]) .hero-nordic .hero-photo > img { object-position: 50% 47%; }
  :where([data-layout="nordic"]) .hero-nordic .hero-photo figcaption { bottom: 20px; font-size: .9375rem; }
  :where([data-layout="nordic"]) .hero-caption-star { min-height: 76px; width: 68px; }
  :where([data-layout="nordic"]) .callback { padding-block: 36px; }
  :where([data-layout="nordic"]) .callback h2 { font-size: 1.875rem; max-width: 25ch; }
  :where([data-layout="nordic"]) .callback-form { grid-template-columns: 1fr; gap: 20px; }
  :where([data-layout="nordic"]) .callback-notice .form-note { font-size: .875rem; }
  :where([data-layout="nordic"]) .values-grid { gap: 24px; }
  :where([data-layout="nordic"]) .values-grid > div + div { padding-left: 0; }
  :where([data-layout="nordic"]) .values .icon { width: 28px; height: 28px; }
  :where([data-layout="nordic"]) .services-layout { grid-template-columns: 1fr; gap: 36px; }
  :where([data-layout="nordic"]) .service-entry h3 { font-size: 1.75rem; }
  :where([data-layout="nordic"]) .service-entry > p { font-size: 1.0625rem; }
  :where([data-layout="nordic"]) .process-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 36px; }
  :where([data-layout="nordic"]) .process-grid > li { padding-left: 52px; padding-top: 20px; }
  :where([data-layout="nordic"]) .step-number { position: absolute; top: 18px; left: 0; font-size: 1.75rem; }
  :where([data-layout="nordic"]) .process h3 { font-size: 1.5rem; margin-bottom: 12px; }
  :where([data-layout="nordic"]) .process-grid p { font-size: 1.0625rem; }
  :where([data-layout="nordic"]) .story-photo { min-height: 380px; height: 380px; }
  :where([data-layout="nordic"]) .story-photo figcaption { padding: 16px 20px; font-size: .9375rem; }
  :where([data-layout="nordic"]) .story-copy > p { font-size: 1.0625rem; }
  :where([data-layout="nordic"]) .story-copy .button { font-size: 1rem; }
  :where([data-layout="nordic"]) .area-inner { grid-template-columns: 1fr; gap: 24px; }
  :where([data-layout="nordic"]) .area { padding-block: 40px; }
  :where([data-layout="nordic"]) .area h2 { font-size: 2.25rem; }
  :where([data-layout="nordic"]) .faq summary { font-size: 1.0625rem; padding-block: 22px; }
  :where([data-layout="nordic"]) .faq details > p { font-size: 1.0625rem; }
  :where([data-layout="nordic"]) .closing { padding-block: 56px; }
  :where([data-layout="nordic"]) .closing-inner { display: block; }
  :where([data-layout="nordic"]) .closing h2 { font-size: 3.25rem; }
  :where([data-layout="nordic"]) .closing p:not(.eyebrow) { font-size: 1.0625rem; max-width: none; }
  :where([data-layout="nordic"]) .closing .button { margin-top: 28px; }
  :where([data-layout="nordic"]) .footer-top { display: grid; grid-template-columns: 1fr; gap: 24px; }
  :where([data-layout="nordic"]) .footer-top .brand-name { font-size: 1.75rem; }
  :where([data-layout="nordic"]) .footer-top > p,
  :where([data-layout="nordic"]) .footer-top nav { font-size: 1rem; }
  :where([data-layout="nordic"]) .footer-bottom { font-size: .875rem; }
}

@media (max-width: 380px) {
  :where([data-layout="nordic"]) .hero-actions { flex-direction: column; align-items: start; }
}
