/* T. Fotiadis Design — site styles.
   Type and colour live in :root. When the house fonts are confirmed, change --serif / --caps only. */
@font-face { font-family: "EB Garamond"; src: url(https://static.wixstatic.com/ufonts/ea4e54_f20dacf915f849fa93040d0b5f31280b/file.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(https://static.wixstatic.com/ufonts/ea4e54_2521190a54bb4df0ab50a493b45bfbfe/file.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(https://static.wixstatic.com/ufonts/ea4e54_876176ef6d8a4fa797e264fddd52266f/file.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(https://static.wixstatic.com/ufonts/ea4e54_fd2251f3df1d4999a7840052de5e015b/file.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Tenor Sans"; src: url(https://static.wixstatic.com/ufonts/ea4e54_99d5bc68d14b4b53a7f80dfd20a7c826/file.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #FBFAF7;
  --paper-2: #F3F1EC;
  --ink: #23231F;
  --mist: #6E6B63;
  --line: #E2DDD2;
  --gold: #9B8549;          /* taken from the logo */
  --gold-deep: #7C6A38;     /* gold for small text on paper (contrast) */
  --teal: #1E6B68;          /* detail colour, kept from the current site (exact value to confirm) */
  --teal-light: #1E6B68;    /* formerly a lighter teal for dark grounds; the grounds are light now */
  /* the former dark bands are now sand: the site stays light throughout */
  --night: #F1EDE4;
  --night-2: #E7E1D5;
  --night-ink: #23231F;
  --night-mist: #6E6B63;
  --serif: "EB Garamond", "Garamond", "Times New Roman", serif;
  --caps: "Tenor Sans", "Optima", "Avenir Next", "Helvetica Neue", sans-serif;
  --gutter: clamp(16px, 4.5vw, 64px);
  --measure: 34em;
  --head-h: 76px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--head-h); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: clamp(18px, 1.15vw + 12px, 21px); line-height: 1.62; font-kerning: normal; font-variant-numeric: oldstyle-nums; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--teal); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-weight: 400; line-height: 1.12; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 86px); }
h2 { font-size: clamp(32px, 3.5vw, 54px); }
h3 { font-size: clamp(23px, 1.6vw + 10px, 30px); line-height: 1.2; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(21px, 1.2vw + 13px, 27px); line-height: 1.45; color: var(--ink); }
.muted { color: var(--mist); }
/* Tenor caps echo the wordmark. Used only for navigation, buttons and the chapter names of the opening sequence. */
.caps { font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.5; font-variant-numeric: lining-nums; }

.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.prose { max-width: var(--measure); }
.prose h2 { margin-bottom: .6em; }
.prose h3 { margin: 1.6em 0 .4em; }
section { position: relative; }
.pad { padding-block: clamp(80px, 11vw, 168px); }
.pad-s { padding-block: clamp(56px, 7vw, 104px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--head-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: var(--gutter); color: var(--ink); transition: background-color .4s, color .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.solid { background: rgba(251, 250, 247, .94); border-bottom-color: var(--line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body[data-tone="dark"] .site-header:not(.solid) { color: var(--night-ink); }
.logo { display: block; flex: none; }
.logo img { width: clamp(150px, 15vw, 210px); height: auto; transition: filter .4s; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); }
.nav a { text-decoration: none; font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; padding-block: 8px; }
.nav a[aria-current="page"] { color: var(--teal); }
body[data-tone="dark"] .site-header:not(.solid) .nav a[aria-current="page"] { color: var(--teal-light); }
.nav .nav-cta { border: 1px solid currentColor; padding: 9px 16px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; cursor: pointer; padding: 10px 0; font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { position: fixed; inset: var(--head-h) 0 auto 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gutter) 32px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding-block: 14px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
}

/* Buttons and links */
.btn { display: inline-block; font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 16px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: background-color .25s, color .25s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.on-dark .btn { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.on-dark .btn:hover { background: transparent; color: var(--night-ink); }
.more { font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--teal); padding-bottom: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; margin-top: 2em; }

/* Opening sequence: line → steel → yacht → at sea.
   Without JS (or with reduced motion) the frames simply stack. */
.seq { position: relative; background: var(--paper); }
.seq-stage { position: relative; }
.seq-cam { position: relative; }
.seq-layer { position: relative; }
.seq-layer img, .seq-layer video { width: 100%; height: 72vh; object-fit: cover; object-position: 50% 50%; }
.seq-layer picture { display: block; height: 100%; }
.seq-paper, .seq-sweep, .seq-grain, .lb, .seq-num { display: none; }
.l-line { background: var(--paper); position: relative; }
/* drafting furniture around the line drawing: datum, overall length, stations, sheet labels */
.l-line .draft { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .6s; }
.l-line .draft.on { opacity: 1; }
.draft-lines line, .draft-lines path { stroke: #3A3835; stroke-width: 1.2; fill: none; vector-effect: non-scaling-stroke; }
.draft-lines .thin { stroke-width: .6; opacity: .8; }
.draft-lines .dash { stroke-dasharray: 6 5; }
.draft-lines .fill { fill: #4A4744; stroke: none; }
.draft-text text { font-family: var(--caps); font-size: 13px; letter-spacing: .18em; fill: #4A4744; }
.draft-text .small { font-size: 10.5px; opacity: .75; }
.l-line canvas, .l-line img { display: block; width: 100%; height: 72vh; object-fit: cover; object-position: 50% 50%; }
.steel { filter: grayscale(1) sepia(.18) hue-rotate(168deg) saturate(.55) contrast(1.18) brightness(.88); }
.seq-intro { padding: calc(var(--head-h) + clamp(48px, 9vh, 120px)) var(--gutter) clamp(40px, 6vh, 72px); }
.seq-intro h1 { max-width: 13em; }
.seq-intro .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.seq-intro .ln > span { display: inline-block; }
.seq-intro .sub { margin-top: 1.1em; color: var(--mist); max-width: 30em; }
.seq-cap { padding: 22px var(--gutter) 56px; max-width: calc(var(--measure) + 2 * var(--gutter)); }
.seq-cap .caps { color: var(--teal); margin-bottom: .6em; }
.seq-cue { display: none; }

.seq--live { height: 640vh; }
.seq--live .seq-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--paper); }
.seq--live .seq-paper { display: block; position: absolute; inset: 0; background: var(--paper); }
.seq--live .seq-cam { position: absolute; inset: 0; will-change: transform; }
.seq--live .seq-layer { position: absolute; inset: 0; }
.seq--live .seq-layer img, .seq--live .seq-layer video, .seq--live .l-line canvas { height: 100%; }
.seq--live .l-line .draft { z-index: 1; }
.seq--live .l-line canvas { object-fit: contain; object-position: 50% 50%; }
.seq--live .l-line .draft { top: 0; height: 100%; }
.seq--live .l-line { background: transparent; z-index: 2; will-change: opacity; inset: 10% 7% 30% 7%; }
.seq--live .l-form { inset: 10% 7% 30% 7%; }
.seq--live .l-sea, .seq--live .l-film { z-index: 1; }
.seq--live .l-form img { object-fit: contain; object-position: 50% 50%; }
/* Portrait: the yacht runs nearly the full width of the frame, and the camera opens at
   1.14x, so a frame flush to the screen edges loses her bow and stern for the first part
   of the scroll. A little air each side keeps her whole at every zoom. */
@media (max-aspect-ratio: 4/5) { .seq--live .l-line, .seq--live .l-form { inset: 0 6%; } }
.seq--live .l-form, .seq--live .l-sea, .seq--live .l-film { opacity: 0; will-change: opacity; }
.seq--live .l-sea img, .seq--live .l-film video, .seq--live .l-form img { position: absolute; left: 0; top: 0; width: auto; height: auto; max-width: none; object-fit: fill; }
/* portrait phones: the whole yacht in a cinema band, the stage darkens behind it */
.seq--live .seq-stage { transition: background-color .6s ease; }
/* On phones the frame is letterboxed, so the stage ends in a tall band of dead paper before the
   next section. Pull the next section up over it — that paper is empty anyway. */
@media (max-aspect-ratio: 4/5) {
  .seq--live + section { margin-top: -31vh; }
}
@media (max-aspect-ratio: 4/5) {
  .seq--live .l-line canvas, .seq--live .l-line .draft { position: absolute; width: 100%; height: auto; max-width: none; left: 50%; top: 40%; transform: translate(-50%, -50%); object-fit: fill; }
}

.seq--live .seq-sweep { display: block; position: absolute; inset: -10% 0; width: 55%; left: 0; background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(214,226,232,.0) 30%, rgba(236,242,246,.55) 50%, rgba(214,226,232,0) 70%, rgba(255,255,255,0) 100%); mix-blend-mode: screen; opacity: 0; transform: translateX(-120%) skewX(-8deg); pointer-events: none; }
.seq--live .seq-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,16,0) 60%, rgba(10,14,16,.22) 100%); opacity: 0; pointer-events: none; }
.seq--live .seq-grain { display: block; position: absolute; inset: -50%; opacity: .07; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; mix-blend-mode: overlay; z-index: 2; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.seq--live .lb { display: none; position: absolute; left: 0; right: 0; height: var(--lb, 0px); background: #050607; z-index: 4; pointer-events: none; }
.seq--live .lb-top { top: 0; }
.seq--live .lb-bot { bottom: 0; }
.seq--live .seq-intro { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding-top: var(--head-h); z-index: 5; transition: opacity .7s, transform .7s; }
.seq--live .seq-intro.gone { opacity: 0; transform: translateY(-24px); pointer-events: none; }
.seq--live .seq-intro .ln > span { transform: translateY(105%); animation: rise 1.1s cubic-bezier(.2,.7,.1,1) forwards; }
.seq--live .seq-intro .ln + .ln > span { animation-delay: .14s; }
.seq--live .seq-intro .sub { opacity: 0; animation: fadein 1.2s .55s ease forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fadein { to { opacity: 1; } }
.seq--live .seq-caps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; }
.seq--live .seq-cap { position: absolute; left: 0; bottom: calc(var(--lb, 0px) + clamp(24px, 6vh, 64px)); padding: 0 var(--gutter); pointer-events: none; }
.seq--live .seq-cap > * { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .9s cubic-bezier(.2,.7,.1,1); }
.seq--live .seq-cap.on { pointer-events: auto; }
.seq--live .seq-cap.on > * { opacity: 1; transform: none; }
.seq--live .seq-cap.on > :nth-child(2) { transition-delay: .08s; }
.seq--live .seq-cap.on > :nth-child(3) { transition-delay: .16s; }
.seq--live .seq-cap.on > :nth-child(4) { transition-delay: .28s; }
.seq--live .seq-num { display: block; font-size: clamp(44px, 6vw, 92px); line-height: 1; margin-bottom: .1em; font-style: italic; color: var(--teal); font-variant-numeric: lining-nums; }
.seq--live .seq-cap h2 { font-size: clamp(30px, 3.2vw, 50px); }
.seq--live .seq-cap p:last-child { max-width: 30em; margin-top: .5em; }
.seq--live .seq-cap.dark { color: var(--night-ink); }
.seq--live .seq-cap.dark .caps, .seq--live .seq-cap.dark .seq-num { color: var(--teal-light); }
.seq--live .seq-cap.dark p:last-child { color: rgba(231,226,215,.86); }
.seq-veil { display: none; }
.seq--live .seq-veil { display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; background: linear-gradient(0deg, rgba(251,250,247,.95) 25%, rgba(251,250,247,0)); opacity: 0; transition: opacity .6s; z-index: 4; pointer-events: none; }
.seq--live .seq-stage[data-at="0"] .seq-veil, .seq--live .seq-stage[data-at="1"] .seq-veil { opacity: 0; }
/* no chapter captions: the sequence speaks for itself */
.seq--live .seq-caps, .seq--live .seq-progress { display: none; }
@media (max-aspect-ratio: 4/5) { .seq--live .seq-shade { background: none; } }
.seq--live .seq-cue { display: block; position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 5; color: var(--mist); transition: opacity .4s; }
.seq--live .seq-cue::after { content: ""; display: block; width: 1px; height: 42px; margin: 10px auto 0; background: linear-gradient(var(--teal), transparent); animation: cue 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.seq--live .seq-cue.gone { opacity: 0; }
.seq-progress { display: none; }
.seq--live .seq-progress { display: flex; position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5; flex-direction: column; gap: 14px; list-style: none; margin: 0; padding: 0; }
.seq--live .seq-progress li { width: 7px; height: 7px; border: 1px solid var(--teal); border-radius: 50%; transition: background-color .3s, border-color .3s; }
.seq--live .seq-progress li.on { background: var(--teal); }
body[data-tone="dark"] .seq--live .seq-progress li { border-color: var(--teal-light); }
body[data-tone="dark"] .seq--live .seq-progress li.on { background: var(--teal-light); }
@media (max-width: 700px) { .seq--live .seq-progress { display: none; } .seq--live { height: 560vh; } }

/* Hero frames: the image opens to full width as it comes into view */
.hero-frame { overflow: hidden; height: min(86vh, 980px); }
.hero-frame .hero-img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
.js .hero-frame { clip-path: inset(0 var(--inset, 0px)); }
@view-transition { navigation: auto; }

/* Statement band */
.statement { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.statement .seal { width: 64px; margin-bottom: 28px; mix-blend-mode: multiply; }
@media (max-width: 900px) { .statement { grid-template-columns: 1fr; } }

/* Fact sheet: the private-bank element. A ruled ledger of what is on file. */
.ledger { margin: 0; border-top: 1px solid var(--ink); }
.ledger > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px; padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.ledger dt { font-size: clamp(21px, 1vw + 13px, 25px); line-height: 1.3; }
.ledger dd { margin: 0; color: var(--mist); }
@media (max-width: 700px) { .ledger > div { grid-template-columns: 1fr; gap: 6px; } }
.on-file { display: flex; gap: 16px; align-items: baseline; margin-top: 28px; color: var(--mist); font-style: italic; }

/* Dark band */
.on-dark { background: var(--night); color: var(--night-ink); }
.on-dark .muted, .on-dark .ledger dd { color: var(--night-mist); }
.on-dark a:hover { color: var(--teal-light); }
.on-dark .rule, .on-dark .ledger > div { border-color: rgba(35,35,31,.14); }
.on-dark .ledger { border-top-color: var(--night-ink); }
.on-dark .more { border-color: var(--gold); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.motto { font-style: italic; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.2; }

/* Work */
.plate { margin: 0; }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-2); }
.plate figcaption { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; }
.plate figcaption span:last-child { color: var(--mist); }
.plate a { text-decoration: none; }
.plate { overflow: hidden; }
.plate a > img { transition: transform 1.6s cubic-bezier(.2,.7,.1,1); }
.plate a:hover > img { transform: scale(1.035); }
.work-lead { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
.work-lead .plate:first-child img { aspect-ratio: 16 / 10; }
.work-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 72px); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 80px) clamp(24px, 3vw, 48px); }
.work-grid .plate:nth-child(3n+1) { grid-column: 1 / -1; }
.work-grid .plate:nth-child(3n+1) img { aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .work-lead, .work-pair, .work-grid { grid-template-columns: 1fr; } .work-grid .plate:nth-child(3n+1) img { aspect-ratio: 3 / 2; } }

/* Refits */
.refits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.refit .ph { aspect-ratio: 4 / 3; background: var(--night-2); display: flex; align-items: flex-end; padding: 18px; color: var(--night-mist); font-style: italic; }
.refit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.refit h3 { margin-top: 18px; }
.refit dl { margin: 10px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; color: var(--night-mist); font-size: .92em; }
.refit dt { color: var(--night-ink); }
.refit dd { margin: 0; }
.refit p { margin-top: 12px; color: var(--night-mist); font-size: .95em; }
@media (max-width: 900px) { .refits { grid-template-columns: 1fr; } }

/* Page heads */
.page-head { padding: calc(var(--head-h) + clamp(56px, 10vw, 140px)) 0 clamp(48px, 6vw, 88px); }
.page-head h1 { max-width: 15em; }
.page-head .lede { max-width: 30em; margin-top: 1em; color: var(--mist); }
.crumbs { margin-bottom: 28px; color: var(--mist); }
.crumbs a { text-decoration: none; }

/* Timeline (a real sequence of years) */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.timeline li { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline .yr { font-size: clamp(26px, 2vw, 34px); line-height: 1.1; color: var(--teal); font-variant-numeric: lining-nums; }
.timeline p { margin: 0; max-width: 34em; }
@media (max-width: 600px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* Process (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.steps li { counter-increment: s; border-top: 1px solid var(--line); padding: 24px 0 40px; }
.steps li::before { content: counter(s); display: block; font-size: 15px; color: var(--gold-deep); font-variant-numeric: lining-nums; margin-bottom: 18px; }
.steps h3 { margin-bottom: .45em; }
.steps p { color: var(--mist); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 96px); }
.services h3 { margin-bottom: .5em; }
.services p { color: var(--mist); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.credits { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.credits li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.credits li span:last-child { color: var(--mist); }
.press { color: var(--mist); }
.press-list li { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 6px 24px; }
.press-list li a { text-decoration: none; font-family: var(--caps); font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }
.press-list li span { color: var(--mist); }
@media (max-width: 600px) { .press-list li { grid-template-columns: 1fr; } }
.signature { font-style: italic; margin-top: 1.4em; }

/* Project page */
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--ink); }
.specs > div { padding: 18px 18px 20px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--mist); font-size: .85em; }
.specs dd { margin: 4px 0 0; font-size: clamp(22px, 1.3vw + 12px, 28px); line-height: 1.2; font-variant-numeric: lining-nums; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.gallery figure { margin: 0; }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure.wide img { aspect-ratio: 16 / 9; }
/* Three of the Sweet Maryi files are stored rotated a quarter turn. Until they are
   re-exported upright, stand them up here: the frame carries the upright aspect and the
   image is laid in sideways, sized to the frame's own height, so nothing is cropped. */
.gallery .shot { position: relative; overflow: hidden; aspect-ratio: 700 / 513; }
.gallery .shot img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery .shot.rot90 img { left: 50%; top: 50%; width: calc(100% * 513 / 700); height: auto; max-width: none; object-fit: fill; transform: translate(-50%, -50%) rotate(-90deg); }
.gallery figcaption { padding-top: 10px; color: var(--mist); font-size: .9em; }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr; } }
.private-note { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
@media (max-width: 860px) { .private-note { grid-template-columns: 1fr; } }
.pager { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pager a { text-decoration: none; }

/* Questions */
.faq { border-top: 1px solid var(--ink); max-width: 52em; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative; font-size: clamp(21px, 1vw + 13px, 25px); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; color: var(--teal); font-size: 1.1em; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 26px; max-width: 40em; color: var(--mist); }
.faq-group { margin-top: clamp(56px, 6vw, 88px); }
.faq-group > h2 { margin-bottom: .7em; }

/* Journal */
.posts { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); max-width: 60em; }
.posts li { border-bottom: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 24px; padding: 28px 0; text-decoration: none; }
.posts time { color: var(--mist); font-variant-numeric: lining-nums; }
.posts h2 { font-size: clamp(25px, 1.4vw + 14px, 34px); }
.posts p { margin: .5em 0 0; color: var(--mist); }
@media (max-width: 600px) { .posts a { grid-template-columns: 1fr; gap: 6px; } }
.article { max-width: 36em; }
.article h2 { font-size: clamp(26px, 1.6vw + 14px, 36px); margin: 1.6em 0 .5em; }
.article .meta { color: var(--mist); margin-bottom: 2em; }
.article figure { margin: 2em 0; }

/* Forms */
.form { max-width: 34em; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 6px; color: var(--mist); font-size: .9em; }
.field input, .field textarea, .field select { width: 100%; font: inherit; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 10px 0; border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; border: 1px solid var(--line); border-bottom-color: var(--ink); padding: 12px; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--teal); box-shadow: 0 1px 0 var(--teal); }
.field-err { color: #8A2B1E; font-size: .88em; margin: 6px 0 0; min-height: 0; }
.form-note { margin-top: 14px; color: var(--mist); }
.form-done p { font-size: 1.15em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 120px); }
.contact-grid address { font-style: normal; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Legal */
.legal-text { max-width: 40em; }
.legal-text h2 { font-size: clamp(24px, 1.2vw + 14px, 30px); margin: 1.8em 0 .5em; }
.legal-text p, .legal-text li { color: var(--ink); }

/* Footer */
.site-footer { background: var(--night); color: var(--night-ink); border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 128px) 0 36px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--teal-light); }
.foot-top { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(35,35,31,.14); }
.foot-top .seal { width: 54px; margin-bottom: 26px; }
.foot-top .wordmark { width: 220px; margin-bottom: 24px; }
.foot-top h2 { font-size: 15px; font-family: var(--caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; }
.foot-top li { margin-bottom: 8px; }
.foot-top address { font-style: normal; color: var(--night-mist); }
.foot-motto { font-style: italic; font-size: clamp(22px, 1.4vw + 12px, 30px); line-height: 1.3; max-width: 16em; margin-bottom: 26px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; padding-top: 28px; color: var(--night-mist); font-size: .9em; }
.foot-base nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linkish:hover { color: var(--gold); }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > div:first-child { grid-column: 1 / -1; } }

/* Enquire band */
.enquire { text-align: left; }
.enquire h2 { max-width: 14em; }
.enquire p { max-width: 30em; color: var(--mist); margin-top: 1em; }
.on-dark.enquire p { color: var(--night-mist); }

/* Preview ribbon */
.preview-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: var(--ink); color: var(--paper); font-family: var(--caps); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; opacity: .82; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; animation: none !important; }
  @view-transition { navigation: none; }
}

/* The group: a real sequence, drawing → image → yacht */
.group { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); counter-reset: g; }
.group li { border-top: 1px solid var(--gold); padding-top: 26px; counter-increment: g; position: relative; }
.group li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.group h3 { margin-bottom: .2em; }
.group .role { font-style: italic; color: var(--gold-deep); margin-bottom: .8em; }
.group p { color: var(--night-mist); }
@media (max-width: 860px) { .group { grid-template-columns: 1fr; gap: 36px; } }

/* Consent notice. Only present when a measurement tag is configured. Sits on the paper,
   not over the content, so it never covers the work. */
.cc { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(35,35,31,.07); }
.cc[hidden] { display: none; }
.cc-in { max-width: 1180px; margin: 0 auto; padding: 22px var(--gutter); display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cc h2 { font-family: var(--caps); font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); margin: 0 0 6px; font-weight: 400; }
.cc p { margin: 0; max-width: 62ch; font-size: .88em; line-height: 1.55; color: var(--ink); }
.cc-act { display: flex; gap: 20px; align-items: center; flex-shrink: 0; }
.cc-act .more { background: none; border: 0; border-bottom: 1px solid var(--teal); color: inherit; cursor: pointer; padding: 0 0 4px; }
@media (max-width: 700px) { .cc-in { gap: 18px; } .cc-act { width: 100%; justify-content: space-between; } }
