/*
Theme Name: Scandin Germany
Theme URI: https://scandin-germany.de/
Author: Scandin Germany UG (haftungsbeschränkt)
Description: Eigenständiges, schlankes Corporate Theme für den spezialisierten Glasfaserausbau. Ohne Pagebuilder und ohne externe Schrift- oder Trackingdienste.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: scandin-germany
*/

@font-face {
  font-family: "Barlow Condensed";
  src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple: #72397f;
  --orange: #ff8819;
  --graphite: #2b2b2b;
  --deep: #17181a;
  --panel: #202124;
  --mid: #737373;
  --light: #f4f4f4;
  --white: #fff;
  --line: rgba(255, 255, 255, 0.12);
  --content: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--deep);
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.admin-bar .site-header {
  top: 32px;
}

.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  width: 250px;
  max-height: 64px;
  object-fit: contain;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  padding: 0 clamp(24px, 4.4vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(23, 24, 26, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  height: 70px;
  width: 290px;
}

.brand img {
  width: 250px;
  max-height: 64px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.3vw, 56px);
  height: 92px;
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  font-weight: 600;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 18px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after {
  right: 0;
}

.menu-toggle {
  display: none;
}

.hero {
  height: clamp(680px, calc(100vh - 212px), 820px);
  min-height: 0;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  overflow: hidden;
  background:
    radial-gradient(circle at 47% 62%, rgba(114, 57, 127, 0.17), transparent 28%),
    linear-gradient(120deg, #1b1c1f, #242529);
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: clamp(70px, 8vh, 110px) clamp(36px, 5vw, 80px);
  max-width: 790px;
  animation: reveal-up 600ms ease both;
}

.eyebrow {
  margin: 0 0 26px;
  color: #ae72ba;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--purple);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
}

.hero h1 {
  max-width: 670px;
  margin-bottom: 28px;
  font-size: clamp(62px, 5.9vw, 94px);
  line-height: 0.91;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.button {
  min-height: 58px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button span {
  font-size: 22px;
  transition: transform 180ms ease;
}

.button:hover span,
.button:focus-visible span {
  transform: translateX(4px);
}

.button-primary {
  background: var(--orange);
  color: #1b1b1b;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #ff982f;
}

.button-secondary {
  border-color: rgba(174, 114, 186, 0.8);
  background: rgba(25, 25, 27, 0.52);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #ae72ba;
  background: rgba(114, 57, 127, 0.2);
}

.button:focus-visible,
.site-nav a:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.hero-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  animation: image-in 750ms ease both;
}

.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(114, 57, 127, 0.38), transparent 22%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 52%;
}

.hero-image-label {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 60px);
  bottom: 34px;
  padding: 16px 18px;
  background: rgba(23, 24, 26, 0.88);
  border-left: 3px solid var(--orange);
  backdrop-filter: blur(10px);
}

.hero-image-label span,
.hero-image-label strong {
  display: block;
}

.hero-image-label span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-image-label strong {
  font-size: 14px;
}

.hero-grid {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42%;
  height: 34%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(114, 57, 127, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(114, 57, 127, 0.5) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to right top, #000, transparent 70%);
}

.capability-rail {
  position: relative;
  z-index: 5;
  background: #1c1d1f;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.rail-inner {
  max-width: 1500px;
  min-height: 120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4.4vw, 72px);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.rail-item {
  position: relative;
  min-width: 0;
  padding: 24px 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 650;
}

.rail-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 10px;
  width: 4px;
  height: 4px;
  background: var(--orange);
}

.rail-item svg {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: #a669b3;
}

.section {
  padding: clamp(86px, 9vw, 144px) clamp(24px, 5vw, 80px);
}

.section > * {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.section-light {
  background: var(--light);
  color: var(--graphite);
}

.section h2,
.project-statement h2,
.cta-section h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: clamp(60px, 9vw, 150px);
}

.intro > * {
  margin: 0;
}

.intro-copy {
  padding-top: 41px;
  color: #5b5b5b;
  font-size: 16px;
  line-height: 1.8;
}

.intro-copy .large-copy {
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.55;
  font-weight: 650;
}

.services-section {
  background: #202124;
}

.section-heading {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr;
  align-items: end;
  gap: 80px;
}

.section-heading > p {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 315px;
  padding: 38px 34px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.service-card:hover {
  background: rgba(114, 57, 127, 0.13);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  color: #a669b3;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-code {
  position: absolute;
  right: 30px;
  top: 33px;
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 16px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 27px;
  line-height: 1.05;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.7;
}

.text-link {
  width: fit-content;
  margin-top: 36px;
  display: flex;
  gap: 14px;
  color: var(--orange);
  font-weight: 700;
}

.project-band {
  min-height: 720px;
  display: grid;
  grid-template-columns: 0.72fr 1fr 0.72fr;
  background: var(--deep);
}

.project-photo {
  position: relative;
  overflow: hidden;
}

.project-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.72));
}

.project-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-photo span {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.project-statement {
  padding: 90px clamp(42px, 5vw, 86px);
  align-self: center;
}

.project-statement p:not(.eyebrow) {
  margin: 28px 0 38px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.promise-title {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 70px;
  align-items: start;
}

.promise-title .eyebrow {
  padding-top: 14px;
}

.promise-grid {
  margin-top: 90px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #d5d5d5;
}

.promise-grid article {
  padding: 36px 38px 12px 0;
}

.promise-grid article:not(:last-child) {
  border-right: 1px solid #d5d5d5;
  margin-right: 36px;
}

.promise-grid span {
  color: var(--purple);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
}

.promise-grid h3 {
  margin: 32px 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
}

.promise-grid p {
  color: #686868;
  line-height: 1.7;
}

.cta-section {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(80px, 8vw, 120px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 0.55fr auto;
  gap: 60px;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(114, 57, 127, 0.16), transparent 50%),
    var(--deep);
}

.cta-section > p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.site-footer {
  padding: 70px clamp(24px, 5vw, 80px) 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 0.65fr);
  gap: 60px;
  background: #101113;
  border-top: 1px solid var(--line);
}

.footer-brand img {
  width: 240px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.7;
}

.site-footer h3 {
  margin-bottom: 20px;
  color: #ae72ba;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer > div:not(.footer-bottom) > a {
  margin-bottom: 12px;
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--orange);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: rgba(255, 255, 255, 0.38);
  border-top: 1px solid var(--line);
  font-size: 12px;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes image-in {
  from {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 0.85fr;
  }

  .rail-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .rail-item:nth-child(3n)::after {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-band {
    grid-template-columns: 0.7fr 1fr;
  }

  .project-photo:last-child {
    display: none;
  }

  .cta-section {
    grid-template-columns: 1fr 0.65fr;
  }

  .cta-section .button {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 76px;
  }

  .brand {
    width: 210px;
    height: 58px;
  }

  .brand img {
    width: 200px;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    padding: 11px;
    display: grid;
    align-content: center;
    gap: 6px;
    color: var(--white);
    border: 1px solid var(--line);
    background: transparent;
  }

  .menu-toggle span {
    height: 2px;
    background: currentColor;
  }

  .site-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    height: auto;
    padding: 18px 24px 28px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #17181a;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    min-height: 52px;
    justify-content: start;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-top: 74px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(56px, 14vw, 78px);
  }

  .hero-image {
    height: 520px;
    clip-path: none;
  }

  .hero-image img {
    object-position: center 48%;
  }

  .rail-inner {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .rail-item::after {
    display: none;
  }

  .intro,
  .section-heading,
  .promise-title,
  .cta-section {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .project-band {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .project-photo {
    height: 480px;
  }

  .project-statement {
    padding: 80px 28px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid article:not(:last-child) {
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid #d5d5d5;
  }

  .cta-section .button {
    grid-column: auto;
    width: fit-content;
  }

  .site-footer {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 16px;
  }

  .brand {
    width: 190px;
  }

  .brand img {
    width: 180px;
  }

  .hero-copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-image {
    height: 390px;
  }

  .rail-inner,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .rail-item {
    border-bottom: 1px solid var(--line);
  }

  .service-card {
    min-height: 275px;
  }

  .section h2,
  .project-statement h2,
  .cta-section h2 {
    font-size: 48px;
  }

  .project-photo {
    height: 390px;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.page-hero {
  min-height: 590px;
  padding: clamp(88px, 9vw, 140px) clamp(24px, 5vw, 80px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 70% 50%, rgba(114, 57, 127, 0.18), transparent 32%),
    linear-gradient(120deg, #1a1b1e, #242529);
}

.page-hero.has-image {
  padding: 0;
  grid-template-columns: 1.05fr 0.95fr;
}

.page-hero-copy {
  max-width: 800px;
}

.page-hero.has-image .page-hero-copy {
  padding: clamp(88px, 9vw, 140px) clamp(24px, 5vw, 80px);
}

.page-hero h1 {
  margin-bottom: 28px;
  font-size: clamp(62px, 6.2vw, 96px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.page-hero-copy > p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 19px;
  line-height: 1.75;
}

.page-hero-image {
  height: 100%;
  min-height: 590px;
  overflow: hidden;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-detail {
  background: #202124;
}

.detail-flow {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(60px, 10vw, 160px);
}

.detail-flow > * {
  margin: 0;
}

.flow-intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.flow-steps article {
  padding: 42px 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 30px;
  border-top: 1px solid #d5d5d5;
}

.flow-icon {
  color: var(--purple);
}

.flow-icon svg {
  width: 64px;
  height: 64px;
}

.flow-steps span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.flow-steps h3,
.process-list h3,
.value-grid h3 {
  margin: 9px 0 13px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 32px;
}

.flow-steps p,
.process-list p,
.company-intro > div:last-child,
.value-grid p {
  color: #666;
  line-height: 1.75;
}

.process-head {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 70px;
}

.process-head .eyebrow {
  padding-top: 14px;
}

.process-list {
  margin-top: 86px;
}

.process-list article {
  padding: 34px 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  border-top: 1px solid #d5d5d5;
}

.process-list article > span {
  color: var(--purple);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
}

.process-list p {
  max-width: 740px;
  margin-bottom: 0;
}

.gallery-section {
  min-height: 740px;
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.7fr;
  background: #1c1d1f;
}

.gallery-section figure {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.gallery-section figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section figcaption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 9px 12px;
  color: var(--white);
  background: rgba(23, 24, 26, 0.84);
  border-left: 2px solid var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.gallery-copy {
  padding: 90px clamp(38px, 5vw, 80px);
  align-self: center;
}

.gallery-copy h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(48px, 4.5vw, 72px);
  line-height: 0.98;
}

.gallery-copy > p:last-child {
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
}

.company-intro {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(60px, 10vw, 160px);
}

.company-intro > * {
  margin: 0;
}

.company-intro .large-copy {
  color: var(--graphite);
  font-size: 22px;
  font-weight: 650;
  line-height: 1.55;
}

.values {
  background: #202124;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.value-grid article {
  min-height: 280px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-grid span {
  color: var(--orange);
  font-family: "Barlow Condensed", sans-serif;
}

.value-grid h3 {
  margin-top: 72px;
}

.value-grid p {
  color: rgba(255, 255, 255, 0.56);
}

.contact-section {
  padding: clamp(86px, 9vw, 140px) clamp(24px, 5vw, 80px);
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: clamp(60px, 9vw, 140px);
  background: var(--light);
  color: var(--graphite);
}

.contact-copy h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(48px, 4.7vw, 72px);
  line-height: 0.98;
}

.contact-copy > p:not(.eyebrow) {
  color: #666;
  line-height: 1.75;
}

.contact-facts {
  margin-top: 48px;
  border-top: 1px solid #d2d2d2;
}

.contact-facts > div {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 25px;
  border-bottom: 1px solid #d2d2d2;
}

.contact-facts span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-panel {
  position: relative;
  min-height: 520px;
  padding: clamp(28px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(114, 57, 127, 0.48), transparent 42%),
    linear-gradient(145deg, #242529, #17181a 72%);
  color: var(--white);
  box-shadow: 0 28px 80px rgba(38, 30, 42, 0.18);
}

.contact-panel::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.contact-panel-index {
  position: absolute;
  top: 28px;
  right: 32px;
  color: var(--orange);
  font: 700 16px/1 "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
}

.contact-panel h2 {
  max-width: 520px;
  margin: 22px 0 20px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(50px, 5vw, 78px);
  line-height: 0.96;
}

.contact-panel > p:not(.eyebrow):not(.contact-note) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.7;
}

.contact-actions {
  position: relative;
  z-index: 1;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.contact-action {
  padding: 23px 4px;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: color 180ms ease, padding 180ms ease;
}

.contact-action:hover {
  padding-left: 10px;
  color: var(--orange);
}

.contact-action span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-action strong {
  overflow-wrap: anywhere;
  font-size: clamp(15px, 1.5vw, 20px);
}

.contact-action b {
  font-size: 24px;
  font-weight: 400;
}

.contact-action-pending {
  color: rgba(255, 255, 255, 0.42);
}

.contact-note {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
  line-height: 1.6;
}

.legal-section {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(80px, 9vw, 140px) 24px;
  color: var(--graphite);
  background: var(--light);
}

.legal-section::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--light);
}

.legal-section h2 {
  margin: 48px 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
}

.legal-section p {
  color: #5c5c5c;
  line-height: 1.8;
}

.legal-note {
  padding: 22px 24px;
  border-left: 4px solid var(--orange);
  background: #fff4e8;
}

@media (max-width: 980px) {
  .page-hero.has-image,
  .detail-flow,
  .company-intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .page-hero-image {
    min-height: 480px;
    clip-path: none;
  }

  .flow-intro {
    position: static;
  }

  .gallery-section {
    grid-template-columns: 0.8fr 1fr;
  }

  .gallery-section figure:last-child {
    display: none;
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-hero {
    min-height: auto;
  }

  .page-hero h1 {
    font-size: 56px;
  }

  .page-hero-image {
    min-height: 390px;
  }

  .process-head,
  .process-list article,
  .flow-steps article,
  .gallery-section,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .process-list article,
  .flow-steps article {
    gap: 18px;
  }

  .gallery-section figure {
    min-height: 430px;
  }

  .contact-facts > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
