/* ==========================================================================
   VEØY / Tangvik Transport — Hjem
   Design: Figma "Veøy-Nettside" (node 83:2514)
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */
/* Clash Display = headings (Fontshare). Inter + Montserrat = Google Fonts.
   Imported via <link> in HTML for better control + CSP. */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  --navy:        #032543;
  --navy-2:      #0a3a5c;
  --orange:      #ec6c04;
  --orange-2:    #db6d15;
  --orange-bright:#ffae6c;
  --orange-link: #ff8624;
  --blue-grey:   #7491aa;

  --text-grey:   #757575;
  --text-muted:  #5b5b5b;
  --contact:     #436472;

  --bg-page:     #ffffff;
  --bg-light:    #f5f5f5;
  --bg-light-2:  #f4f4f4;
  --card-grey:   #d9d9d9;
  --footer-bg:   #e7e7e7;
  --divider:     #b9b9b9;

  --radius:      27px;
  --radius-card: 28px;
  --maxw:        1788px;
  --gutter:      66px;

  --font-head: "Clash Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-alt:  "Montserrat", "Inter", system-ui, sans-serif;

  --shadow-card: 0 18px 40px rgba(3, 37, 67, 0.08);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg-page); }
body {
  overflow-x: hidden;
  margin: 0;
  font-family: var(--font-body);
  color: #111;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  display: inline-block;
  -webkit-font-feature-settings: 'liga';
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
  /* Avoid a flash of the raw ligature text (e.g. "menu") before the icon
     font has downloaded; JS flips html.fonts-loaded once it's ready. */
  opacity: 0;
  transition: opacity .15s ease;
}
html.fonts-loaded .material-symbols-rounded {
  opacity: 1;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout primitives -------------------------------------------------- */
.page {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}
.section {
  width: 100%;
  max-width: var(--maxw);
  border-radius: var(--radius);
  position: relative;
}
.section-pad { padding: 76px 121px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 9px 24px;
  border-radius: 38px;
  white-space: nowrap;
}
.eyebrow.is-orange { 
  background: var(--orange); 
  width: fit-content; /* prevent full-width on mobile when text wraps to multiple lines */
}

.h-display {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.0;
  color: #000;
}
.h-display .accent { color: var(--orange); }
.lead {
  font-size: 18px;
  line-height: 1.18;
  color: var(--text-grey);
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 6px 6px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-pill .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
}
.btn-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.btn-pill.light { background: #fff; color: var(--orange); }
.btn-pill.light .ico { background: var(--orange); color: #fff; }
.btn-pill.orange { background: var(--orange); color: #fff; }
.btn-pill.orange .ico { background: #fff; color: var(--orange); }

/* ==========================================================================
   HERO + NAV
   ========================================================================== */
.hero-wrap {
  position: relative;
  width: 100%;
}
.hero {
  height: 817px;
  max-height: 90vh;
  min-height: 640px;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  /* Break out of .section max-width so the hero fills the full page container.
     On screens wider than 1920px the page itself caps the size. */
  align-self: flex-start;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(89deg, rgba(2,20,42,.92) 0%, rgba(2,20,42,.1) 80%);
  z-index: 1;
}

/* Nav — fixed glass pill */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - var(--gutter) * 2);
  max-width: var(--maxw);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 10px 10px 10px 28px;

  background: rgba(3, 37, 67, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}
.nav__logo img { 
  height: 44px; 
  width: auto; 
  padding: 0.5em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 5em;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.nav__links a {
  font-weight: 500;
  font-size: 14px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: color .15s ease;
}
.nav__links a:hover { 
  color: var(--orange-bright); 
}

.nav__links a.is-active {
  font-weight: 700;
  color: var(--orange-bright);
}
.nav__links .dot {
  width: 8px;
  height: 8px;
  border-radius: 1px;
  background: var(--orange-bright);
  display: inline-block;
  transform: rotate(45deg);
  flex-shrink: 0;
}
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 6px 6px 22px;
  border-radius: 100px;
}
.nav__cta .ico {
  width: 32px; height: 32px; border-radius: 50%;
  background: #fff; color: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.nav__cta:hover { color:#fff; transform: translateY(-1px); }
.nav__toggle {
  display: none;
  background: none; border: none; color: #fff;
  font-size: 32px; line-height: 1;
  margin-left: auto;
}

/* Hero content */
.hero__inner {
  position: relative;
  z-index: 4;
  flex: 1;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
}
.hero__content { 
  max-width: 520px; 
  margin-left: 6em;
  margin-top: 13em;

}
.hero__badge {
  display: inline-block;
  font-family: var(--font-alt);
  font-size: 12px;
  letter-spacing: .18px;
  color: #fff;
  background: rgba(236,108,4,.5);
  border: 1px solid var(--orange);
  border-radius: 100px;
  padding: 6px 12px;
  backdrop-filter: blur(4px);
  margin-bottom: 18px;
}
.hero__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: .95;
  margin-bottom: 15px;
}
.hero__title .accent { color: var(--orange-bright); }
.hero__sub { font-size: 20px; margin-bottom: 40px; max-width: 360px; }

/* Oljetillegg floating card */
.oil-card {
  position: absolute;
  z-index: 4;
  right: var(--gutter);
  bottom: 56px;
  width: 360px;
  max-width: calc(100% - var(--gutter) * 2);
  background: rgba(3,37,67,.55);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 28px 30px;
  color: #fff;
}
.oil-card__head {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500;
  font-size: 20px; margin-bottom: 8px;
}
.oil-card__head .material-symbols-rounded { color: var(--orange-bright); }
.oil-card p { font-size: 14px; line-height: 1.43; margin-bottom: 18px; }
.oil-card .btn-pill { font-size: 12px; padding: 4px 4px 4px 14px; }
.oil-card .btn-pill .ico { width: 22px; height: 22px; }
.oil-card .btn-pill .material-symbols-rounded { font-size: 14px; }

/* ==========================================================================
   SPOR LASTEN DIN
   ========================================================================== */
.track {
  background: var(--bg-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.track .h-display { font-size: 40px; margin: 16px 0; }
.track__embed {
  width: 100%;
  max-width: 1100px;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e3e3e3;
  background: #fff;
}
/* Negative margin-top scrolls the iframe up so the embedded site's own heading
   is hidden above the clipping boundary of .track__embed (overflow:hidden).
   Increase the offset value if more of the header is still visible. */
.track__embed iframe { width: 100%; height: calc(520px + 70px); margin-top: -70px; border: 0; display: block; }
.track__btn { display: none; margin-top: 28px; }

.track__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 18px;
  z-index: 1;
}
.track__embed { position: relative; }
.track__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e3e3e3;
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   KORT OM OSS
   ========================================================================== */
.about { background: #fff; }
.about__grid {
  display: grid;
  grid-template-columns: 1fr minmax(380px, 600px);
  gap: 80px;
  align-items: center;
}
.about__copy .eyebrow { margin-bottom: 16px; }
.about__copy .h-display { font-size: 40px; line-height: 1.05; margin-bottom: 16px; }
.about__copy .body { color: var(--text-grey); font-size: 18px; line-height: 1.18; max-width: 504px; }
.about__stats {
  display: flex;
  gap: clamp(12px, 1.6vw, 28px);
  margin-top: 56px;
  flex-wrap: nowrap;
  width: 100%;

}
.stat {
  flex: 1 1 0;
  min-width: 0;
  background: var(--orange);
  color: #fff;
  border-radius: 17px;
  padding: clamp(14px, 1.8vw, 22px) clamp(14px, 2vw, 24px);
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  min-height: 75px;
}
.stat .material-symbols-rounded {
  font-size: clamp(24px, 2.4vw, 34px);
}

.stat .num {
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 20px);
  line-height: 1.1;
}

.stat .label {
  font-weight: 700;
  font-size: clamp(10px, 0.9vw, 12px);
  margin-top: 4px;
}

.about__media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 211px 277px;
  gap: 24px;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about__media .tall { grid-row: 1 / span 2; grid-column: 2; height: 100%; }

/* ==========================================================================
   VÅRE TJENESTER  (carousel)
   ========================================================================== */
.services {
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.services__head { max-width: 503px; margin-bottom: 40px; }
.services__head .eyebrow { background: var(--orange); margin-bottom: 16px; }
.services__head .h-display { color: #fff; font-size: 40px; line-height: 1.05; margin-bottom: 22px; }
.services__head .lead { color: #dfdfdf; max-width: 365px; }

.services__viewport { overflow: hidden; }
.services__track {
  display: flex;
  gap: 23px;
  transition: transform .45s cubic-bezier(.4,.0,.2,1);
}
.svc-card {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 518px;
  max-width: 80vw;
  height: 314px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--blue-grey);
  color: inherit;
  text-decoration: none;
}
.svc-card__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
/* default-state pill label */
.svc-card__pill {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--blue-grey);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 9px 23px;
  border-radius: 100px;
  transition: opacity .3s ease;
}
/* hover overlay (matches "Distribusjon" example) */
.svc-card__overlay {
  position: absolute; inset: 0;
  z-index: 3;
  background: rgba(3,37,67,.5);
  backdrop-filter: blur(10px);
  /* border-radius matches .svc-card so backdrop-filter doesn't escape the clip */
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 15px;
  padding: 0 40px 32px;
  opacity: 0;
  transition: opacity .3s ease;
}
.svc-card__overlay h3 { font-weight: 700; font-size: 20px; color: #fff; }
.svc-card__overlay p { font-size: 16px; line-height: 1.35; color: #fff; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange-link); font-size: 16px; text-decoration: underline;
}
.svc-card:hover .svc-card__overlay,
.svc-card:focus-within .svc-card__overlay { opacity: 1; }
.svc-card:hover .svc-card__pill { opacity: 0; }

/* Touch devices have no hover: skip the overlay reveal entirely so a tap
   goes straight to the service page instead of showing card copy first. */
@media (hover: none) {
  .svc-card__overlay { display: none; }
}

.services__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}
.services__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.services__arrow:hover { background: var(--orange); border-color: var(--orange); }
.services__dots { display: flex; gap: 10px; }
.services__dots button {
  width: 14px; height: 14px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.35);
  padding: 0; transition: background .2s ease, width .2s ease;
}
.services__dots button.is-active { background: var(--orange); width: 30px; border-radius: 8px; }

/* ==========================================================================
   HVORFOR VELGE OSS  (hover-to-orange cards)
   ========================================================================== */
.why { background: #fff; }
.why__head { text-align: center; margin-bottom: 65px; display:flex; flex-direction:column; align-items:center; gap:16px; }
.why__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: var(--radius);
  overflow: hidden;

}
.why-card {
  position: relative;
  background: var(--bg-light-2);
  border-right: 2px solid var(--divider);
  min-height: 477px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  transition: background .3s ease;
}
.why-card:last-child { 
  border-right: none; 
}

.why-card__texture {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.why-card .material-symbols-rounded {
  font-size: 57px;
  color: var(--navy);
  margin-bottom: 33px;
  transition: color .3s ease;
}
.why-card h3 {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 30px;
  line-height: .95;
  color: var(--navy);
  transition: color .3s ease;
}
.why-card__desc {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  margin-top: 10px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .35s ease, opacity .3s ease, margin .3s ease;
}
/* hover state */
.why-card:hover { 
  background: var(--orange-2); 
  padding-bottom: 4em;
}

.why-card:hover .why-card__texture { 
  opacity: .05; 
}

.why-card:hover .material-symbols-rounded,
.why-card:hover h3 { 
  color: #fff; 
}

.why-card:hover .why-card__desc { 
  max-height: 200px; 
  opacity: 1; 
}

/* ==========================================================================
   FØLG OSS PÅ REISEN  (Facebook posts)
   ========================================================================== */
.social {
  background: var(--navy);
  color: #fff;
}
.social__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 50px;
}
.social__head .eyebrow { background: var(--orange); margin-bottom: 16px; }
.social__head .h-display { color: #fff; font-size: 40px; }
.social__icons { display: flex; gap: 8px; }
.social__icons a {
  width: 41px; height: 41px; border-radius: 5px;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  transition: transform .15s ease, background .15s ease;
}
.social__icons a:hover { transform: translateY(-2px); background: var(--orange-bright); }

.fb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 71px 71px;
}
.fb-post {
  background: var(--card-grey);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 542px;
  display: flex;
  flex-direction: column;
  color: #1c1c1c;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.fb-post:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.fb-post__head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 29px;
  background: #fff;
}
.fb-post__avatar {
  width: 39px; height: 39px; border-radius: 50%;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; flex: 0 0 auto;
  overflow: hidden;
}
.fb-post__avatar img { width: 100%; height: 100%; object-fit: cover; }
.fb-post__meta b { display: block; font-size: 14px; }
.fb-post__meta span { font-size: 12px; color: #888; }
.fb-post__img { width: 100%; aspect-ratio: 454/356; object-fit: cover; background: #cfcfcf; }
.fb-post__body { padding: 16px 24px 22px; font-size: 14px; line-height: 1.45; flex: 1; }
.fb-post__skeleton { padding: 24px 29px; }
.fb-post__skeleton .bar { height: 12px; border-radius: 19px; background: #cccccc; margin-bottom: 12px; }
.fb-post__skeleton .bar.short { width: 50%; }

/* Facebook Page Plugin fallback wrapper */
.fb-plugin-wrap { display: flex; justify-content: center; }

/* Facebook embed (temporary) */
.fb-embed-wrap { display: flex; justify-content: center; }
.fb-embed-wrap iframe { max-width: 100%; border-radius: var(--radius-card); }

/* ==========================================================================
   KONTAKT OSS
   ========================================================================== */
.contact {
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 652px) 1fr;
  gap: 71px;
  align-items: start;
}
.contact__intro .eyebrow { margin-bottom: 16px; }
.contact__intro .h-display { font-size: 40px; margin-bottom: 16px; }
.contact__intro .body { color: var(--text-grey); font-size: 18px; line-height: 1.18; max-width: 504px; }
.contact__details {
  border-left: 1px solid var(--orange);
  padding: 4px 0 4px 28px;
  margin: 46px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__details a, .contact__details span {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 18px;
  color: var(--contact);
}
.contact__details .material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-size: 22px; color: var(--orange); }
.contact__map {
  width: 100%;
  height: 306px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e3e3e3;
}
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form-card {
  background: var(--bg-light-2);
  border-radius: var(--radius);
  padding: 60px 85px;
}
.form-card h2 { font-weight: 700; font-size: 24px; margin-bottom: 37px; }
.field { margin-bottom: 26px; display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 18px;
  color: #000;
}
.field label .req { color: #dd1b1b; }
.field input, .field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 18px 20px;
  font-family: var(--font-alt);
  font-size: 16px;
  color: #222;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input { height: 46px; }
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236,108,4,.15);
}
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 100px;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 29px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(236,108,4,.3); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }
.form-status { margin-top: 16px; font-size: 15px; min-height: 22px; }
.form-status.ok { color: #1c7c3c; }
.form-status.err { color: #c62828; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--footer-bg);
  border-radius: var(--radius) var(--radius) 0 0;
  padding: 59px 121px;
  margin-bottom: 0;
  /* Full-width treatment — same as .hero and .page-banner */
  align-self: flex-start;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr .7fr .7fr 1.3fr;
  gap: 40px;
}
.footer__logo img { height: 40px; margin-bottom: 24px; }
.footer__contact {
  border-left: 1px solid var(--orange);
  padding-left: 19px;
  display: flex; flex-direction: column; gap: 10px;
}
.footer__contact a, .footer__contact span {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-alt); font-weight: 500;
  font-size: 14px; color: var(--contact);
}
.footer__contact .material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-size: 16px; color: var(--orange); }
.footer col-title, .footer__col h4 {
  font-family: var(--font-alt);
  font-weight: 600;
  font-size: 18px;
  color: #000;
  margin: 0 0 14px;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.footer__col a {
  font-family: var(--font-alt);
  font-size: 16px;
  color: var(--text-muted);
  transition: color .15s ease;
}
.footer__col a:hover { color: var(--orange); }
.footer__about p {
  font-family: var(--font-alt);
  font-size: 14px;
  line-height: 1.25;
  color: var(--contact);
  margin-bottom: 12px;
}
.footer__about a.veoy { color: var(--orange-2); font-weight: 700; text-decoration: underline; }
.footer__social { margin-top: 16px; }
.footer__social p { font-family: var(--font-alt); font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.footer__social .icons { display: flex; gap: 8px; }
.footer__social .icons a {
  width: 41px; height: 41px; border-radius: 5px;
  background: var(--orange); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px; transition: transform .15s ease;
}
.footer__social .icons a:hover { transform: translateY(-2px); }
.footer__bottom {
  margin-top: 36px;
  display: flex; align-items: center; gap: 18px;
  font-family: var(--font-alt); font-size: 14px; color: var(--contact);
}

/* ==========================================================================
   MOBILE NAV PANEL
   ========================================================================== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3,37,67,.97);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  padding: 28px var(--gutter);
  transform: translateX(100%);
  transition: transform .3s ease;
  visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu__top img { height: 40px; }
.mobile-menu__close { background: none; border: none; color: #fff; font-size: 36px; }
.mobile-menu a {
  color: #fff; font-size: 26px; font-weight: 600;
  padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-menu a:hover { color: var(--orange-bright); }
.mobile-menu .nav__cta {
  margin-top: 30px;
  align-self: flex-start;
  font-size: 14px;
  padding: 6px 6px 6px 22px;
  border-bottom: none;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --gutter: 32px; }
  .section-pad { padding: 60px 48px; }
  .about__grid { grid-template-columns: 1fr; gap: 48px; }
  .about__media { max-width: 640px; }
  .contact { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer { padding: 59px 48px; }
  .fb-grid { gap: 32px; }
}

@media (max-width: 1518px) {
  .nav__links, .nav__cta.desktop-only { display: none; }
  .nav__toggle { display: inline-flex; }
}

@media (max-width: 900px) {
  .track__embed { display: none; }
  .track__btn { display: inline-flex; }
  .hero__overlay { background: linear-gradient(180deg, rgba(3,37,67,.45) 0%, rgba(3,37,67,.85) 100%); }
  .oil-card { position: static; width: 100%; max-width: none; margin: 24px 0 32px; background: var(--navy); }
  .hero { height: auto; min-height: 560px; padding-bottom: 12px; }
  
  .hero__inner { 
    padding-top: 400px; 
    padding-bottom: 30px; 
    padding-left: 40px;
    padding-right: 40px;
  }
  .hero__content { margin-left: 0; margin-top: 0; max-width: 100%; }
  .why__cards { grid-template-columns: 1fr 1fr; }
  .why-card { min-height: 320px; justify-content: center; }
  .why-card__desc { max-height: 200px; opacity: 1; color: var(--text-grey); }
  .fb-grid { grid-template-columns: 1fr 1fr; }
  .social__head { flex-direction: column; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --radius: 18px; }
  .section-pad { padding: 44px 22px; }
  .h-display, .about__copy .h-display, .services__head .h-display,
  .why__head .h-display, .social__head .h-display, .contact__intro .h-display,
  .track .h-display { font-size: 30px; }
  .hero__title { font-size: 40px; }
  .about__stats { flex-direction: column; }
  .about__media {
    display: flex;
    grid-template-columns: none;
    grid-template-rows: none;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    padding-bottom: 4px;
  }
  .about__media img {
    flex: 0 0 78%;
    width: 78%;
    height: 260px;
    scroll-snap-align: start;
  }
  .about__media .tall { height: 260px; }
  .why__cards { grid-template-columns: 1fr; }
  .why-card { border-right: none; border-bottom: 2px solid var(--divider); }
  .why-card:last-child { border-bottom: none; }
  .fb-grid { grid-template-columns: 1fr; }
  .form-card { padding: 36px 24px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer { padding: 44px 22px; }
  .footer__contact { border-left: none; padding-left: 0; }
  .svc-card { max-width: 100%; }
  .track__embed iframe { height: calc(420px + 70px); }
}

/* ==========================================================================
   KONTAKT OSS PAGE  (page-specific — only used by /kontakt.html)
   Reuses shared tokens, .section, .eyebrow, .h-display, .lead, .contact,
   .form-card, nav, footer and mobile menu. Nothing here overrides or forks a
   shared component; these are new, page-scoped classes only.
   ========================================================================== */

/* ---- Short banner header (reuses the shared .nav inside it) -------------- */
.page-banner {
  height: 342px;
  min-height: 280px;
  max-height: 60vh;
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #fff;
  /* Same full-width treatment as .hero — fills the page container edge-to-edge. */
  align-self: flex-start;
  width: calc(100% + 2 * var(--gutter));
  max-width: none;
  margin-left: calc(-1 * var(--gutter));
  margin-right: calc(-1 * var(--gutter));
}
.page-banner__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(89deg, rgba(3,37,67,.82) 0%, rgba(3,37,67,0) 80%);
  z-index: 1;
}
.page-banner__title {
  position: relative;
  z-index: 4;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 60px);
  line-height: .95;
  padding: 0 var(--gutter);
  margin: auto 0 48px;
  max-width: 600px;
}

/* ---- Møt Teamet --------------------------------------------------------- */
.team { background: #fff; }
.team__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 50px;
}
.team .h-display { color: var(--navy); }
.team__head .lead { color: var(--navy); max-width: 520px; }

.team__subhead {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  margin: 0 0 24px;
}
.team__grid + .team__subhead { margin-top: 80px; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 71px;
  margin-bottom: 56px;
}
.team-card { display: flex; flex-direction: column; gap: 24px; }
.team-card__photo {
  width: 100%;
  aspect-ratio: 348 / 281;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--blue-grey);
}
.team-card__role {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
}
.team-card__name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
  margin-top: 2px;
}
.team-card__contact { display: flex; flex-direction: column; gap: 10px; }
.team-card__contact a,
.team-card__contact span {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-alt);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy);
}
.team-card__contact .material-symbols-rounded { font-family: 'Material Symbols Rounded'; font-size: 18px; color: var(--orange); }

/* ---- Responsive (uses the same breakpoints as the rest of the site) ----- */
@media (max-width: 1200px) {
  .team__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}
@media (max-width: 900px) {
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .page-banner { height: 280px; }
}
@media (max-width: 640px) {
  .team__grid { grid-template-columns: 1fr; gap: 32px; }
  .page-banner { height: 240px; }
  .page-banner__title { margin-bottom: 28px; }
  .team .h-display { font-size: 30px; }
}

/* ==========================================================================
   VÅRE TJENESTER PAGE  (page-specific — only used by /tjenester.html)
   Reuses shared tokens, .section, .section-pad, .eyebrow, .h-display, .lead,
   .contact, .form-card, .page-banner, nav, footer and mobile menu.
   Only the service card grid below is new; nothing here overrides shared styles.
   ========================================================================== */

/* ---- Services section --------------------------------------------------- */
.tjenester { background: #fff; }

.tjenester__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 560px;
  margin-bottom: 71px;
}
.tjenester__head .h-display { color: var(--navy); }
.tjenester__head .lead { color: var(--navy); max-width: 516px; }

.tjenester__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 40px;
}

.tjenester-card-link { display: contents; text-decoration: none; color: inherit; cursor: pointer; }
.tjenester-card-link .tjenester-card { display: flex; flex-direction: column; gap: 16px; }
.tjenester-card-link:hover .tjenester-card__more { color: var(--orange); }
.tjenester-card { display: flex; flex-direction: column; gap: 16px; }

.tjenester-card__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-card);
  background: var(--blue-grey);
}

.tjenester-card__foot {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tjenester-card__name {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}
.tjenester-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: color .15s ease;
}
.tjenester-card__more .material-symbols-rounded { font-size: 18px; }
.tjenester-card__more:hover { color: var(--orange); }

/* ---- Responsive (reuses the same breakpoints as the rest of the site) --- */
@media (max-width: 1200px) {
  .tjenester__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; }
}
@media (max-width: 900px) {
  .tjenester__head { margin-bottom: 48px; }
}
@media (max-width: 640px) {
  .tjenester__grid { grid-template-columns: 1fr; gap: 32px; }
  .tjenester-card__img { height: 240px; }
  .tjenester-card__name { font-size: 20px; }
  .tjenester-card__more { font-size: 16px; }
  .tjenester__head .h-display { font-size: 30px; }
}

/* ==========================================================================
   SERVICE DETAIL PAGES  (page-specific — shared by distribusjon.html,
   krantjenester.html, langtransport.html, terminal-og-lager.html, thermo.html)
   Reuses .section, .section-pad, .eyebrow, .h-display, .page-banner, .team-card,
   nav, footer and mobile menu. Nothing here overrides a shared component.
   ========================================================================== */

.svc-detail { background: #fff; }

/* Two-column top row: text left, large service photo right */
.svc-detail__body {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-bottom: 127px;
}

.svc-detail__text {
  flex: 1 0 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.svc-detail__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-detail__heading {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 40px;
  color: var(--navy);
  line-height: 1;
}

.svc-detail__desc {
  font-size: 18px;
  line-height: 1.65;
  color: var(--navy);
  margin: 0;
}

.svc-detail__bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
}

.svc-detail__bullets li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  line-height: 2;
  color: var(--navy);
}

.svc-detail__bullets li::before {
  content: '◆';
  color: var(--orange);
  font-size: 15px;
  flex-shrink: 0;
}

.svc-detail__bullets + .svc-detail__desc {
  margin-top: 22px;
}

.svc-detail__desc a {
  color: var(--orange-2);
  font-weight: 700;
  text-decoration: underline;
}

.svc-detail__img {
  flex: 0 0 55%;
  max-width: 700px;
  height: 469px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--blue-grey);
  margin-left: 100px;
}

/* Contact persons sub-section */
.svc-contacts {
  scroll-margin-top: 120px;
}

.svc-contacts__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 30px;
  color: var(--navy);
  margin: 0 0 30px;
}

.svc-contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 71px;
}

/* ---- Responsive (reuses the same breakpoints as the rest of the site) --- */
@media (max-width: 1200px) {
  .svc-detail__body { flex-direction: column; align-items: flex-start; }
  .svc-detail__img { flex: none; width: 100%; max-width: 100%; height: 380px; margin-left: 0; }
  .svc-contacts__grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 900px) {
  .svc-detail__body { margin-bottom: 80px; }
  .svc-detail__img { height: 300px; }
}

@media (max-width: 640px) {
  .svc-detail__heading { font-size: 30px; }
  .svc-detail__img { height: 240px; }
  .svc-contacts__grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-detail__body { margin-bottom: 60px; }
  .svc-contacts__title { font-size: 24px; }
}

/* ==========================================================================
   HVEM ER VI PAGE  (page-specific — only used by /hvem-er-vi.html)
   Reuses shared tokens, .section, .section-pad, .eyebrow, .h-display, .lead,
   .stat, .page-banner, nav, footer and mobile menu.
   Only the centred "Kort om oss" block and the vertical timeline are new;
   nothing here overrides a shared component.
   ========================================================================== */

/* ---- Kort om oss -------------------------------------------------------- */
.hev-om {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 46px;
}

.hev-om__head {
  max-width: 652px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.hev-om__head .h-display {
  font-size: 40px;
  line-height: 1.05;
  color: var(--navy);
}

.hev-om__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

/* Stat cards on this page: fixed size, number slightly larger than home (30 px) */
.hev-om__stats .stat {
  flex: 0 0 auto;
  min-width: 220px;
}
.hev-om__stats .stat .num { font-size: 30px; }

/* ---- Vår Historie (vertical timeline) ----------------------------------- */
.histoire {
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.histoire__heading {
  color: var(--navy);
  font-size: 40px;
}

.histoire__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1150px;
}

.histoire__entry {
  display: flex;
  gap: 87px;
  align-items: flex-start;
}

.histoire__img-wrap {
  flex: 0 0 404px;
  height: 198px;
  border-radius: var(--radius);
  overflow: hidden;
}

.histoire__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.histoire__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.histoire__badge-row {
  display: flex;
  align-items: center;
  gap: 33px;
}

.histoire__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  margin-left: -8px;
}
.histoire__dot--current { background: var(--orange); }

.histoire__body {
  border-left: 1px solid #000;
  padding-left: 41px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.histoire__title {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.05;
  color: #000;
}

.histoire__desc {
  font-size: 18px;
  line-height: 1.18;
  color: var(--text-grey);
  max-width: 504px;
}

/* ---- Responsive (same breakpoints as the rest of the site) -------------- */
@media (max-width: 1200px) {
  .histoire__list { max-width: 100%; }
  .histoire__entry { gap: 48px; }
  .histoire__img-wrap { flex: 0 0 300px; }
  .hev-om__stats .stat { flex: 1 1 200px; }
}

@media (max-width: 900px) {
  .histoire__entry { flex-direction: column; gap: 24px; }
  .histoire__img-wrap { flex: none; width: 100%; max-width: 100%; height: 240px; }
}

@media (max-width: 640px) {
  .hev-om__head .h-display,
  .histoire__heading { font-size: 30px; }
  .histoire__title { font-size: 24px; }
  .hev-om__stats { gap: 16px; }
}

/* ==========================================================================
   NAV DROPDOWN  ("Mer" — shared across all pages, no inline scripts)
   Opened on hover (CSS) + keyboard/click (JS adds .is-open).
   ========================================================================== */
.nav__item--dropdown {
  position: relative;
  list-style: none;
}
.nav__dropdown-btn {
  background: none;
  border: none;
  padding: 0;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  transition: color .15s ease;
}
.nav__dropdown-btn:hover,
.nav__dropdown-btn:focus-visible { 
  color: var(--orange-bright); 
  outline: none; 
}
.nav__dropdown-btn.is-active { 
  font-weight: 700; 
  color: var(--orange-bright);
}

.nav__dropdown-chevron {
  transition: transform .2s ease;
  font-size: 18px;
}
.nav__item--dropdown.is-open .nav__dropdown-chevron,
.nav__dropdown-btn[aria-expanded="true"] .nav__dropdown-chevron { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  /* 4 px gap is tiny enough that the mouse can't accidentally escape;
     a transparent ::before pseudo-bridge keeps :hover live while crossing it */
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 190px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(3,37,67,.18);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 10;
}
/* Invisible bridge that fills the 4 px gap so :hover stays active */
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  right: 0;
  height: 4px;
}
/* Show on CSS hover OR JS-added .is-open class */
.nav__item--dropdown:hover .nav__dropdown,
.nav__item--dropdown.is-open .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  text-shadow: none;
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.nav__dropdown a:hover,
.nav__dropdown a:focus-visible { background: var(--bg-light); color: var(--orange); outline: none; }
.nav__dropdown a .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); display: inline-block; flex-shrink: 0; }

/* ==========================================================================
   OLJETILLEGG PAGE  (page-specific — only used by /oljetillegg.html)
   Reuses shared tokens, .section, .section-pad, .eyebrow, .h-display,
   .page-banner, nav, footer and mobile menu. Only the centred content block
   is new; nothing here overrides a shared component.
   ========================================================================== */
.olje-content {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.olje-content__heading {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.05;
  color: var(--navy);
  max-width: 652px;
}
.olje-content__heading .accent { color: var(--orange); }
.olje-content__body {
  font-size: 18px;
  line-height: 1.18;
  color: var(--text-grey);
  max-width: 652px;
  margin: 0;
}
.olje-content__rate {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

@media (max-width: 640px) {
  .olje-content__heading { font-size: 30px; }
  .olje-content__body,
  .olje-content__rate { font-size: 16px; }
}

/* ==========================================================================
   GALLERI PAGE  (page-specific — only used by /galleri.html)
   Reuses shared tokens, .section, .eyebrow, .h-display, .lead, .page-banner,
   the .social / .fb-grid component, nav, footer and mobile menu. Only the
   photo mosaic below is new; nothing here overrides a shared component.
   ========================================================================== */
.gallery { background: #fff; }
.gallery .h-display { color: var(--navy); }
.gallery__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 560px;
  margin-bottom: 50px;
}
.gallery__head .lead { color: var(--navy); max-width: 520px; }

/* Desktop mosaic — mirrors the Figma layout (4 cols, tall-left + stacked-right) */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 428px 428px 336px 428px;
  grid-template-areas:
    "t1 t2 t2 t3"
    "t4 t4 t5 t5"
    "t4 t4 t6 t6"
    "t7 t8 t9 t10";
  gap: 71px;
}
.g-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-light-2);
}
.g-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.g-tile:hover img { transform: scale(1.04); }
.g-tile--t1 { grid-area: t1; }
.g-tile--t2 { grid-area: t2; }
.g-tile--t3 { grid-area: t3; }
.g-tile--t4 { grid-area: t4; }
.g-tile--t5 { grid-area: t5; }
.g-tile--t6 { grid-area: t6; }
.g-tile--t7 { grid-area: t7; }
.g-tile--t8 { grid-area: t8; }
.g-tile--t9 { grid-area: t9; }
.g-tile--t10 { grid-area: t10; }

/* Tablet — 2-col flow; wide tiles span both columns, the tall tile stays 2x2 */
@media (max-width: 1200px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-template-areas: none;
    grid-auto-rows: 320px;
    grid-auto-flow: dense;
    gap: 32px;
  }
  .gallery__grid .g-tile { grid-area: auto; }
  .g-tile--t2, .g-tile--t4, .g-tile--t5, .g-tile--t6 { grid-column: span 2; }
  .g-tile--t4 { grid-row: span 2; }
}

/* Mobile — single column stack */
@media (max-width: 640px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
    gap: 18px;
  }
  .g-tile--t2, .g-tile--t4, .g-tile--t5, .g-tile--t6 { grid-column: auto; grid-row: auto; }
  .gallery .h-display { font-size: 30px; }
}

/* Social links — only Facebook is active; Instagram/LinkedIn hidden until live */
a[data-social="instagram"],
a[data-social="linkedin"],
a[href*="instagram.com"],
a[href*="linkedin.com"] {
  display: none !important;
}
