/* ===== 3LC Devlabs · Soft Arctic =====
   Light, embossed surfaces. Solid navy for anything you click to act.
   Depth comes from paired shadows: a cool shadow bottom-right and a white highlight top-left. */
:root {
  --base: #E9EEF3;
  --raise: linear-gradient(145deg, #F3F7FA, #DFE5EC);
  --hi: #FFFFFF;
  --sh: #BAC4D0;
  --sh-deep: #AEB9C6;
  --line: #CDD6DF;

  --ink: #0D1B2A;
  --ink-2: #1C2F46;
  --slate: #4B5A6B;
  --cyan: #0A6F92;      /* links and accent text, 4.7:1 on the base */
  --glow: #38CFF2;      /* indicator lights, from the logo */

  --emb-sm: 4px 4px 10px var(--sh), -4px -4px 10px var(--hi);
  --emb: 8px 8px 20px var(--sh), -8px -8px 20px var(--hi);
  --emb-lg: 14px 14px 32px var(--sh), -14px -14px 32px var(--hi);
  --emb-lift: 16px 16px 34px var(--sh-deep), -12px -12px 30px var(--hi);

  --display: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1160px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); }
a:hover { color: #08587A; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }

.wrap { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
@media (max-width: 520px) { .wrap { width: calc(100% - 32px); } }

section[id] { scroll-margin-top: calc(var(--header-h) + 32px); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

.muted { color: var(--slate); }

/* ===== Surfaces ===== */
.plate {
  background: var(--raise);
  border-radius: 24px;
  box-shadow: var(--emb);
}
.plate-lg { border-radius: 32px; box-shadow: var(--emb-lg); }
.lift { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.lift:hover { transform: translateY(-4px); box-shadow: var(--emb-lift); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  font: 600 1rem/1 var(--body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); transition-duration: .08s; }

.btn-solid { background: var(--ink); color: #fff; box-shadow: 5px 5px 12px var(--sh-deep); }
.btn-solid:hover { background: var(--ink-2); color: #fff; transform: translateY(-2px); box-shadow: 8px 8px 18px var(--sh-deep); }
.btn-solid:active { box-shadow: 2px 2px 6px var(--sh-deep); }

.btn-emb { background: var(--raise); color: var(--ink); box-shadow: var(--emb-sm); }
.btn-emb:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 8px 8px 18px var(--sh-deep), -6px -6px 16px var(--hi); }
.btn-emb:active { box-shadow: 2px 2px 5px var(--sh), -2px -2px 5px var(--hi); }

.text-link {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ===== Header ===== */
/* Floating embossed bar with breathing room around it */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: 16px;
  pointer-events: none;   /* the gap around the bar doesn't block clicks */
}
.nav {
  pointer-events: auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 12px 0 20px;
  border-radius: 22px;
  background: var(--raise);
  box-shadow: var(--emb);
}
.nav > nav { margin-left: auto; }
@media (max-width: 520px) {
  .site-header { padding-top: 10px; }
  .nav { padding: 0 10px 0 14px; border-radius: 18px; }
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 34px; }
.brand-name { font: 700 1.2rem/1 var(--display); letter-spacing: -.01em; }

.nav-links {
  list-style: none; margin: 0 0 0 auto; padding: 0;
  display: flex; align-items: center; gap: 4px;
}
.nav-links a:not(.btn) {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--slate);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s ease, box-shadow .25s var(--ease), transform .25s var(--ease), background-color .2s ease;
}
.nav-links a:not(.btn):hover { color: var(--ink); transform: translateY(-1px); }
.nav-links a:not(.btn).active,
.nav-links a:not(.btn)[aria-current="page"] {
  color: var(--ink); font-weight: 600;
  background: var(--raise);
  box-shadow: var(--emb-sm);
}
.nav-cta { margin-left: 10px; }
.nav-cta .btn { min-height: 44px; padding: 12px 20px; font-size: .95rem; }

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 46px; height: 46px;
  border: 0; border-radius: 14px;
  background: var(--raise);
  box-shadow: var(--emb-sm);
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav > nav { margin-left: 0; }
  .nav-links {
    display: none;
    position: absolute; left: 16px; right: 16px; top: calc(var(--header-h) + 28px);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px;
    background: var(--raise);
    border-radius: 22px;
    box-shadow: var(--emb-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 14px 16px; font-size: 1.02rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* ===== Sections ===== */
.section { padding: clamp(72px, 9vw, 112px) 0; }
.section-head { max-width: 660px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2 { margin-bottom: .35em; }
.section-head p { color: var(--slate); font-size: 1.1rem; margin: 0; }
.kicker { color: var(--cyan); font-weight: 600; font-size: .95rem; margin: 0 0 14px; }

/* ===== Hero ===== */
.hero { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero h1 { max-width: 12ch; }
.lede { color: var(--slate); font-size: 1.2rem; max-width: 44ch; margin-bottom: 1.8em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin: 22px 0 0; font-size: .95rem; color: var(--slate); }

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

/* ===== Spec panel (hero signature) ===== */
.spec { padding: clamp(20px, 3vw, 28px); }
.spec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.spec-head h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 0; }
.spec-count { font-size: .9rem; color: var(--slate); margin: 0; }

.spec-body {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: start;
}
@media (max-width: 560px) { .spec-body { grid-template-columns: 1fr; } }

.switches { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.switch {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  min-height: 52px;
  padding: 12px 14px;
  border: 0; border-radius: 16px;
  background: var(--base);
  color: var(--slate);
  font: 500 .98rem/1.2 var(--body);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--line);
  transition: background-color .2s ease, color .2s ease, box-shadow .3s var(--ease), transform .25s var(--ease);
}
.switch:hover { color: var(--ink); transform: translateY(-1px); }
.switch:active { transform: translateY(1px); transition-duration: .08s; }
.switch[aria-checked="true"] {
  background: var(--raise);
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--emb-sm);
}
.led {
  flex: 0 0 auto;
  width: 10px; height: 10px; border-radius: 50%;
  background: #B4BFCB;
  box-shadow: inset 1px 1px 2px rgba(13, 27, 42, .25);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.switch[aria-checked="true"] .led {
  background: var(--glow);
  box-shadow: 0 0 0 3px rgba(56, 207, 242, .18), 0 0 12px 2px rgba(56, 207, 242, .65);
}
.switch .state { margin-left: auto; font-size: .82rem; font-weight: 500; color: var(--slate); }

/* The little website the switches build */
.mini {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 28px -16px rgba(13, 27, 42, .45), 0 0 0 1px var(--line);
}
.mini-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; background: #F4F7FA; border-bottom: 1px solid #E1E7ED; }
.mini-bar i { width: 7px; height: 7px; border-radius: 50%; background: #D3DBE3; }
.mini-page { padding: 12px; display: grid; gap: 10px; }
.mini-page span { display: block; }
.mini-top { display: flex; justify-content: space-between; align-items: center; }
.mini-logo { width: 48px; height: 8px; border-radius: 4px; background: var(--ink); }
.mini-btn { width: 40px; height: 14px; border-radius: 5px; background: var(--ink); }
.mini-hero { border-radius: 8px; background: linear-gradient(135deg, #DCEBF2, #EEF3F7); padding: 14px 12px; display: grid; gap: 6px; }
.bar { height: 7px; border-radius: 4px; background: #9AA8B6; }
.bar.dark { background: var(--ink); height: 9px; }
.w30 { width: 30%; } .w45 { width: 45%; } .w60 { width: 60%; } .w75 { width: 75%; } .w90 { width: 90%; }

.mini-block {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition: grid-template-rows .4s var(--ease), opacity .3s ease, margin .4s var(--ease);
}
.mini-block > div { overflow: hidden; min-height: 0; }
.mini-block.off { grid-template-rows: 0fr; opacity: 0; margin-top: -10px; }

.mini-card { border: 1px solid #E1E7ED; border-radius: 8px; padding: 9px 10px; display: grid; gap: 6px; }
.mini-label { font-size: .68rem; font-weight: 600; color: var(--slate); line-height: 1; }
.mini-field { height: 14px; border-radius: 4px; border: 1px solid #CFD8E0; }
.mini-row { display: flex; align-items: center; gap: 6px; }
.mini-row .dots { flex: 1; border-bottom: 1px dotted #B4BFCB; }
.mini-row b { font-size: .66rem; color: var(--ink); line-height: 1; }
.mini-map { height: 46px; border-radius: 6px; background:
  linear-gradient(90deg, transparent 48%, #fff 48% 52%, transparent 52%),
  linear-gradient(0deg, transparent 44%, #fff 44% 56%, transparent 56%),
  #D8E6D9; position: relative; }
.mini-map::after { content: ""; position: absolute; left: 58%; top: 22%; width: 10px; height: 10px; border-radius: 50% 50% 50% 0; background: #C2453E; transform: rotate(-45deg); }
.mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mini-gallery span { aspect-ratio: 1; border-radius: 5px; background: linear-gradient(135deg, #C9D9E6, #E8EEF3); }
.mini-gallery span:nth-child(2) { background: linear-gradient(135deg, #E6D7C9, #F3EDE6); }
.mini-gallery span:nth-child(3) { background: linear-gradient(135deg, #CFE3D6, #EAF3ED); }

.spec-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px;
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid var(--line);
}
.spec-foot p { margin: 0; font-size: .92rem; color: var(--slate); max-width: 30ch; }

/* ===== Work ===== */
.projects { display: grid; gap: clamp(56px, 7vw, 88px); }
.project {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.project-flip .project-frame { order: 2; }
@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; }
  .project-flip .project-frame { order: 0; }
}

.project-frame { padding: 14px; border-radius: 28px; }
.project-shot {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #DCE3EA;
  text-decoration: none;
  box-shadow: 0 0 0 1px var(--line);
}
.browser-bar {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 12px;
  background: #F7F9FB;
  border-bottom: 1px solid #E1E7ED;
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: #D3DBE3; }
.browser-bar span { margin-left: 8px; font-size: .8rem; color: var(--slate); }
.shot-fallback {
  position: absolute; inset: 32px 0 0 0;
  display: grid; place-items: center;
  font: 700 clamp(1.4rem, 3vw, 2rem)/1 var(--display);
  color: #A7B3BF;
}
.shot-slides { position: absolute; inset: 32px 0 0 0; overflow: hidden; }
.project-shot .shot-slides img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.03);
  transition: opacity .8s ease, transform 1.4s var(--ease);
}
.project-shot .shot-slides img.is-active,
.project-shot .shot-slides:not(.is-running) img:first-child { opacity: 1; transform: none; }
.shot-dots {
  position: absolute; left: 50%; bottom: 12px; z-index: 2;
  transform: translateX(-50%);
  display: flex; gap: 6px;
  padding: 6px 9px; border-radius: 999px;
  background: rgba(13, 27, 42, .55);
}
.shot-dots:empty { display: none; }
.shot-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background-color .3s ease, transform .3s ease; }
.shot-dots span.on { background: #fff; transform: scale(1.2); }

.project-type { color: var(--cyan); font-weight: 600; font-size: .95rem; margin: 0 0 8px; }
.project-info h3 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); margin-bottom: .5em; }
.project-info > p { color: var(--slate); }
.facts { display: grid; gap: 10px; margin: 22px 0 24px; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 14px; font-size: .95rem; }
.facts dt { color: var(--slate); }
.facts dd { margin: 0; font-weight: 500; }

/* ===== Sample sites (template cards; also used on /templates) ===== */
.tpl-home {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .tpl-home { grid-template-columns: 1fr; } }

.tpl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 44px); }
.tpl-home .tpl-grid { grid-template-columns: 1fr; }
@media (max-width: 760px) { .tpl-grid { grid-template-columns: 1fr; } }

.tpl-card { display: flex; flex-direction: column; min-width: 0; padding: 14px; border-radius: 28px; background: var(--raise); box-shadow: var(--emb); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.tpl-card:hover { transform: translateY(-4px); box-shadow: var(--emb-lift); }
.tpl-thumb { display: block; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--line); background: #fff; }
.tpl-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #E4EAEE; }
.tpl-frame iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.tpl-body { padding: 20px 10px 10px; }
.tpl-industry { color: var(--cyan); font-size: .92rem; font-weight: 600; margin: 0 0 6px; }
.tpl-body h3 { margin-bottom: .35em; }
.tpl-body > p:not(.tpl-industry) { color: var(--slate); max-width: 52ch; }
.tpl-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; }
.tpl-tags li { padding: 5px 12px; border-radius: 999px; font-size: .85rem; background: var(--raise); box-shadow: 3px 3px 7px var(--sh), -3px -3px 7px var(--hi); }
.tpl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

/* Gallery: a lone template gets a wide layout */
.gallery-grid > .tpl-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 760px) { .gallery-grid > .tpl-card:only-child { grid-template-columns: 1fr; gap: 0; } }

.tpl-soon-wrap { margin-top: clamp(56px, 7vw, 80px); }
.tpl-soon-wrap h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-bottom: 20px; }
.tpl-soon-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tpl-soon-list li { padding: 20px 22px; border-radius: 20px; border: 1.5px dashed var(--line); }
.tpl-soon-list strong { display: block; font: 600 1.15rem/1.2 var(--display); margin-bottom: 6px; }
.tpl-soon-list span { color: var(--slate); font-size: .95rem; }

/* ===== Services ===== */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.service { padding: 28px; }
.icon-well {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 18px;
  background: var(--raise);
  box-shadow: var(--emb-sm);
  color: var(--cyan);
}
.service p { color: var(--slate); margin: 0; }

/* ===== Process (a real sequence, so it's numbered) ===== */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  position: relative;
}
.steps::before {
  content: ""; position: absolute; left: 28px; right: 28px; top: 27px;
  height: 4px; border-radius: 4px;
  background: #DCE3EA;
  box-shadow: inset 1px 1px 2px var(--sh), inset -1px -1px 2px var(--hi);
}
.steps li { position: relative; }
.step-num {
  position: relative;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  margin-bottom: 18px;
  font: 700 1.2rem/1 var(--display);
  background: var(--raise);
  box-shadow: var(--emb-sm);
}
.steps h3 { font-size: 1.15rem; margin-bottom: .35em; }
.steps p { color: var(--slate); font-size: .98rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 4px; height: auto; }
  .steps li { display: grid; grid-template-columns: 58px 1fr; gap: 0 20px; }
  .step-num { grid-row: span 2; margin: 0; }
}

/* ===== Pricing ===== */
.pricing { padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.pricing h2 { margin-bottom: .5em; }
.pricing-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.pricing-points h3 { font-size: 1.1rem; }
.pricing-points p { color: var(--slate); margin: 0; font-size: .98rem; }
@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
  .pricing-points { grid-template-columns: 1fr; }
}

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.about-copy p { color: var(--slate); font-size: 1.08rem; max-width: 56ch; }
.record { margin: 0; padding: 10px 28px; }
.record div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.record div:last-child { border-bottom: 0; }
.record dt { font-size: .85rem; color: var(--slate); margin-bottom: 2px; }
.record dd { margin: 0; font-weight: 500; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ===== Contact ===== */
.contact { padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 5vw, 64px); }
.contact-copy p { color: var(--slate); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; }
.optional { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #B9C5D0;
  border-radius: 12px;
  padding: 13px 14px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(10, 111, 146, .2);
}
.hp { position: absolute; left: -9999px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { margin: 0; font-size: .95rem; }
.form-status.ok { color: #1F6E47; }
.form-status.err { color: #B23A33; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.site-footer { padding: 36px 0 44px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.footer-links a { color: var(--slate); text-decoration: none; font-size: .94rem; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { margin: 0; color: var(--slate); font-size: .9rem; }

/* ===== Home: links into the other pages ===== */
.explore { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.explore-card { display: flex; flex-direction: column; padding: 28px; color: var(--ink); text-decoration: none; }
.explore-card:hover { color: var(--ink); }
.explore-card h2 { font-size: 1.4rem; letter-spacing: -.01em; margin-bottom: .4em; }
.explore-card p { color: var(--slate); flex: 1; }
.explore-card .text-link { color: var(--cyan); align-self: flex-start; }
@media (max-width: 860px) { .explore { grid-template-columns: 1fr; } }

/* ===== Inner pages ===== */
.page-top { padding-top: clamp(56px, 8vw, 96px); }
.about-title, .contact-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16ch; }

/* ===== Gallery + preview pages ===== */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 4vw, 48px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); max-width: 16ch; }
.page-hero .lede { margin-bottom: 0; max-width: 58ch; }
.cta-plate { margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 4vw, 40px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-plate h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 .3em; }
.cta-plate p { color: var(--slate); margin: 0; max-width: 54ch; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .lift:hover, .tpl-card:hover, .btn:hover, .switch:hover { transform: none; }
}
