/* Eternal Overseas — stylesheet.
   Type:  Space Grotesk (display) / IBM Plex Sans (body) / IBM Plex Mono (data)
   Fired-clay palette; fired terracotta is the one structural accent. */

:root {
  --porcelain: #edece7;   /* ground — unglazed biscuit, cool not cream */
  --kiln:      #221d19;   /* warm near-black — text, dark bands */
  --fired:     #b4482c;   /* fired terracotta — the accent, used sparingly */
  --slip:      #fcfbf9;   /* near-white — raised surfaces, cards */
  --ash:       #8c857a;   /* warm grey — captions, secondary */
  --line:      #ded9cf;   /* hairline */

  /* legacy aliases so older rules keep working */
  --bg: var(--porcelain);
  --ink: var(--kiln);
  --dark: var(--kiln);

  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", var(--sans);
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--porcelain);
  color: var(--kiln);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.018em; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.15rem); line-height: 1.08; }
h2 { font-size: clamp(1.35rem, 1rem + 1.5vw, 1.9rem); line-height: 1.15; margin: 2rem 0 .75rem; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p + p { margin-top: 1rem; }
strong { font-weight: 600; }

/* keyboard focus — visible everywhere */
:focus-visible {
  outline: 2px solid var(--fired);
  outline-offset: 3px;
  border-radius: 2px;
}
a:focus-visible, summary:focus-visible { outline-offset: 4px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section-dark { background: var(--kiln); color: #f2efe9; }
.section-dark a { color: #e8b8a8; }
.section-accent { background: #2b211b; color: #f2efe9; border-top: 3px solid var(--fired); }
.section-accent a:not(.btn) { color: #e8b8a8; }
.section-lede { font-size: 1.1rem; color: var(--ash); margin-top: .5rem; }
.section-dark .section-lede, .section-accent .section-lede { color: #cbc4ba; }

/* manifest-style label */
.eyebrow {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .16em;
  font-size: .72rem; color: var(--fired); font-weight: 500;
}
.section-dark .eyebrow, .section-accent .eyebrow, .page-header .eyebrow { color: #e8a893; }
.post-byline { font-size: .88rem; opacity: .6; margin-top: -.5rem; }

/* ---------- page header band ---------- */
.page-header {
  background-color: var(--kiln);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 71px, rgba(237,236,231,.05) 71px 72px),
    repeating-linear-gradient(90deg, transparent 0 71px, rgba(237,236,231,.05) 71px 72px);
  color: #f2efe9;
  border-bottom: 3px solid var(--fired);
  padding: clamp(2.25rem, 6vw, 3.75rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}
.page-header h1 { color: #f4efe8; margin-top: .5rem; }
.page-header .section-lede { color: #d9cfc7; max-width: 62ch; }
.page-header .post-byline { color: #b9aea3; font-family: var(--mono); font-size: .8rem; }
.page-header .crumbs { color: #d9cfc7; margin-bottom: .6rem; }
.page-header .crumbs a { color: #efe7df; }
/* the section that follows the band shouldn't stack its own big top gap */
.page-header + .section { padding-top: clamp(1.75rem, 4vw, 2.75rem); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: .6rem 1rem; z-index: 2000;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--kiln); color: var(--porcelain); text-decoration: none;
  padding: .78rem 1.4rem; border-radius: 2px; font-weight: 500; border: 1px solid var(--kiln);
  font-family: var(--sans); font-size: .95rem;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--fired); border-color: var(--fired); color: #fff; }
.btn-ghost { background: transparent; color: var(--kiln); border-color: var(--line); }
.section-dark .btn-ghost, .section-accent .btn-ghost { color: #f2efe9; border-color: rgba(242,239,233,.35); }
.btn-ghost:hover { background: transparent; border-color: var(--fired); color: var(--fired); }
.section-dark .btn-ghost:hover, .section-accent .btn-ghost:hover { color: #e8a893; border-color: #e8a893; }
.btn-sm { padding: .42rem .85rem; font-size: .84rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .6rem clamp(1rem, 4vw, 2.5rem);
  background: var(--slip); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { text-decoration: none; font-size: .98rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
.site-nav a:not(.nav-cta):hover { color: var(--fired); }
.nav-cta {
  background: var(--kiln); color: var(--porcelain) !important; padding: .5rem 1rem;
  border-radius: 2px; transition: background .18s ease;
}
.nav-cta:hover { background: var(--fired); }
.nav-toggle-btn { display: none; }

.nav-dropdown { position: relative; }
.nav-dropdown summary {
  list-style: none; cursor: pointer; font-size: .98rem;
  display: flex; align-items: center; gap: .3rem;
}
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary::after {
  content: ""; display: inline-block; width: .42em; height: .42em; margin-left: .15em;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.nav-dropdown[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.nav-dropdown-menu {
  display: flex; flex-direction: column; gap: .1rem;
  position: absolute; top: calc(100% + .7rem); left: 0; min-width: 190px;
  background: var(--slip); border: 1px solid var(--line); border-radius: 3px; padding: .4rem;
  box-shadow: 0 12px 28px rgba(20, 20, 20, .1); z-index: 50;
}
.nav-dropdown-menu a { padding: .55rem .7rem; border-radius: 2px; font-size: .92rem; }
.nav-dropdown-menu a:hover { background: var(--porcelain); color: var(--fired); text-decoration: none; }

@media (max-width: 860px) {
  .nav-toggle-btn {
    display: flex; flex-direction: column; gap: 5px; padding: 10px; cursor: pointer;
    background: var(--bg); border-radius: 2px;
  }
  .nav-toggle-btn span { width: 22px; height: 2px; background: var(--ink); }
  .site-nav {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
    overflow-y: auto;
  }
  .site-nav a { padding: .9rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
  .nav-cta { margin: .8rem clamp(1rem, 4vw, 2.5rem); text-align: center; }
  .nav-toggle:checked ~ .site-nav { max-height: 90vh; }

  .nav-dropdown summary { padding: .9rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--line); }
  .nav-dropdown-menu {
    position: static; border: none; box-shadow: none; border-radius: 0;
    background: var(--bg); padding: 0;
  }
  .nav-dropdown-menu a {
    padding: .8rem clamp(1rem, 4vw, 2.5rem) .8rem calc(clamp(1rem, 4vw, 2.5rem) + 1rem);
    border-top: 1px solid var(--line); border-radius: 0; font-size: .95rem;
  }
}

/* ---------- hero: spec sheet ---------- */
.hero { background: var(--porcelain); border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) clamp(2.5rem, 5vw, 4rem);
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-inner { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; } }

.hero-lede-eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--fired);
}
.hero-tagline {
  margin-top: .35rem; font-family: var(--display); font-weight: 600;
  font-size: 1rem; color: var(--kiln);
}
.hero h1 {
  margin-top: .9rem; font-size: clamp(2.1rem, 1.2rem + 3.8vw, 3.4rem);
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--fired); }
.hero-sub { margin-top: 1.25rem; font-size: 1.06rem; color: var(--kiln); max-width: 46ch; }
.hero .cta-row { margin-top: 1.75rem; }
.hero-facts {
  margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0 1.5rem;
  font-family: var(--mono); font-size: .8rem; color: var(--ash);
}
.hero-facts span { padding: .15rem 0; }
.hero-facts b { color: var(--kiln); font-weight: 500; }

/* the signature — a scale-accurate tile-format chart */
.format-chart { align-self: stretch; }
.format-chart-head {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ash); padding-bottom: .75rem; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between;
}
.format-chart svg { width: 100%; height: auto; display: block; margin-top: 1.25rem; overflow: visible; }
.format-chart .fc-rect { fill: none; stroke: var(--fired); stroke-width: 1.25; }
.format-chart .fc-rect.is-lead { fill: var(--fired); fill-opacity: .07; }
.format-chart .fc-label { font-family: var(--mono); font-size: 10px; fill: var(--kiln); }
.format-chart .fc-base { stroke: var(--kiln); stroke-width: 1; }
@media (prefers-reduced-motion: no-preference) {
  .format-chart .fc-rect { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: fc-draw .5s ease forwards; }
  .format-chart .fc-rect:nth-of-type(1)  { animation-delay: 0s; }
  .format-chart .fc-rect:nth-of-type(2)  { animation-delay: .04s; }
  .format-chart .fc-rect:nth-of-type(3)  { animation-delay: .08s; }
  .format-chart .fc-rect:nth-of-type(4)  { animation-delay: .12s; }
  .format-chart .fc-rect:nth-of-type(5)  { animation-delay: .16s; }
  .format-chart .fc-rect:nth-of-type(6)  { animation-delay: .2s; }
  .format-chart .fc-rect:nth-of-type(7)  { animation-delay: .24s; }
  .format-chart .fc-rect:nth-of-type(8)  { animation-delay: .28s; }
  .format-chart .fc-rect:nth-of-type(9)  { animation-delay: .32s; }
  .format-chart .fc-rect:nth-of-type(10) { animation-delay: .36s; }
  .format-chart .fc-rect:nth-of-type(11) { animation-delay: .4s; }
  .format-chart .fc-rect:nth-of-type(12) { animation-delay: .44s; }
  .format-chart .fc-label { opacity: 0; animation: fc-fade .3s ease .7s forwards; }
}
@keyframes fc-draw { to { stroke-dashoffset: 0; } }
@keyframes fc-fade { to { opacity: 1; } }
.format-chart-foot {
  margin-top: 1rem; font-family: var(--mono); font-size: .72rem; color: var(--ash);
  padding-top: .75rem; border-top: 1px solid var(--line);
}

/* eyebrow used as a standalone section label */
.section > .container > .eyebrow,
.hero-copy > .eyebrow { display: block; margin-bottom: .6rem; }
.section h2 + .section-lede { margin-top: .6rem; }

/* how-we-ship grid */
.ship-grid {
  display: grid; gap: 1.5rem 2.5rem; margin-top: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.ship-grid h3 { font-family: var(--display); font-size: 1.02rem; margin-bottom: .4rem; }
.ship-grid p { color: #cbc4ba; font-size: .95rem; }

/* ---------- cards ---------- */
.card-grid {
  list-style: none; display: grid; gap: 1.25rem; margin-top: 2rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
@media (min-width: 720px) { .card-grid--3col { grid-template-columns: repeat(3, 1fr); } }
.card {
  border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--slip);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.card a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.card img {
  aspect-ratio: 3 / 2; object-fit: contain; width: 100%; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.card h2, .card h3 {
  font-family: var(--display); padding: 1rem 1.1rem .3rem; font-size: 1.08rem;
  font-weight: 500; line-height: 1.25; letter-spacing: -0.01em;
}
.card p { padding: 0 1.1rem 1rem; color: var(--ash); font-size: .9rem; margin: 0; flex: 1; }
.card-link {
  padding: .8rem 1.1rem; display: block; font-family: var(--mono); font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase;
  border-top: 1px solid var(--line); color: var(--fired);
}
.card:hover { border-color: var(--fired); }
.card:hover .card-link { text-decoration: underline; }

.stat-row { display: flex; flex-wrap: wrap; gap: 2rem 3rem; justify-content: space-around; text-align: center; }
.stat-row strong { display: block; font-family: var(--mono); font-size: 1.9rem; font-weight: 500; color: var(--fired); }
.stat-row span { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ash); }

.faq { margin: 1rem 0 1.5rem; }
.faq details {
  border: 1px solid var(--line); border-radius: 3px; background: var(--slip);
  padding: .4rem 1.1rem; margin: .5rem 0;
}
.faq summary {
  font-weight: 600; cursor: pointer; padding: .55rem 1.6rem .55rem 0;
  list-style: none; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: .5rem;
  font-family: var(--mono); font-size: 1.1rem; line-height: 1; color: var(--fired);
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { margin-bottom: .5rem; }
.faq p { text-align: left; margin: 0 0 .6rem; color: var(--ash); }

/* ---------- about page ---------- */
.about-stats { margin: 2rem 0 1rem; padding: 1.4rem 1.5rem; background: var(--slip); border: 1px solid var(--line); border-radius: 3px; }

.split-block {
  display: grid; gap: 2rem; align-items: center; margin-top: 3rem;
  grid-template-columns: minmax(240px, 380px) 1fr;
}
.split-block.reverse { grid-template-columns: 1fr minmax(240px, 380px); }
.split-block.reverse img { order: 2; }
.split-block img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; border-radius: 4px; background: #e6e2d8; }
.split-block h2 { margin-top: 0; border-top: none; padding-top: 0; }
@media (max-width: 760px) {
  .split-block, .split-block.reverse { grid-template-columns: 1fr; }
  .split-block.reverse img { order: 0; }
}

.icon-card-grid {
  list-style: none; margin: 1.5rem 0; padding: 0; max-width: none;
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.icon-card-grid li {
  margin: 0; padding: 1.4rem; background: var(--slip); border: 1px solid var(--line);
  border-radius: 4px;
}
.icon-card-grid h3 { font-size: 1.02rem; margin: .8rem 0 .35rem; }
.icon-card-grid p { font-size: .92rem; text-align: left; opacity: .8; margin: 0; }
.ic-icon, .icon-list svg, .leader-grid svg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 9px; border-radius: 3px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink); flex-shrink: 0;
}

.icon-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .8rem; }
.icon-list li { margin: 0; display: flex; align-items: center; gap: .9rem; }
.icon-list span { font-size: .98rem; }

.cert-grid { list-style: none; margin: 1.5rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-start; }
.cert-grid li { margin: 0; text-align: center; }
.cert-grid img { border-radius: 4px; border: 1px solid var(--line); object-fit: cover; width: 260px; height: 180px; }
.cert-grid span { display: block; margin-top: .5rem; font-weight: 600; font-size: .9rem; }
.cert-grid .btn-sm { margin-top: 1rem; }

.cert-figure { margin: 1.25rem 0 2rem; }
.cert-figure img {
  max-width: 460px; width: 100%; border-radius: 4px; border: 1px solid var(--line);
  display: block; background: var(--slip);
}
.cert-figure figcaption { margin-top: .5rem; font-size: .85rem; opacity: .65; }

.leader-grid { list-style: none; margin: 1.25rem 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.leader-grid li {
  margin: 0; background: var(--slip); border: 1px solid var(--line); border-radius: 2px; font-weight: 500;
  transition: border-color .2s ease;
}
.leader-grid li:hover { border-color: #b9b2a2; }
.leader-grid li a {
  display: flex; align-items: center; gap: .7rem; padding: .7rem 1.2rem .7rem .7rem;
  color: inherit; text-decoration: none;
}
.leader-grid svg { width: 34px; height: 34px; padding: 7px; }

/* ---------- team page ---------- */
.team-grid {
  list-style: none; margin: 1.5rem 0; padding: 0; max-width: none;
  display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.team-card {
  margin: 0; padding: 1.75rem 1.5rem; text-align: center; background: var(--slip);
  border: 1px solid var(--line); border-radius: 4px;
}
.team-card:hover { border-color: var(--fired); }
.team-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px; padding: 14px; margin-bottom: .9rem;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--ink);
}
.team-name { font-size: 1.05rem; margin-bottom: .15rem; }
.team-title { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--fired); margin-bottom: .7rem; }
.team-bio { font-size: .92rem; text-align: left; opacity: .8; margin: 0; }

/* ---------- breadcrumb ---------- */
.crumbs { font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--ash); margin-bottom: .75rem; }
.crumbs a { text-decoration: none; }
.crumbs span { margin: 0 .35rem; color: var(--line); }

/* ---------- product detail hero ---------- */
.detail-hero {
  width: 100%; max-height: 380px; object-fit: contain; border-radius: 4px;
  margin: 1.5rem 0; background: #e6e2d8;
}
.content-img { width: 100%; max-width: 900px; margin: 1.5rem 0; border-radius: 4px; }

/* ---------- ranges / variant grid ---------- */
.ranges-head { margin-top: 2.75rem; }
.ranges-head h2 { margin-bottom: .25rem; }

.variant-grid {
  list-style: none; display: grid; gap: 1.25rem; margin: 1.5rem 0 2rem; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.variant-card {
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: var(--slip); display: flex; flex-direction: column;
  transition: border-color .2s ease;
}
.variant-card:hover { border-color: var(--fired); }
.vc-image { aspect-ratio: 4 / 3; background: var(--porcelain); overflow: hidden; }
.vc-image img { width: 100%; height: 100%; object-fit: cover; }
.vc-image--scale {
  display: grid; place-items: center; padding: 1.1rem;
  border-bottom: 1px solid var(--line);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 11px, rgba(34,29,25,.06) 11px 12px),
    repeating-linear-gradient(90deg, transparent 0 11px, rgba(34,29,25,.06) 11px 12px);
}
.vc-scale { width: 100%; height: 100%; overflow: visible; }
.vc-scale rect { fill: var(--fired); fill-opacity: .08; stroke: var(--fired); stroke-width: 1.4; }
.vc-body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.vc-body h3 { font-family: var(--mono); font-size: .92rem; font-weight: 500; padding-bottom: .55rem; margin-bottom: .2rem; border-bottom: 1px solid var(--line); }

/* Some sizes carry 10+ finish options — a fixed-height scroll list keeps
   every card the same footprint instead of one card stretching the row. */
.vc-variants { list-style: none; max-height: 190px; overflow-y: auto; }
.vc-variants li { border-bottom: 1px solid var(--bg); }
.vc-variants li:last-child { border-bottom: none; }
.vc-variants li a {
  display: block; padding: .42rem 0; font-family: var(--mono); font-size: .8rem; color: var(--kiln); text-decoration: none;
}
.vc-variants li a:hover { color: var(--fired); }
.vc-variants li a:hover { text-decoration: underline; }
.vc-body .btn-sm { align-self: flex-start; margin-top: .2rem; }

.link-grid {
  list-style: none; display: grid; gap: .5rem 1rem; margin: 1rem 0 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.link-grid a {
  display: block; padding: .6rem 0 .6rem 1.1rem; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: .8rem; text-decoration: none; position: relative;
}
.link-grid a::before { content: "→"; position: absolute; left: 0; color: var(--fired); }
.link-grid a:hover { color: var(--fired); }

.gallery-grid {
  list-style: none; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-grid img { border-radius: 4px; border: 1px solid var(--line); height: 180px; object-fit: cover; width: 100%; }

.photo-grid {
  list-style: none; margin: 1.5rem 0; padding: 0; max-width: none;
  display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.photo-grid li { margin: 0; }
.photo-grid img {
  border-radius: 4px; border: 1px solid var(--line); height: 170px; object-fit: cover; width: 100%;
  cursor: zoom-in;
}
.photo-grid figcaption { margin-top: .45rem; font-size: .82rem; color: var(--ash); }

.export-photo { margin: 1.5rem 0; max-width: 480px; }
.export-photo img {
  width: 100%; border-radius: 4px; border: 1px solid var(--line); display: block; cursor: zoom-in;
}
.export-photo figcaption { margin-top: .5rem; font-size: .84rem; color: var(--ash); }

/* ---------- export ---------- */
.export-hero { text-align: center; position: relative; overflow: hidden; }
.world-map { max-width: 1000px; margin: 2rem auto 0; opacity: .9; }

/* ---------- contact ---------- */
.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 820px) { .contact-layout { grid-template-columns: 360px 1fr; align-items: start; } }
.contact-info { background: var(--slip); border: 1px solid var(--line); border-radius: 3px; padding: 1.5rem; }
.contact-info h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
.contact-info p { margin-top: 1rem; }
.contact-info p:first-of-type { margin-top: .25rem; }
.contact-form {
  background: var(--slip); border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem;
  display: grid; gap: 1rem;
}
.contact-form label { display: grid; gap: .35rem; font-weight: 500; }
.contact-form input, .contact-form textarea {
  font: inherit; padding: .7rem .8rem; border: 1px solid var(--line); border-radius: 2px; background: var(--slip);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--fired); outline-offset: 1px; border-color: transparent; }
.form-status { font-size: .95rem; }
.form-status.ok { color: #0a7d3d; }
.form-status.err { color: #b02a2a; }

/* ---------- calculator ---------- */
.calc-grid { display: grid; gap: 1.5rem; margin: 1.5rem 0; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.calc fieldset { border: 1px solid var(--line); border-radius: 4px; padding: 1.25rem; display: grid; gap: 1rem; }
.calc legend { padding: 0 .5rem; font-weight: 600; }
.calc label { display: grid; gap: .35rem; font-weight: 500; }
.calc .row { display: flex; gap: .5rem; }
.calc input, .calc select { font: inherit; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 2px; background: var(--slip); width: 100%; }
.calc-result { border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; margin-top: 1rem; background: var(--slip); }
.calc-result strong { font-size: 1.2rem; }
.fineprint { font-size: .85rem; opacity: .65; margin-top: 1rem; }

/* ---------- footer ---------- */
.site-footer { background: var(--kiln); color: #b9aea3; padding: 3rem clamp(1rem, 4vw, 2.5rem) 2rem; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.site-footer h2 {
  font-family: var(--mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .16em; color: #e8a893; margin: 0 0 .85rem; font-weight: 500;
}
.site-footer a { color: #d6cfc5; text-decoration: none; }
.site-footer a:hover { color: #e8a893; }
.site-footer ul { list-style: none; }
.site-footer li { margin: .4rem 0; }
.footer-follow-label {
  margin-top: 1rem; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .08em; opacity: .55;
}
.footer-social { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin-top: .4rem; font-size: .88rem; }
.footer-social li { margin: 0; }
.footer-social a { color: #d6cfc5; text-decoration: none; }
.footer-social a:hover { color: #e8a893; text-decoration: underline; }
.footer-credit { max-width: var(--maxw); margin: 2rem auto 0; padding-top: 1.5rem; border-top: 1px solid #3a332d; font-family: var(--mono); font-size: .74rem; color: #8c857a; text-align: center; }

/* ---------- pdf-gate ---------- */
.pdfgate-overlay {
  display: none; position: fixed; inset: 0; z-index: 80; background: rgba(20, 16, 12, .6);
  align-items: center; justify-content: center; padding: 1.25rem;
}
.pdfgate-overlay:not([hidden]) { display: flex; }
.pdfgate-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px; padding: 1.75rem;
  max-width: 380px; width: 100%; position: relative;
}
.pdfgate-card h3 { margin: 0 0 .35rem; }
.pdfgate-card p { margin: 0 0 1.1rem; font-size: .9rem; color: var(--ash); }
.pdfgate-card form { display: grid; gap: .85rem; }
.pdfgate-card label { display: grid; gap: .35rem; font-weight: 500; font-size: .92rem; }
.pdfgate-card input {
  font: inherit; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 2px; background: var(--slip);
}
.pdfgate-card input:focus { outline: 2px solid var(--fired); outline-offset: 1px; border-color: transparent; }
.pdfgate-close {
  position: absolute; top: .6rem; right: .8rem; background: none; border: 0; font-size: 1.4rem;
  line-height: 1; color: var(--ash); cursor: pointer; padding: .2rem .4rem;
}
.pdfgate-close:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
body.no-scroll { overflow: hidden; }
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 5000; background: rgba(10, 9, 7, .92);
  display: none; align-items: center; justify-content: center; padding: 4vh 4vw;
  cursor: zoom-out;
}
.lightbox-overlay:not([hidden]) { display: flex; }
.lightbox-overlay img {
  max-width: 100%; max-height: 92vh; border-radius: 2px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
  cursor: default;
}
.lightbox-close {
  position: absolute; top: 18px; right: 22px; background: transparent; border: none;
  color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; padding: .25rem .6rem;
}
.lightbox-close:hover { opacity: .7; }

/* ---------- gtranslate ---------- */
.gtranslate_wrapper { position: fixed; bottom: 12px; right: 12px; z-index: 9999; }
