@import url('/assets/css/fonts.css');

:root {
  --ink: #07141d;
  --ink-2: #0c2230;
  --ink-3: #123245;
  --paper: #f4f3ed;
  --paper-2: #ecebe4;
  --white: #ffffff;
  --text: #26343c;
  --muted: #68767e;
  --line: #d6dcde;
  --accent: #dda72f;
  --accent-2: #f0c45f;
  --accent-dark: #906713;
  --teal: #2a7f85;
  --danger: #a51e1e;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow: 0 24px 70px rgba(3, 15, 23, .13);
  --shadow-soft: 0 18px 50px rgba(7, 20, 29, .08);
  --font-sans: "Manrope Local", "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  --font-display: "Newsreader Local", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--ink); }
.container { width: min(1220px, calc(100% - 48px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -70px;
  z-index: 9999;
  background: #fff;
  color: var(--ink);
  padding: 11px 15px;
  border-radius: 9px;
  box-shadow: var(--shadow-soft);
}
.skip-link:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(248, 248, 244, .93);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom: 1px solid rgba(7, 20, 29, .08);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 244px; height: auto; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 27px;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: .02em;
}
.nav-link {
  position: relative;
  padding: 31px 0 27px;
  color: #172731;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 19px;
  height: 2px;
  background: var(--accent);
  transition: left .2s ease, right .2s ease;
}
.nav-link:hover::after,
.nav-link.active::after { left: 0; right: 0; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: var(--ink);
  color: #fff;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(7, 20, 29, .14);
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { transform: translateY(-1px); background: var(--ink-2); }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(7, 20, 29, .11);
  border-radius: 13px;
  background: rgba(255,255,255,.8);
  padding: 10px;
}
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Typography */
h1, h2, h3, p { text-wrap: pretty; }
h2, h3 { color: var(--ink); }
.section-heading h2,
.split h2,
.two-col h2,
.contact-panel h2,
.form-card h2,
.statement blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.035em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--accent-2);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: .9;
}
.eyebrow.dark { color: var(--accent-dark); }

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--accent); color: #111b21; box-shadow: 0 13px 32px rgba(222, 167, 47, .24); }
.button.primary:hover { background: var(--accent-2); box-shadow: 0 15px 35px rgba(222, 167, 47, .32); }
.button.secondary { background: var(--ink); color: #fff; }
.button.light { background: #fff; color: var(--ink); }
.button.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.34); backdrop-filter: blur(8px); }
.button.ghost:hover { background: rgba(255,255,255,.14); }
.button.ghost-dark { color: var(--ink); border-color: rgba(7,20,29,.18); background: transparent; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}
.text-link span { color: var(--accent-dark); transition: transform .18s ease; }
.text-link:hover span { transform: translateX(3px); }

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  display: grid;
  align-content: start;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -160px 32%;
  height: 420px;
  z-index: 1;
  pointer-events: none;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  opacity: .72;
  transform: rotate(-2deg);
}
.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  z-index: -4;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 74% 20%, rgba(255,255,255,.07), transparent 25%),
    linear-gradient(90deg, rgba(3, 12, 18, .96) 0%, rgba(3, 12, 18, .84) 42%, rgba(3, 12, 18, .35) 72%, rgba(3, 12, 18, .45) 100%);
}
.hero-gridline {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .11;
  background-image:
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 38%, transparent 78%);
  mask-image: linear-gradient(to right, #000 0, #000 38%, transparent 78%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 122px;
  padding-bottom: 170px;
}
.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 91px;
  width: 72px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(221,167,47,0));
}
.hero-content h1,
.page-hero h1 {
  max-width: 960px;
  margin: .14em 0 .34em;
  font-family: var(--font-display);
  font-size: clamp(60px, 7.5vw, 105px);
  font-weight: 590;
  line-height: .93;
  letter-spacing: -.052em;
  color: #fff;
}
.hero-content h1 span { color: var(--accent-2); }
.hero-lead {
  max-width: 720px;
  margin: 0;
  color: #d9e3e7;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1220px, calc(100% - 48px));
  background: rgba(8, 25, 35, .86);
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
  border-radius: 20px 20px 0 0;
  backdrop-filter: blur(18px);
  overflow: hidden;
}
.hero-stats div { padding: 23px 27px; border-right: 1px solid rgba(255,255,255,.1); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats strong { display: block; color: #fff; font-size: 22px; line-height: 1.1; letter-spacing: -.02em; }
.hero-stats span { display: block; margin-top: 6px; color: #9eb0b9; font-size: 12px; line-height: 1.35; }

/* Shared sections */
.section { position: relative; padding: 106px 0; }
.section.soft { background: #ecebe4; }
.section.intro {
  overflow: hidden;
  background:
    url('/assets/graphics/contours.svg') right 10% center/760px auto no-repeat,
    var(--paper);
}
.section.intro::before {
  content: "";
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 88px;
  background: linear-gradient(var(--accent), transparent);
}
.split {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  align-items: center;
  gap: 78px;
}
.split h2,
.two-col h2 {
  margin: .08em 0 .36em;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
}
.split p { max-width: 650px; }
.media-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.media-frame::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 24px -24px -24px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(7,20,29,.14);
}
.media-frame::after {
  content: "FELTARBEID";
  position: absolute;
  z-index: 3;
  left: -22px;
  bottom: 36px;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.section-heading { display: flex; flex-direction: column; align-items: flex-start; }
.section-heading h2 {
  max-width: 820px;
  margin: .08em 0 0;
  font-size: clamp(43px, 5.6vw, 72px);
  line-height: 1;
}

/* Dark service section */
.dark-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(40,119,126,.2), transparent 28%),
    linear-gradient(135deg, #06131c 0%, #0b2230 100%);
  color: #c8d4da;
}
.dark-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px);
  background-size: 84px 84px;
  -webkit-mask-image: radial-gradient(circle at 82% 30%, #000, transparent 58%);
  mask-image: radial-gradient(circle at 82% 30%, #000, transparent 58%);
}
.dark-section > .container { position: relative; z-index: 2; }
.dark-section .section-heading h2 { color: #fff; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: linear-gradient(180deg, rgba(17,47,64,.98), rgba(9,31,43,.98));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(0,0,0,.16);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(240,196,95,.3); box-shadow: 0 28px 70px rgba(0,0,0,.24); }
.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent 80%);
}
.feature-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.feature-card > div { position: relative; padding: 27px 28px 31px; }
.feature-card .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240,196,95,.32);
  border-radius: 50%;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 900;
}
.feature-card h3 { margin: 15px 0 12px; color: #fff; font-size: 23px; line-height: 1.2; letter-spacing: -.025em; }
.feature-card p { color: #b7c6cd; font-size: 15px; }
.feature-card a { display: inline-flex; margin-top: 7px; color: var(--accent-2); font-size: 13px; font-weight: 800; }

/* Quote / statement */
.statement {
  overflow: hidden;
  text-align: center;
  background: #f7f6f1;
}
.statement::before,
.statement::after {
  content: "";
  position: absolute;
  width: 290px;
  height: 290px;
  border: 1px solid rgba(7,20,29,.08);
  border-radius: 50%;
}
.statement::before { left: -130px; top: -110px; }
.statement::after { right: -110px; bottom: -160px; }
.statement .container { position: relative; z-index: 1; }
.statement blockquote {
  max-width: 970px;
  margin: 0 auto 34px;
  color: var(--ink);
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.03;
  quotes: none;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #fff;
  background: linear-gradient(115deg, #765306 0%, #c89527 58%, #e0b54e 100%);
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: -60px -80px -100px auto;
  width: 720px;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  filter: brightness(3);
  opacity: .3;
}
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { margin: 0; color: #fff; font-size: clamp(38px, 5vw, 62px); line-height: 1; }

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 112px 0 96px;
  color: #fff;
  background:
    radial-gradient(circle at 83% 22%, rgba(42,127,133,.22), transparent 25%),
    linear-gradient(135deg, #06131c 0%, #0d2636 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.065) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 40%, transparent 90%);
  mask-image: linear-gradient(90deg, #000 0, #000 40%, transparent 90%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -160px;
  width: 700px;
  height: 420px;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  opacity: .45;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 980px; font-size: clamp(56px, 7.2vw, 92px); }
.page-hero p:not(.eyebrow) { max-width: 740px; color: #c9d5da; font-size: clamp(18px, 2vw, 21px); }
.photo-hero { min-height: 590px; display: flex; align-items: flex-end; }
.photo-hero > img { position: absolute; inset: 0; z-index: -4; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero-shade { position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(3,13,20,.95), rgba(3,13,20,.58) 54%, rgba(3,13,20,.2)); }

/* Service page */
.service-list { display: grid; gap: 0; }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 430px) 1fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 112px;
}
.service-row::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  width: 5px;
  height: 0;
  border-radius: 5px;
  background: var(--accent);
  transition: height .25s ease, top .25s ease;
}
.service-row:hover::before { top: 25%; height: 50%; }
.service-img { overflow: hidden; border-radius: 18px; box-shadow: var(--shadow-soft); }
.service-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.service-row:hover .service-img img { transform: scale(1.025); }
.service-copy h2 {
  margin: .08em 0 .34em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.service-no { color: var(--accent-dark); font-size: 11px; font-weight: 900; letter-spacing: .18em; }

/* Products */
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.product-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7,20,29,.07);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  transition: transform .24s ease, box-shadow .24s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card.large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.03fr .97fr; }
.product-card img { width: 100%; height: 330px; object-fit: cover; }
.product-card.large img { height: 100%; min-height: 450px; }
.product-card > div { padding: 36px; }
.product-card h2,
.reference-card h2 {
  margin: .08em 0 .4em;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.035em;
}

/* Two column shared */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.button-stack { display: flex; align-items: flex-start; gap: 12px; flex-wrap: wrap; }

/* References */
.reference-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.reference-card {
  position: relative;
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 28px;
  align-items: center;
  padding: 29px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(7,20,29,.09);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(7,20,29,.045);
  transition: transform .22s ease, box-shadow .22s ease;
}
.reference-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width .25s ease;
}
.reference-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.reference-card:hover::after { width: 100%; }
.ref-logo {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #edf0f1;
  border-radius: 13px;
}
.ref-logo img { width: 100%; max-height: 88px; object-fit: contain; }
.reference-card h2 { font-size: 29px; }

.check-list { list-style: none; padding: 0; margin: 25px 0; }
.check-list li { position: relative; padding: 9px 0 9px 32px; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 9px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(221,167,47,.16);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
}

/* People */
.people-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.person-card {
  position: relative;
  overflow: hidden;
  padding: 36px;
  background: linear-gradient(145deg, #0d2635, #091b27);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
}
.person-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 250px;
  height: 180px;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  opacity: .25;
}
.person-card > span { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #111; font-weight: 900; }
.person-card h3 { margin: 18px 0 4px; color: #fff; font-size: 27px; }
.person-card .role { color: var(--accent-2); font-weight: 700; }
.person-card a { position: relative; z-index: 2; display: block; color: #fff; font-weight: 700; }

/* Gallery */
.gallery-grid { columns: 3 300px; column-gap: 18px; }
.gallery-item { break-inside: avoid; margin: 0 0 18px; overflow: hidden; background: #fff; border-radius: 15px; box-shadow: 0 10px 27px rgba(7,20,29,.08); }
.gallery-item img { width: 100%; height: auto; transition: transform .45s ease; }
.gallery-item:hover img { transform: scale(1.018); }
.gallery-item figcaption { padding: 12px 15px; color: #5f6b72; font-size: 13px; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 50px; align-items: start; }
.contact-panel {
  position: sticky;
  top: 112px;
  overflow: hidden;
  padding: 44px;
  color: #d4dde1;
  background: linear-gradient(145deg, #06151f, #0c2a3a);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
}
.contact-panel::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -100px;
  width: 420px;
  height: 300px;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  opacity: .35;
}
.contact-panel > * { position: relative; z-index: 2; }
.contact-panel h2 { margin: .1em 0 .45em; color: #fff; font-size: 44px; line-height: 1; }
.contact-person { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact-person h3 { margin: 0 0 8px; color: #fff; }
.contact-person a { display: block; color: var(--accent-2); font-weight: 700; }
.small-note { color: #a9b5bb; font-size: 13px; }
.small-note a { text-decoration: underline; }
.form-card {
  padding: 46px;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(7,20,29,.06);
  border-radius: 24px;
  box-shadow: var(--shadow);
  scroll-margin-top: 112px;
}
.form-card h2 { margin-top: 0; font-size: 50px; line-height: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 13px; font-weight: 800; }
input, textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
  background: #fff;
  border: 1px solid #bac4c9;
  border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
input:hover, textarea:hover { border-color: #96a4ab; }
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus, .consent input:focus-visible { border-color: #7f5c0d; box-shadow: 0 0 0 4px rgba(221,167,47,.2); }
.field-error { min-height: 18px; margin: 4px 0 0; color: var(--danger); font-size: 13px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; margin: 10px 0 4px; }
.consent input { width: 18px; height: 18px; margin-top: 4px; }
.consent label { font-size: 14px; }
.consent a { font-weight: 700; text-decoration: underline; }
.hp-field { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.turnstile-wrap { margin: 21px 0; min-height: 66px; }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { margin-top: 16px; padding: 0; font-weight: 700; }
.form-status.success, .form-status.error { padding: 12px 14px; border-radius: 10px; }
.form-status.success { background: #e8f5ec; color: #165f2c; }
.form-status.error { background: #fff0f0; color: #8d1b1b; }

/* Legal */
.legal { max-width: 860px; }
.legal h2 { margin: 1.45em 0 .35em; color: var(--ink); font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -.025em; }
.legal a { font-weight: 700; text-decoration: underline; }
.note { padding: 19px 21px; background: #e8e9e3; border-left: 4px solid var(--accent); border-radius: 0 10px 10px 0; }

/* Footer */
.site-footer { position: relative; overflow: hidden; padding: 76px 0 24px; color: #aebbc2; background: #030c12; }
.site-footer::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 350px;
  background: url('/assets/graphics/network-line.svg') center/contain no-repeat;
  opacity: .14;
}
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 52px; }
.footer-logo { width: 250px; filter: invert(1); opacity: .94; }
.site-footer h2 { color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.site-footer a { transition: color .16s ease; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 21px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }
.footer-credit { color: #dfe7ea; font-weight: 750; text-decoration: underline; text-decoration-color: rgba(221,167,47,.48); text-underline-offset: 3px; }
.footer-credit:hover { color: var(--accent-2) !important; text-decoration-color: currentColor; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* 404 */
.error-page { min-height: 100vh; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 72% 25%, #123246, #06131c 48%, #030b10); }
.error-page main { position: relative; width: min(920px, calc(100% - 40px)); }
.error-card { position: relative; z-index: 2; padding: 62px; background: rgba(255,255,255,.98); border-radius: 26px; box-shadow: 0 35px 90px rgba(0,0,0,.28); }
.error-card img { width: 270px; }
.error-code { margin-top: 44px; color: var(--accent-dark); font-size: 13px; font-weight: 900; letter-spacing: .25em; }
.error-card h1 { margin: .1em 0; color: var(--ink); font-family: var(--font-display); font-size: clamp(50px, 7vw, 82px); font-weight: 600; line-height: .96; letter-spacing: -.045em; }
.error-card > p:not(.error-code) { font-size: 22px; }
.error-visual span { position: absolute; z-index: 1; left: -5%; width: 110%; height: 2px; background: var(--accent); box-shadow: 0 0 18px rgba(221,167,47,.45); }
.error-visual span:nth-child(1) { top: 18%; transform: rotate(-6deg); }
.error-visual span:nth-child(2) { top: 45%; transform: rotate(4deg); }
.error-visual span:nth-child(3) { top: 72%; transform: rotate(-3deg); }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid rgba(221,167,47,.85); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1000px) {
  .container { width: min(100% - 40px, 1220px); }
  .header-inner { min-height: 74px; }
  .brand img { width: 214px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px;
    background: rgba(255,255,255,.985);
    border: 1px solid rgba(7,20,29,.08);
    border-radius: 18px;
    box-shadow: 0 25px 65px rgba(7,20,29,.16);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 14px 7px; border-bottom: 1px solid #e8ecee; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 12px; text-align: center; }

  .hero { min-height: 770px; }
  .hero::after { right: -35%; opacity: .46; }
  .hero-content { padding-top: 104px; padding-bottom: 150px; }
  .hero-content::before { top: 80px; }
  .hero-content h1 { font-size: clamp(54px, 12vw, 78px); max-width: 780px; }
  .hero-shade { background: rgba(3,13,20,.75); }
  .hero-gridline { opacity: .08; }
  .hero-stats { grid-template-columns: 1fr; width: min(100% - 40px, 1220px); }
  .hero-stats div { display: none; border: 0; }
  .hero-stats div:first-child { display: block; }

  .section { padding: 82px 0; }
  .split, .two-col, .contact-layout { grid-template-columns: 1fr; gap: 46px; }
  .media-frame { max-width: 760px; }
  .media-frame::before { inset: 18px -16px -18px 16px; }
  .feature-grid, .people-grid, .reference-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: minmax(250px, .72fr) 1fr; }
  .feature-card img { height: 100%; aspect-ratio: auto; min-height: 310px; }
  .service-row { grid-template-columns: minmax(280px, .72fr) 1fr; gap: 38px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card.large { grid-column: auto; }
  .contact-panel { position: static; }
  .footer-grid { grid-template-columns: 1.25fr 1fr 1fr; gap: 34px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 90px 0 76px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1220px); }
  body { font-size: 16px; }
  .header-inner { min-height: 70px; }
  .brand img { width: 185px; }
  .main-nav { top: 78px; left: 10px; right: 10px; }

  .hero { min-height: 715px; }
  .hero-media { object-position: 63% 50%; }
  .hero-content { padding-top: 92px; padding-bottom: 142px; }
  .hero-content::before { top: 70px; width: 50px; }
  .hero-content h1 { font-size: clamp(48px, 14.5vw, 63px); line-height: .96; }
  .hero-lead { max-width: 590px; font-size: 17px; }
  .hero-actions { margin-top: 27px; }
  .hero-actions .button { width: 100%; }
  .hero-stats { width: calc(100% - 28px); border-radius: 16px 16px 0 0; }
  .hero-stats div { padding: 20px; }

  .section { padding: 66px 0; }
  .section.intro { background-size: 560px auto; background-position: right -260px top 140px; }
  .split, .two-col, .contact-layout { gap: 36px; }
  .split h2, .two-col h2, .section-heading h2 { font-size: clamp(39px, 12vw, 52px); }
  .media-frame::before { inset: 12px -8px -12px 8px; }
  .media-frame::after { left: -7px; bottom: 22px; }
  .media-frame img { border-radius: 22px; }

  .feature-grid { gap: 16px; }
  .feature-card { display: block; }
  .feature-card img { min-height: 0; aspect-ratio: 16 / 10; }
  .statement blockquote { font-size: clamp(36px, 11.5vw, 50px); }

  .page-hero { padding: 76px 0 64px; }
  .page-hero h1 { font-size: clamp(47px, 13.5vw, 65px); }
  .page-hero p:not(.eyebrow) { font-size: 17px; }
  .photo-hero { min-height: 500px; }
  .page-hero-shade { background: rgba(3,13,20,.67); }

  .service-row { grid-template-columns: 1fr; gap: 23px; padding: 30px 0; }
  .service-row::before { display: none; }
  .service-img img { aspect-ratio: 16 / 9; }
  .service-copy h2 { font-size: 38px; }

  .product-card.large { display: block; }
  .product-card.large img, .product-card img { height: 290px; min-height: 0; }
  .product-card > div { padding: 27px; }

  .reference-card { grid-template-columns: 1fr; gap: 19px; }
  .ref-logo { width: 160px; }
  .people-grid { gap: 16px; }

  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .contact-panel { padding: 28px; border-radius: 19px; }
  .form-card h2 { font-size: 41px; }
  .contact-panel h2 { font-size: 38px; }
  .turnstile-wrap { overflow-x: auto; }

  .gallery-grid { columns: 2 150px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .cta-band { padding: 62px 0; }

  .error-card { padding: 38px 27px; }
  .error-card h1 { font-size: 48px; }
  .error-card > p:not(.error-code) { font-size: 18px; }
}

@media (max-width: 430px) {
  .gallery-grid { columns: 1; }
  .product-card img, .product-card.large img { height: 240px; }
  .feature-card img { aspect-ratio: 4 / 3; }
}

.site-header.is-scrolled { box-shadow: 0 10px 32px rgba(7,20,29,.07); }
@media (max-width: 1000px) { body.menu-open { overflow: hidden; } }
