/* eiderlane.com — shared styles.
   Travertino, terracota, azul mediterráneo. The scene (sky, sun, sea, the eider
   flock, the sand bank and the terracotta land) is the design the owner approved
   on 2026-09-26; the content sections sit on the sand between the sea and the land. */

@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/Fraunces-Italic.woff2") format("woff2"); font-style: italic; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/Inter.woff2") format("woff2"); font-style: normal; font-weight: 100 900; font-display: swap; }

:root {
  --travertine: #e2d3b8;
  --travertine-light: #f3ecdf;
  --paper: #faf6ee;
  --terracotta: #b85c35;
  --terracotta-wall: #a4502c;
  --link: #9b4a28;          /* terracotta dark enough for body text on the sand (4.9:1) */
  --azul: #5b7890;
  --ink: #1f2c38;
  --muted: #4f5b66;
  --line: rgba(31, 44, 56, 0.16);
  --forest: #26443a;        /* Ruminate's green, used only on its panels */

  --sky-top: #d3dde2;
  --sky-mid: #e6e3da;
  --sky-horizon: #f1e5d1;
  --sea-horizon: #95a9b6;
  --sea: #6b869a;
  --sea-deep: #46627a;
  /* Heights follow the visible viewport (svh): on iPhone, vh means the height with
     the toolbars hidden, which made the sea too tall and squeezed the text. */
  --vh: 1vh;
  --sea-h: clamp(230px, calc(32 * var(--vh)), 420px);
  --radius: 14px;
  color-scheme: light;
}
@supports (height: 1svh) {
  :root { --vh: 1svh; }
}
body.compact { --sea-h: clamp(150px, calc(20 * var(--vh)), 230px); }

* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
html, body { overscroll-behavior-y: none; }
body {
  margin: 0;
  background: var(--terracotta-wall);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  background: var(--ink);
  color: var(--travertine-light);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px;
}
.skip:focus { top: 12px; }

/* Up to ~1000px wide the text column is centred. On wider screens it keeps a
   proportional gutter (6vw) so the text stays near the left and the sky opens
   up on the right. */
.wrap {
  --gutter: min(max(20px, calc((100vw - 720px) / 2 + 24px)), max(6vw, 64px));
  width: 100%;
  padding: 0 var(--gutter);
}
.inner { max-width: 1160px; }

/* ---- Sky ---- */
.site-header {
  background: var(--sky-top);
  padding: 16px 0 0;
  position: relative;
  z-index: 3;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px 32px;
}
/* The lockup: the wing-up eider with "Eiderlane" centred underneath. Owner's
   pick, 2026-09-26, at 130px. */
.brand {
  --w: 130px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: var(--w);
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  flex: none;
}
.brand img { display: block; width: 100%; height: auto; }
.brand span {
  font-size: calc(var(--w) * 0.15);
  line-height: 1;
  margin-top: calc(var(--w) * 0.02);
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  color: var(--muted);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--ink); border-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--ink); border-color: var(--terracotta); }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 60% 70% at 82% 100%, rgba(232, 164, 122, 0.38), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 55%, var(--sky-horizon) 100%);
}
body.home .hero {
  /* The first screen is the scene: header, sky and sea. 122px is the header. */
  min-height: max(420px, calc(100 * var(--vh) - var(--sea-h) - 122px));
  padding: 8px 0 clamp(36px, calc(6 * var(--vh)), 64px);
}
body.compact .hero { padding: clamp(28px, 5vw, 56px) 0 clamp(44px, 6vw, 72px); }
.hero .wrap { position: relative; z-index: 1; }

.hero h1 {
  max-width: 760px;
  font-family: Fraunces, Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  text-wrap: balance;
}
body.compact .hero h1 { font-size: clamp(36px, 5.6vw, 56px); margin-bottom: 18px; }
.hero h1 em, h2 em { font-style: italic; color: var(--terracotta); }
.hero .lead {
  text-wrap: pretty;
  font-size: 19px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 32px;
}
body.compact .hero .lead { margin-bottom: 0; }
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link);
  margin: 0 0 14px;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--travertine-light);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  border: 1px solid var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: #2c3d4d; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(31, 44, 56, 0.35); }
.btn.ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.3); }

/* A terracotta sun, half set; the sea covers its lower half. */
.sun {
  position: absolute;
  right: 16%;
  bottom: 0;
  width: clamp(84px, min(10vw, calc(11 * var(--vh))), 140px);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translateY(50%);
  background: radial-gradient(circle at 50% 40%, #eaa47c 0%, #d9825a 55%, #c96f47 100%);
  box-shadow:
    0 0 50px 18px rgba(233, 160, 118, 0.30),
    0 0 140px 70px rgba(240, 196, 160, 0.28);
}
body.compact .sun { width: clamp(64px, 7vw, 100px); right: 12%; }

/* ---- Sea ---- */
.sea {
  position: relative;
  z-index: 1;
  height: var(--sea-h);
  overflow-x: clip; /* the flock waits off-screen; wing tips may still rise into the sky */
  background: linear-gradient(180deg, var(--sea-horizon) 0%, var(--sea) 28%, var(--sea-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 246, 232, 0.35);
}
.headland {
  position: absolute;
  left: 0;
  bottom: 100%;
  width: clamp(260px, min(42vw, calc(44 * var(--vh))), 640px);
  height: auto;
  display: block;
}
body.compact .headland { width: clamp(200px, 30vw, 460px); }
.waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.waves path, .waves line {
  fill: none;
  stroke-linecap: round;
  animation: swell var(--dur) ease-in-out var(--delay) infinite alternate;
}
.waves line { animation: twinkle var(--dur) ease-in-out var(--delay) infinite alternate; }
@keyframes twinkle { from { opacity: 1; } to { opacity: 0.25; } }
@keyframes swell {
  from { transform: translateX(calc(var(--sway) * -1)); }
  to   { transform: translateX(var(--sway)); }
}

/* ---- An endless line of eiders crosses the sea right-to-left, low over the water.
   Sizes are percentages of one drake's width (the .flock box); the smaller birds
   fly a little higher and paler, farther out toward the horizon. */
.flock {
  position: absolute;
  top: clamp(6px, calc(3 * var(--vh)), 36px);
  left: 0;
  width: clamp(130px, min(26vw, var(--sea-h) * 0.78), 400px);
  aspect-ratio: 1408 / 796;
}
.bird {
  position: absolute;
  left: 0;
  top: var(--y);
  width: var(--size);
  opacity: var(--fade, 1);
  will-change: transform;
  transform: translateX(-200vw);
}
.bird::after {
  content: "";
  position: absolute;
  left: 18%;
  width: 64%;
  top: 84%;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(28, 48, 66, 0.26), rgba(28, 48, 66, 0));
  z-index: -1;
}
.eider {
  position: relative;
  animation: glide var(--beat) ease-in-out var(--phase) infinite;
}
.eider img { display: block; width: 100%; height: auto; }
.eider .wing {
  position: absolute;
  inset: 0;
  transform-origin: 58.95% 27.01%;
  will-change: transform;
  animation: flap var(--beat) ease-in-out var(--phase) infinite;
}
@keyframes flap {
  0%, 100% { transform: translate(-1.42%, -15.95%) skewX(-8.5deg) rotate(0deg) rotateX(143deg); }
  55%      { transform: translate(0, 0) skewX(0deg) rotate(2deg) rotateX(0deg); }
}
@keyframes glide {
  0%, 100% { transform: translateY(0) rotate(0.8deg); }
  58%      { transform: translateY(-10px) rotate(-0.6deg); }
}

/* ---- The sand bank, where the content lives ---- */
.coping {
  height: 26px;
  background-color: var(--travertine);
  background-image:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0, rgba(255, 255, 255, 0.7) 1px, rgba(118, 94, 62, 0.26) 1px, rgba(118, 94, 62, 0.12) 4px, rgba(118, 94, 62, 0) 9px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='160'%3E%3Cfilter id='v' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.003 0.11' numOctaves='3' seed='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.62 0 0 0 0 0.52 0 0 0 0 0.38 0.55 0 0 0 -0.18'/%3E%3C/filter%3E%3Cfilter id='p' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05 0.2' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.50 0 0 0 0 0.40 0 0 0 0 0.28 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='discrete' tableValues='0 0 0 0 0 0 0.3 0.55 0.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23v%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23p%29'/%3E%3C/svg%3E");
  position: relative;
  z-index: 1;
}
.shore {
  background: linear-gradient(180deg, var(--travertine-light) 0, var(--paper) 360px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.shore > .section:first-child { border-top: 0; }

.section {
  padding: clamp(52px, 7vw, 96px) 0 0;
}
.section + .section { margin-top: clamp(52px, 7vw, 96px); border-top: 1px solid var(--line); }
.section h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 18px;
  max-width: 22ch;
  text-wrap: balance;
}
.section h3 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 8px;
}
.section p { margin: 0 0 16px; max-width: 64ch; }
.section .intro { font-size: 19px; color: var(--muted); max-width: 60ch; margin-bottom: 36px; }
.shore a:not(.btn):not(.work-card):not(.post-card):not(.next-link):not(.plain) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(155, 74, 40, 0.4);
}
.shore a:not(.btn):not(.work-card):not(.post-card):not(.next-link):not(.plain):hover { text-decoration-color: currentColor; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px clamp(32px, 6vw, 96px);
  align-items: start;
}
.grid { display: grid; gap: 20px; }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 22px;
}
.card p { font-size: 16px; color: var(--muted); margin: 0; }
.card .num {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  color: var(--terracotta);
  font-size: 18px;
  margin-bottom: 12px;
}
.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(91, 120, 144, 0.12);
  color: var(--azul);
  margin-bottom: 18px;
}
.icon svg { width: 22px; height: 22px; }

/* Facts: a definition list in two columns */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0 28px;
  margin: 0;
  border-top: 1px solid var(--line);
}
.facts dt, .facts dd {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { font-size: 16px; }

/* Work cards */
.work-card {
  display: flex;
  flex-direction: column;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.work-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(31, 44, 56, 0.45); }
.work-card .shot {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--travertine);
}
.work-card .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.work-card .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work-card h3 { margin: 0; }
.work-card p { margin: 0; color: var(--muted); font-size: 16px; }
.work-card .more { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 500; color: var(--link); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  background: rgba(255, 255, 255, 0.5);
}

/* Ruminate's panel: three phone screens on its forest green */
.phones {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(214, 232, 214, 0.22), transparent 70%),
    var(--forest);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4%;
  padding: 7% 6% 0;
  overflow: hidden;
}
.phones img {
  width: 27%;
  height: auto;
  border-radius: 10% / 5%;
  box-shadow: 0 0 0 3px #10211b, 0 16px 30px -12px rgba(0, 0, 0, 0.55);
  object-fit: initial;
}
.phones img:nth-child(2) { margin-top: -3%; }
.work-card .shot.phones img { width: 27%; height: auto; }

/* Work page: one product per block */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 5vw, 72px);
  align-items: start;
}
.product .shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: var(--travertine);
}
.product .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product h2 { margin-bottom: 12px; }
.product ul.did { margin: 8px 0 20px; padding-left: 20px; color: var(--muted); font-size: 16px; }
.product ul.did li { margin: 4px 0; }
.product .meta { margin: 0 0 18px; }

/* Price table */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 8px 0 18px; }
.price { background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.price .name { font-size: 14px; color: var(--muted); font-weight: 500; }
.price .amount { font-family: Fraunces, Georgia, serif; font-size: 32px; font-weight: 300; line-height: 1.2; }
.price .per { font-size: 14px; color: var(--muted); }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 28px); max-width: 760px; }
.screens figure { margin: 0; }
.screens img { display: block; width: 100%; height: auto; border-radius: 9% / 4.5%; box-shadow: 0 0 0 3px #10211b, 0 22px 40px -22px rgba(31, 44, 56, 0.6); }
.screens figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; text-align: center; }

.callout {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: 10px;
  padding: 18px 22px;
  max-width: 72ch;
}
.callout p:last-child { margin-bottom: 0; }

.cta {
  background: var(--ink);
  color: var(--travertine-light);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.cta h2 { color: var(--travertine-light); margin: 0 0 6px; }
.cta p { color: rgba(243, 236, 223, 0.78); margin: 0; }
.cta .btn { background: var(--travertine-light); color: var(--ink); border-color: var(--travertine-light); }
.cta .btn:hover { background: #fff; }

/* Legal pages */
.prose { max-width: 720px; }
.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 44px 0 12px;
  max-width: none;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin: 24px 0 6px; }
.prose ul { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose p, .prose li { max-width: 68ch; }
.toc {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 0 0 40px;
}
.toc ol { margin: 8px 0 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.toc li { margin: 4px 0; break-inside: avoid; }
.updated { font-size: 14px; color: var(--muted); margin: 0 0 32px; }

/* ---- The land: terracotta, with the company details ---- */
.site-footer {
  position: relative;
  z-index: 2;
  font-size: 14px;
  color: var(--travertine-light);
}
.wall {
  background-color: var(--terracotta-wall);
  background-image:
    linear-gradient(180deg, #c7754c 0, #bf6c43 6px, rgba(58, 22, 8, 0.45) 6px, rgba(58, 22, 8, 0.45) 7px, rgba(58, 22, 8, 0.12) 7px, rgba(58, 22, 8, 0) 26px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='m' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='4' seed='9' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.30 0 0 0 0 0.10 0 0 0 0 0.04 1.2 0 0 0 -0.42'/%3E%3C/filter%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.55' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.88 0 0 0 0 0.76 0.2 0 0 0 -0.08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url%28%23m%29'/%3E%3Crect width='100%25' height='100%25' filter='url%28%23g%29'/%3E%3C/svg%3E");
  padding: 48px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 28px 32px;
  max-width: 1160px;
}
.footer-grid h2 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
  color: rgba(243, 236, 223, 0.75);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 6px 0; }
.footer-grid a { border-bottom: 1px solid rgba(243, 236, 223, 0.3); }
.footer-grid a:hover { border-color: var(--travertine-light); }
.footer-grid .company { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 400; margin: 0 0 6px; }
.footer-grid address { font-style: normal; line-height: 1.55; margin-top: 10px; }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(243, 236, 223, 0.25);
  max-width: 1160px;
  font-size: 13px;
  color: rgba(243, 236, 223, 0.85);
}

/* ---- Smaller screens ---- */
@media (max-width: 900px) {
  .grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.three { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .split, .grid.two { grid-template-columns: minmax(0, 1fr); }
  .prices { grid-template-columns: minmax(0, 1fr); }
  .toc ol { columns: 1; }
}
@media (max-width: 600px) {
  .site-header .wrap { flex-direction: column; gap: 4px; }
  .brand { --w: 112px; }
  .site-nav ul { padding-top: 6px; gap: 4px 20px; }
  body.home .hero { min-height: 0; padding: 28px 0 44px; }
  .hero .lead { font-size: 17px; }
  .sun { right: 10%; }
  .flock { width: min(52vw, var(--sea-h) * 0.78); }
  .grid.four { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .flock { left: auto; right: 6vw; }
  .bird { transform: none; }
  .bird:not(:first-child) { display: none; }
  .eider, .eider .wing { animation: none; }
  .waves path, .waves line { animation: none; }
  a.work-card:hover { transform: none; }
}

/* ---- Added 2026-10-06: the expanded site ---- */
.footer-grid .tagline { margin: 0; }

/* Ruminate before launch: its name on its forest green, and nothing more. */
.shot.ruminate-panel {
  background:
    radial-gradient(ellipse 70% 70% at 50% 120%, rgba(214, 232, 214, 0.22), transparent 70%),
    var(--forest);
  color: #f4f1e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 24px;
}
.ruminate-panel .wordmark {
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.ruminate-panel .sub { font-size: 15px; opacity: 0.8; }
.ruminate-panel .soon {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(244, 241, 232, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
}
.product .shot.ruminate-panel { border: 0; }

/* Case studies */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery img, .figure-wide img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.gallery figcaption, .figure-wide figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.figure-wide { margin: 0; max-width: 1160px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; }
.stat { border-top: 2px solid var(--terracotta); padding-top: 12px; }
.stat .value { font-family: Fraunces, Georgia, serif; font-weight: 300; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; }
.stat .label { font-size: 14px; color: var(--muted); }
.next-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
}
.next-link .label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.next-link .title { font-family: Fraunces, Georgia, serif; font-size: 26px; }

/* Steps (process) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 0; }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  color: var(--terracotta);
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); }
.steps ul { margin: 6px 0 0; padding-left: 20px; color: var(--muted); font-size: 16px; }

/* Service list */
.service {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 16px clamp(28px, 5vw, 72px);
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 8px; }
.service p { color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; font-size: 16px; }
.checks li { padding-left: 24px; position: relative; }
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--azul);
  border-bottom: 2px solid var(--azul);
  transform: rotate(-45deg);
}

/* Journal */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
a.post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(31, 44, 56, 0.45); }
.post-card .kicker { font-size: 12.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--link); }
.post-card h3 { font-size: 25px; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: 16px; }
.post-card .meta { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--muted); }
.byline { font-size: 15px; color: var(--muted); margin: 18px 0 0; }
.article { max-width: 700px; font-size: 18px; line-height: 1.72; }
.article p, .article li { max-width: none; }
.article h2 {
  font-family: Fraunces, Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.2;
  margin: 44px 0 12px;
  max-width: none;
}
.article blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--terracotta);
  font-family: Fraunces, Georgia, serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}
.article ul, .article ol { padding-left: 22px; }
.article li { margin: 8px 0; }
.article code { font-size: 0.88em; background: rgba(31, 44, 56, 0.06); padding: 1px 6px; border-radius: 5px; }
.article .endnote { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 16px; color: var(--muted); }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .gallery, .posts { grid-template-columns: minmax(0, 1fr); }
  .checks { grid-template-columns: minmax(0, 1fr); }
  .steps > li { grid-template-columns: minmax(0, 1fr); }
  .article { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  a.post-card:hover { transform: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
