/* Homepage: the original first screen, then the arcade.
   The top is the original site's, kept exactly: parchment, the black frigatebird, brass
   labels, its own type (Newsreader, Source Serif 4, Space Grotesk) and its own sizes.
   Below it, a wall at night with four arches. Each arch opens onto one of the site's rooms,
   in that room's colours and type, and each later section is set in the room it leads to. */

/* ================= The top: the original =================
   These rules are the original stylesheet's, as written. Change nothing here without Andre:
   he asked for this screen to stay as it was, down to the bird's file and the type. */

@keyframes fadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes birdIn{from{opacity:0;transform:translateY(34px) rotate(1.2deg)}to{opacity:1;transform:translateY(0) rotate(0deg)}}
.asc-btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:15px 26px;overflow:hidden;font-family:'Space Grotesk',sans-serif;font-size:10.5px;font-weight:600;letter-spacing:.18em;text-decoration:none;transition:color .3s ease,border-color .3s ease}
.asc-btn::before{content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left center;transition:transform .38s cubic-bezier(.4,0,.2,1)}
.asc-btn::after{content:"";position:absolute;inset:3px;border:1px solid;opacity:.22;pointer-events:none;transition:border-color .3s ease}
.asc-btn>b{position:relative;z-index:1;font-weight:600}
.asc-btn:hover::before{transform:scaleX(1)}
.asc-btn:active{transform:translateY(1px)}
.asc-btn--ink{background:#120a00;color:#f5f1e6}
.asc-btn--ink::before{background:#b8963e}
.asc-btn--ink:hover{color:#120a00}
.asc-btn--ink::after{border-color:rgba(250,248,243,.3)}
.asc-btn--ink:hover::after{border-color:rgba(18,10,0,.3)}
.asc-btn--gold{background:#d4b467;color:#120a00}
.asc-btn--gold::before{background:#faf8f3}
.asc-btn--gold::after{border-color:rgba(18,10,0,.2)}
.asc-btn--line{border:1px solid rgba(44,36,22,.55);background:rgba(250,248,243,.5);color:#120a00}
.asc-btn--line::before{background:#120a00}
.asc-btn--line:hover{color:#faf8f3;border-color:#120a00}
.asc-btn--line::after{border-color:rgba(44,36,22,.16)}
.asc-btn--line:hover::after{border-color:rgba(250,248,243,.28)}
.asc-btn--nav{padding:11px 20px;font-size:10px}
.asc-kicker{display:inline-flex;align-items:center;gap:11px;margin:0;font-family:'Space Grotesk',sans-serif;font-size:9.5px;font-weight:600;letter-spacing:.26em}
.asc-kicker::before{content:"";width:22px;height:1px;background:currentColor;opacity:.55}
.asc-kicker--center::after{content:"";width:22px;height:1px;background:currentColor;opacity:.55}
.hero{position:relative;height:100vh;min-height:720px;overflow:hidden;background:#faf8f3}
.hero-art{position:absolute;inset:0;z-index:1;overflow:hidden;pointer-events:none}
.hero-art-pos{position:absolute;right:-3%;top:11%;width:63%;min-width:620px;will-change:transform}
.hero-bird{display:block;width:100%;height:auto;pointer-events:auto;animation:birdIn 1.15s cubic-bezier(.22,1,.36,1) .12s both}
.art-hotspot:focus-visible{outline:1px solid #b8963e;outline-offset:6px}
.hero-copy{position:absolute;left:56px;top:47%;z-index:3;width:440px;transform:translateY(-50%)}
.hero-kicker{margin-bottom:26px;font-size:10px;letter-spacing:.3em;color:#b8963e;animation:fadeUp .7s ease .1s both}
.hero-copy h1{margin-bottom:24px;font-weight:400;font-size:60px;line-height:1.06;letter-spacing:-.01em;color:#2c2416;animation:fadeUp .7s ease .22s both}
.hero-lede{max-width:400px;margin:0 0 38px;font-family:'Source Serif 4',Georgia,serif;font-size:16px;line-height:1.7;color:#5c4f3a;animation:fadeUp .7s ease .34s both}
.hero-ctas{display:flex;gap:12px;animation:fadeUp .7s ease .46s both}
.hero-places{position:absolute;left:56px;right:56px;bottom:22px;z-index:3;display:flex;justify-content:space-between;animation:fadeIn .9s ease .7s both}
.hero-places span{font-family:'Space Grotesk',sans-serif;font-size:9px;font-weight:600;letter-spacing:.24em;color:#a08a6a}
.art-tooltip{position:fixed;left:0;top:0;z-index:60;pointer-events:none;visibility:hidden;will-change:transform}
.art-tooltip-offset{position:absolute;left:12px;bottom:12px;width:272px}
.art-tooltip-card{position:relative;padding:14px 17px 13px;border:1px solid rgba(44,36,22,.28);background:rgba(250,248,243,.96);box-shadow:0 20px 50px rgba(18,10,0,.16),inset 0 1px 0 rgba(255,255,255,.4);opacity:0;transform:translateY(8px);transition:transform .28s cubic-bezier(.22,1,.36,1),opacity .2s ease}
.art-tooltip-card.is-open{opacity:1;transform:translateY(0)}
.art-tooltip-title{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:500;font-size:17px;line-height:1.3;color:#120a00}
.art-tooltip-caption{margin-top:6px;font-family:'Space Grotesk',sans-serif;font-size:8.5px;font-weight:600;letter-spacing:.2em;color:#5c4f3a}
@media (prefers-reduced-motion:reduce){.art-tooltip-card{transform:none;transition:opacity .12s ease}}
@media (max-width:1100px){
  .hero-copy{left:36px;width:400px}
  .hero-copy h1{font-size:52px}
  .hero-places{left:36px;right:36px}
  .hero-art-pos{right:-6%;width:58%;min-width:540px}
}
@media (max-width:860px){
  .hero{display:flex;flex-direction:column;height:auto;min-height:100vh;min-height:100svh}
  .hero-art{position:relative;inset:auto;order:2;flex:none;height:min(62vw,320px)}
  .hero-art-pos{top:-2%;right:-8%;width:100%;min-width:0}
  .hero-copy{position:static;order:3;width:auto;max-width:560px;padding:8px 20px 0;transform:none}
  .hero-copy h1{font-size:37px}
  .hero-places{position:static;order:4;margin-top:auto;padding:36px 20px 18px}
}
@media (max-width:480px){
  .hero-copy h1{font-size:32px}
  .hero-ctas{flex-direction:column;align-items:stretch}
}

/* What the original took from its own page and this one has to say for itself. */
/* The original page set no body font, so its line boxes were the browser's default serif at 16px. */
.hero { height: 100svh; font: 400 16px/normal serif; -webkit-font-smoothing: auto; text-rendering: auto; }
.hero-copy h1 { margin-top: 0; font-family: 'Newsreader', Georgia, serif; font-style: italic; text-wrap: wrap; }
.hero-lede { text-wrap: wrap; }
.asc-kicker { max-width: none; text-transform: uppercase; }
.hero-places span { text-transform: uppercase; }
.asc-btn > b { text-transform: uppercase; }
@media (prefers-reduced-motion: reduce) { .hero * { animation: none !important; } }
/* On a phone the original's nav stood above the bird in two rows; this one is fixed over the
   page, so the bird starts below it. */
@media (max-width: 860px) { .hero-art { margin-top: var(--nav-h); } }

/* The nav, on this page, as the original had it: grotesk capitals, a hairline running from
   the name to the links, the monogram in Cormorant, the inquiry button solid. */
.home .nav { --mono: 'Space Grotesk', Arial, sans-serif; padding-inline: clamp(24px, 4vw, 56px); }
.home .nav__brand { gap: 10px; }
.home .nav__brand svg { width: 32px; height: 32px; }
.home .nav__brand svg circle:first-child { stroke-width: 3.5; }
.home .nav__brand svg text { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; letter-spacing: 3px; }
.home .nav__brand svg rect { display: none; }
.home .nav__brand span { font-size: 10px; font-weight: 600; letter-spacing: .22em; }
.home .nav__links a:not(.btn) { font-size: 9px; font-weight: 600; color: var(--mute); }
.home .nav .btn { min-width: 84px; min-height: 34px; justify-content: center; padding: 0 18px; border-color: var(--line-3); background: var(--line-3); color: var(--ground); font-size: 9px; font-weight: 600; }
.home .nav .btn::after { background: var(--accent); }
.home .nav .btn:hover, .home .nav .btn:focus-visible { color: var(--on-accent); }
@media (min-width: 901px) {
  .home .nav { gap: 0; }
  .home .nav::before { content: ""; order: 1; flex: 1; height: 1px; margin: 0 28px; background: var(--line); }
  .home .nav__links { order: 2; gap: 24px; }
}
@media (max-width: 900px) { .home .nav__links a:not(.btn) { font-size: 2rem; font-weight: 400; color: var(--ink); } .home .nav .btn { min-height: 44px; font-size: 11px; } }

/* ================= The arcade =================
   The wall is taller than the screen by --hold, and the arcade is pinned inside it. For that
   stretch of scrolling the arches stand still and fill the screen, with the nav in the same
   night as the wall, so a mouse wheel lands on them whole whatever its step. */

.hm-wall { --hold: clamp(140px, 20svh, 220px); position: relative; height: calc(max(100svh, 720px) + var(--hold)); }
.hm-wall__view {
  position: sticky; top: 0; display: flex; flex-direction: column; height: max(100svh, 720px); overflow: clip;
  padding: calc(var(--nav-h) + clamp(14px, 3svh, 36px)) max(var(--gutter), (100vw - 1760px) / 2) 0;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(38, 86, 134, .5), transparent 70%),
    linear-gradient(#0b1b2e, #060f1b 70%, #04090f);
}
.hm-wall__view > .light { z-index: 0; --lit: .5; -webkit-mask: linear-gradient(#000 40%, transparent 85%); mask: linear-gradient(#000 40%, transparent 85%); }

/* The wall's two drawn lines: the impost, where the arches spring, and the floor. */
.hm-stage { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.arcade { position: relative; z-index: 2; flex: 1; display: flex; gap: clamp(10px, 1.5vw, 28px); min-height: 360px; padding-bottom: 54px; }
.arcade::before { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 54px; height: 1px; background: var(--line-2); }

.arch {
  --r: 999px;
  position: relative; flex: 1 1 0; min-width: 0; display: block; color: var(--ink); text-decoration: none;
  border-radius: var(--r) var(--r) 0 0;
  transition: flex-grow .9s var(--ease);
}
.arch:hover, .arch:focus-visible { flex-grow: 1.75; outline: none; }
/* The opening: a frame line, a second line outside it, and the room behind. */
.arch__room { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; background-color: var(--ground); background-image: var(--grain); outline: 1px solid rgba(214, 232, 246, .7); outline-offset: 5px; box-shadow: 0 0 0 1px rgba(4, 9, 15, .9), 0 0 60px var(--glow), 0 30px 80px rgba(0, 0, 0, .6); transition: box-shadow .9s var(--ease), outline-color .6s; }
.arch:hover .arch__room, .arch:focus-visible .arch__room { outline-color: var(--accent-hi, #fff); box-shadow: 0 0 0 1px rgba(4, 9, 15, .9), 0 0 110px var(--glow), 0 30px 80px rgba(0, 0, 0, .6); }
/* The light each room throws on the floor. */
.arch::after { content: ""; position: absolute; left: 4%; right: 4%; top: 100%; height: 50px; background: radial-gradient(50% 100% at 50% 0%, var(--glow), transparent 100%); opacity: .7; pointer-events: none; filter: blur(6px); }
/* The pictures carry the arch's own curve, so they keep it while a page transition lifts them out. */
.arch img { position: absolute; max-width: none; border-radius: inherit; transition: transform 1.6s var(--ease); }
.arch--web img { border-radius: 0; }
.arch:hover img, .arch:focus-visible img { transform: scale(1.04); }

.arch__cap { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 60px clamp(14px, 1.5vw, 26px) clamp(16px, 2.6svh, 26px); background: linear-gradient(transparent, color-mix(in srgb, var(--ground) 94%, transparent) 62%); }
.arch__cap b { display: block; font-family: var(--display); font-weight: var(--dw); font-style: var(--ds); line-height: 1; color: var(--ink); white-space: nowrap; }
.arch__cap em { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font: 500 .6875rem/1.3 var(--mono); font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--text); white-space: nowrap; overflow: hidden; }
.arch__cap em i { font: 400 1rem/1 var(--serif); font-style: normal; color: var(--accent-hi, var(--ink)); transition: transform .5s var(--ease); }
.arch:hover .arch__cap em i { transform: translateX(4px); }
.arch__no { position: absolute; left: 0; right: 0; top: calc(100% + 20px); text-align: center; font: 500 .6875rem/1 var(--mono); letter-spacing: .3em; color: rgba(236, 230, 215, .6); }

/* Room I: paper, a red disc, Caesar printed over it. */
.arch--web { --glow: rgba(239, 233, 220, .34); }
.arch--web .arch__disc { position: absolute; left: 50%; top: 31%; width: 86%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); }
.arch--web img { height: 62%; width: auto; left: 50%; top: 11%; translate: -45% 0; }
.arch--web .arch__cap b { font-size: clamp(1.5rem, 2.1vw, 2.5rem); font-style: normal; text-transform: uppercase; letter-spacing: .16em; }
/* Room II: the sea. */
.arch--ib { --glow: rgba(60, 220, 190, .4); }
.arch--ib .arch__room { background: url(/assets/art/sea-water.webp) 50% 0 / cover no-repeat, var(--ground); }
.arch--ib img { left: 50%; top: 5%; height: 78%; width: auto; translate: -50% 0; border-radius: 0; filter: saturate(.84) brightness(.96) hue-rotate(8deg); -webkit-mask: linear-gradient(#000 62%, transparent 96%); mask: linear-gradient(#000 62%, transparent 96%); }
.arch--ib .arch__cap b { font-size: clamp(1.6rem, 2.3vw, 2.8rem); letter-spacing: -.02em; }
/* Room III: the blackboard. */
.arch--ai { --glow: rgba(80, 90, 255, .5); }
.arch--ai .arch__room { background: radial-gradient(80% 60% at 50% 40%, rgba(36, 36, 245, .4), transparent 75%), var(--ground); }
.arch--ai img { left: 50%; top: 4%; height: 76%; width: auto; translate: -50% 0; }
.arch--ai .arch__cap b { font-size: clamp(2.2rem, 3.2vw, 3.9rem); line-height: .9; }
/* Room IV: the dark studio. */
.arch--film { --glow: rgba(226, 200, 150, .3); }
/* He sits in the right half of his picture: 96% puts him in the middle of the arch, with the
   camera and both hands inside it. */
.arch--film img { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 96% 30%; }
.arch--film .arch__cap b { font-size: clamp(1.6rem, 2.2vw, 2.7rem); }

@media (max-width: 900px) {
  /* A finger scrolls freely, so nothing is pinned on a phone. */
  .hm-wall { height: auto; }
  .hm-wall__view { position: static; height: auto; padding-top: clamp(40px, 9vw, 64px); padding-bottom: 20px; }
  .arcade { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; padding-bottom: 40px; }
  .arcade::before { display: none; }
  .arch { height: 62vw; min-height: 250px; }
  .arch:hover, .arch:focus-visible { flex-grow: 1; }
  .arch::after, .arch__no { display: none; }
  .arch__cap { padding: 40px 12px 12px; }
  .arch__cap b { font-size: clamp(1.15rem, 5.4vw, 1.7rem) !important; letter-spacing: 0 !important; white-space: normal; }
  .arch--web .arch__cap b { letter-spacing: .08em !important; }
  .arch__cap em { display: none; }
}

/* ================= Websites: paper, with the work laid on it ================= */

.hm-web { overflow: clip; }
.hm-web::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--line-2); pointer-events: none; }
.hm-web__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 100px); align-items: center; }
.hm-web__copy .label { margin-bottom: 24px; }
.hm-web__copy h2 { margin-bottom: clamp(22px, 2.4vw, 36px); }
.hm-web__copy .link { margin-top: 26px; }
.hm-web { padding-bottom: clamp(60px, 6vw, 110px); }
.hm-note { display: grid; grid-template-columns: 12rem minmax(0, 1fr) auto; gap: 14px clamp(20px, 4vw, 70px); align-items: center; margin-top: clamp(48px, 6vw, 96px); padding-top: 24px; border-top: 1px solid var(--line-3); }
.hm-note .label { color: var(--accent); }
.hm-note p { font-size: 1.04rem; line-height: 1.55; max-width: 62ch; }

/* Two sites and a phone, overlapped like sheets on a table. Each window is a link. */
.work { position: relative; padding-bottom: 84px; }
.screen { display: block; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line-3); box-shadow: 0 30px 60px rgba(40, 30, 14, .22), 0 4px 12px rgba(40, 30, 14, .12); transition: transform .9s var(--ease), box-shadow .9s var(--ease); }
.screen__bar { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line-3); background: var(--ground); }
.screen__bar i { width: 7px; height: 7px; border: 1px solid var(--line-3); border-radius: 50%; }
.screen__bar span { margin-left: 10px; font: 400 .6875rem/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.screen img { width: 100%; }
.work__b { position: relative; z-index: 1; width: 68%; margin-left: 32%; }
.work__a { position: relative; z-index: 2; width: 80%; margin-top: -13%; }
.work__phone { position: absolute; z-index: 3; right: 3%; bottom: 44px; width: 19%; border: 6px solid #14120f; border-radius: 22px; overflow: hidden; background: #14120f; box-shadow: 0 30px 60px rgba(40, 30, 14, .34); transition: transform .9s var(--ease); }
.work__phone img { width: 100%; border-radius: 16px; }
a.screen:hover { transform: translateY(-8px); box-shadow: 0 44px 80px rgba(40, 30, 14, .28), 0 6px 16px rgba(40, 30, 14, .14); }
.work:has(.work__a:hover) .work__phone { transform: translateY(-8px); }
.work__caps { position: absolute; left: 0; right: 26%; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
.work__caps li { display: grid; gap: 3px; padding-top: 12px; border-top: 1px solid var(--line-3); }
.work__caps b { font: italic 500 1.25rem/1.1 var(--cormorant); color: var(--ink); }
.work__caps span { font-size: .95rem; color: var(--text); }
.work__caps a { margin-top: 4px; width: fit-content; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; }
.work__caps a:hover { border-bottom-color: var(--accent); }
@media (max-width: 980px) {
  .hm-web__grid { grid-template-columns: 1fr; }
  .hm-note { grid-template-columns: 1fr; }
  .work { padding-bottom: 0; }
  .work__caps { position: static; margin-top: 26px; }
  .work__phone { bottom: 110px; }
}
@media (max-width: 520px) { .work__caps { grid-template-columns: 1fr; } .work__phone { bottom: 190px; } }

/* ================= Why custom: three figures, then landfall ================= */

/* The claim, then the evidence for each part of it as a figure drawn from real numbers.
   The section ends on the island as it first shows from the sea; its waterline is the seam
   with the sea section below. */
.hm-why { position: relative; padding-bottom: 0; overflow: clip; }
.hm-why__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px clamp(24px, 5vw, 96px); align-items: end; }
.hm-why__head .label { grid-column: 1 / -1; }

.proofs { --gap: clamp(40px, 5.6vw, 108px); position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(48px, 5.4vw, 96px); border-top: 1px solid var(--line-2); }
.proof { position: relative; padding-top: 24px; }
.proof + .proof::before { content: ""; position: absolute; left: calc(var(--gap) / -2); top: 0; bottom: 0; width: 1px; background: var(--line); }
.proof__no { margin-bottom: 14px; font: 500 .6875rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-hi); }
.proof h3 { margin-bottom: clamp(20px, 2vw, 32px); }
.proof p { font-size: 1.02rem; line-height: 1.56; }
.proof__more { margin-top: 20px; }
.proof .proof__src { margin-top: 16px; font: 400 .8125rem/1.5 var(--mono); letter-spacing: .02em; color: var(--text); }

/* Landfall: pale ink on the dark ground, a red sun half set on the horizon. */
.landfall { --h: clamp(130px, 16.2vw, 300px); position: relative; margin: clamp(34px, 4vw, 70px) 0 0; height: var(--h); border-bottom: 1px solid var(--line-2); pointer-events: none; }
/* The picture carries its own outline as alpha, so the island stands in front of the sun. */
.landfall img { position: absolute; left: 50%; bottom: 0; width: auto; max-width: none; height: 100%; translate: -50% 0; }
.landfall__sun { position: absolute; left: calc(50% - var(--h) * 1.62); bottom: calc(var(--h) * .2); width: calc(var(--h) * .74); aspect-ratio: 1; border-radius: 50%; background: var(--accent); }

@media (max-width: 980px) {
  .hm-why__head, .proofs { grid-template-columns: 1fr; }
  .proof + .proof { margin-top: 54px; border-top: 1px solid var(--line-2); }
  .proof + .proof::before { display: none; }
  .proofs { border-top: 0; }
  .proof:first-child { border-top: 1px solid var(--line-2); }
  .pf { max-width: 440px; }
  .landfall__sun, .hm-ib::before { left: 7%; }
}

/* ================= IslandBook: the sea, with the product in it ================= */

.hm-ib { overflow: clip; background: radial-gradient(60% 60% at 76% 30%, rgba(20, 150, 140, .34), transparent 70%), var(--ground); }
/* The sun that stands on the horizon above lies broken on the water here. */
.hm-ib::before { --h: clamp(130px, 16.2vw, 300px); content: ""; position: absolute; z-index: 0; top: 0; left: calc(50% - var(--h) * 1.62); width: calc(var(--h) * .74); height: calc(var(--h) * .8); background: repeating-linear-gradient(rgba(238, 90, 67, .55) 0 2px, transparent 2px 10px); -webkit-mask: radial-gradient(50% 100% at 50% 0, #000 10%, transparent 100%); mask: radial-gradient(50% 100% at 50% 0, #000 10%, transparent 100%); pointer-events: none; }
.hm-ib > .light { --lit: .5; -webkit-mask: linear-gradient(transparent, #000 40%); mask: linear-gradient(transparent, #000 40%); }
.hm-ib > .wrap { position: relative; z-index: 1; }
.hm-ib__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 4vw, 80px); align-items: center; }
.hm-ib__word {
  display: block; margin-bottom: 18px; font: 900 clamp(2.1rem, 3.7vw, 4.6rem)/.82 var(--bodoni); font-optical-sizing: none; font-variation-settings: "opsz" 22; white-space: nowrap; letter-spacing: -.015em; text-transform: uppercase;
  background: url(/assets/art/sea-surface.webp) 40% 50% / 150% auto; -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.12) brightness(1.08);
}
.hm-ib__copy h2 { margin-bottom: clamp(20px, 2.2vw, 32px); font-size: clamp(1.8rem, 2vw + .8rem, 3rem); }
.hm-ib__copy .btn { margin-top: 30px; }
.hm-ib__product { position: relative; display: block; padding: 0 0 9% 13%; text-decoration: none; color: var(--ink); }
.hm-ib__dash { width: 100%; border-radius: 10px; box-shadow: 0 0 0 1px rgba(196, 248, 236, .6), 0 0 70px rgba(60, 220, 190, .2), 0 40px 90px rgba(0, 0, 0, .6); transition: transform .9s var(--ease); }
.hm-ib__phone { position: absolute; left: 0; bottom: 0; width: 26%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .6)); transition: transform .9s var(--ease); }
.hm-ib__product:hover .hm-ib__dash { transform: translateY(-6px); }
.hm-ib__product:hover .hm-ib__phone { transform: translateY(-12px); }
.hm-ib__try { position: absolute; right: 0; bottom: 0; display: inline-flex; gap: .9em; padding-bottom: 7px; border-bottom: 1px solid var(--accent); font: 500 .6875rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.hm-ib__try i { font-style: normal; }
.hm-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 40px); margin: clamp(48px, 6vw, 96px) 0 0; border-top: 1px solid var(--line-2); }
.hm-facts div { padding: 18px 0 0; }
.hm-facts dt { margin-bottom: 8px; font: 500 .6875rem/1.4 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--label); }
.hm-facts dd { margin: 0; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.hm-ib__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-top: clamp(36px, 4vw, 60px); padding-top: 22px; border-top: 1px solid var(--line); }
.hm-ib__note p { font-size: 1.02rem; max-width: 62ch; }
@media (max-width: 980px) {
  .hm-ib__grid { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .hm-ib__try { position: static; margin-top: 24px; }
  .hm-ib__product { padding-bottom: 0; }
  .hm-ib__phone { bottom: 44px; }
}
@media (max-width: 520px) { .hm-facts { grid-template-columns: 1fr; } }

/* ================= Who we build for: a mosaic floor ================= */

/* Eight panels set into a pale tessera floor, in two courses of four. Each panel carries its
   own white margin and dark border, so panels that touch read as one pavement. */
.hm-trades { padding-bottom: clamp(70px, 7vw, 120px); background-image: linear-gradient(rgba(231, 216, 197, .44), rgba(231, 216, 197, .44)), url(/assets/art/mosaic-field.webp); background-size: auto, 760px; }
.hm-trades__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 4.6vw, 76px); }
.hm-trades__head p { justify-self: end; }
.pavement { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 3.4vw, 56px) clamp(12px, 1.5vw, 28px); margin-block: 0; padding: 0; list-style: none; }
.tile a { display: block; height: 100%; color: inherit; text-decoration: none; }
.tile__pic { display: block; overflow: hidden; }
.tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.6s var(--ease); }
.tile a:hover img { transform: scale(1.035); }
.tile h3 { margin: clamp(14px, 1.4vw, 22px) 0 6px; font: 500 clamp(1.3rem, .7vw + 1.05rem, 1.75rem)/1.1 var(--cormorant); color: var(--ink); }
.tile p { margin: 0; max-width: 30ch; font-size: 1rem; line-height: 1.46; }
.tile__go { display: inline-block; margin-top: 12px; font: 500 .75rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); }
.tile__go i { display: inline-block; font-style: normal; transition: transform .5s var(--ease); }
.tile a:hover .tile__go i { transform: translateX(5px); }
@media (max-width: 980px) {
  .hm-trades__head { grid-template-columns: 1fr; }
  .hm-trades__head p { justify-self: start; }
  .pavement { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .tile p { font-size: .95rem; } }

/* ================= More ways: each row is the room it leads to ================= */

/* One ship runs down through the four rows. Each row prints its own slice of her in its own
   ink, so the drawing is used as a mask and the seams fall between the tiers of sail. */
.hm-more { --bh: clamp(186px, 11vw, 210px); --ship-h: calc(var(--bh) * 4); --ship-w: calc(var(--ship-h) * 2 / 3); }
.hm-more__head { position: relative; padding-block: clamp(70px, 8vw, 130px) clamp(34px, 4vw, 60px); }
.hm-more__head .wrap { position: relative; }
/* The bird keeps station over the masthead. */
.hm-more__bird { position: absolute; right: calc(var(--ship-w) * .5 - (100vw - min(var(--wrap), 100vw - 2 * var(--gutter))) / 2 + 60px); bottom: calc(clamp(34px, 4vw, 60px) * -1 + 26px); width: clamp(120px, 10vw, 190px); height: auto; opacity: .92; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .5)); pointer-events: none; }

/* One set of column tracks for every band, so numbers, titles and text line up. */
.band { position: relative; display: block; height: var(--bh); overflow: hidden; text-decoration: none; color: var(--text); border-top: 1px solid var(--line); isolation: isolate; }
.band__in { position: relative; z-index: 2; display: grid; grid-template-columns: 3.2rem clamp(13rem, 21vw, 26rem) minmax(0, 23rem); gap: clamp(16px, 2.2vw, 40px); align-items: center; height: 100%; padding-right: calc(var(--ship-w) - (100vw - min(var(--wrap), 100vw - 2 * var(--gutter))) / 2 + 40px); }
.band__n { font: 500 .75rem/1 var(--mono); letter-spacing: .16em; color: var(--label); }
.band.w-stone { --accent-hi: #5c4307; --label: #26201a; }
.band h3 { font-family: var(--display); font-weight: var(--dw); font-style: var(--ds); letter-spacing: var(--dls); text-transform: var(--dtt); line-height: var(--dlh); font-size: calc(clamp(1.6rem, 1.5vw + .9rem, 2.8rem) * var(--dscale)); text-wrap: balance; }
.band__body { display: grid; gap: 12px; justify-items: start; }
.band p { font-size: 1.02rem; line-height: 1.5; }
.band__go { font: 500 .75rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hi); white-space: nowrap; transition: transform .5s var(--ease); }
a:hover > .band__go, a.band:hover .band__go { transform: translateX(6px); }
.band__ship {
  position: absolute; z-index: 1; top: -1px; right: clamp(12px, 1.6vw, 34px); width: var(--ship-w); height: var(--bh); background: var(--ink); opacity: .86; transition: background-color .6s var(--ease), opacity .6s;
  -webkit-mask: url(/assets/art/ink-ship.webp) 0 calc(var(--n) * var(--bh) * -1) / var(--ship-w) var(--ship-h) no-repeat; mask: url(/assets/art/ink-ship.webp) 0 calc(var(--n) * var(--bh) * -1) / var(--ship-w) var(--ship-h) no-repeat;
}
/* The row under the pointer lights its own tier. */
.w-stone .band__ship { opacity: 1; }
.band:hover .band__ship, .band:focus-visible .band__ship { background: var(--accent-hi); opacity: 1; }
.band--ox { background-image: linear-gradient(rgba(38, 5, 10, .5), rgba(38, 5, 10, .5)), url(/assets/art/ox-damask.webp); background-size: auto, 420px; }
/* The comparison itself, small: each platform's booking fee as a bar. */
.band__chart { display: grid; gap: 8px; width: 100%; }
.band__chart small { margin-bottom: 2px; font: italic 400 1rem/1.2 var(--serif); color: var(--text); }
.band__chart span { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr) 6rem; gap: 12px; align-items: center; font: 500 .6875rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.band__chart b { font-weight: 500; }
.band__chart i { height: 9px; background: linear-gradient(90deg, var(--mute) calc(var(--v) * 1%), transparent 0); }
.band__chart em { font-style: normal; white-space: nowrap; }
.band__chart .is-us { color: var(--accent-hi); }
.band__chart .is-us i { background: linear-gradient(90deg, var(--accent) calc(var(--v) * 1%), transparent 0); }
.band--ox .band__body { gap: 9px; }
.band--ox .band__body p { font-size: .98rem; line-height: 1.3; }

/* The islands: three paintings hung in a row, each a link. */
.isles { border-top: 1px solid var(--line); padding-block: clamp(40px, 5vw, 80px); }
.isles__in { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: clamp(16px, 2.2vw, 40px); align-items: start; }
.isles__wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 40px); margin: 0; padding: 0; list-style: none; }
.isles__title { margin-bottom: clamp(24px, 2.6vw, 44px); font: italic 400 clamp(1.7rem, 1.5vw + 1rem, 2.9rem)/1.05 var(--fell); color: var(--ink); }
.isles__wall a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.isles__wall .band__go { margin-top: auto; }
.isles__pic { display: block; margin-bottom: 20px; padding: 7px; background: linear-gradient(135deg, #6f5318, #e7cc85 22%, #a37a27 45%, #f3dfa0 62%, #8e6a22 80%, #6a4d15); box-shadow: 0 24px 50px rgba(0, 0, 0, .6); overflow: hidden; }
.isles__pic img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: var(--op, 50% 50%); box-shadow: 0 0 0 2px #17120a; transition: transform 1.6s var(--ease); }
.isles__wall a:hover img { transform: scale(1.04); }
.isles__wall h3 { margin-bottom: 8px; font: italic 400 clamp(1.4rem, 1vw + 1rem, 2rem)/1.05 var(--fell); color: var(--ink); }
.isles__wall p { margin-bottom: 14px; font-size: 1.02rem; line-height: 1.5; }

/* Narrower than this the ship no longer clears the words, so she is shown whole, small, by
   the heading, and the rows carry words only. */
@media (max-width: 1180px) {
  .band { height: auto; }
  .band__ship { display: none; }
  .band__in { grid-template-columns: 3.2rem minmax(0, 34rem); gap: 8px 14px; align-items: start; height: auto; padding: 26px 0 30px; }
  .band__in > :not(.band__n) { grid-column: 2; }
  .band__body { margin-top: 4px; }
  .hm-more__bird { display: none; }
  .hm-more__head .wrap { padding-right: 150px; min-height: 150px; display: grid; align-items: end; }
  .hm-more__head .wrap::after { content: ""; position: absolute; right: 0; bottom: -10px; width: 112px; aspect-ratio: 2 / 3; background: var(--ink); opacity: .8; -webkit-mask: url(/assets/art/ink-ship.webp) center / contain no-repeat; mask: url(/assets/art/ink-ship.webp) center / contain no-repeat; }
}
@media (max-width: 760px) {
  .hm-more__head .wrap { padding-right: 104px; min-height: 130px; }
  .hm-more__head .wrap::after { width: 84px; }
  .isles__in { grid-template-columns: 1fr; }
  .isles__wall { grid-template-columns: 1fr; row-gap: 40px; }
}

/* ================= Contact ================= */

.hm-contact { background: linear-gradient(#071321, #040b15 40%); }
.hm-contact .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 6vw, 120px); align-items: center; }
/* The Crest of a Wave, mounted as the original site mounted it: a parchment panel in a brass
   line, drafting rules across it, and the ship standing out of the panel top and bottom. */
.crest { position: relative; isolation: isolate; aspect-ratio: 4 / 5; margin: 0; }
.crest__panel { position: absolute; z-index: 0; left: 4%; top: 12%; width: 80%; height: 72%; border: 1px solid rgba(212, 180, 103, .72); background: #e8e1d2; }
.crest__panel::after { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(44, 36, 22, .22); }
.crest__rules { position: absolute; z-index: 2; left: 8%; top: 16%; width: 82%; height: 71%; border-left: 1px solid rgba(44, 36, 22, .3); border-bottom: 1px solid rgba(44, 36, 22, .3); }
.crest__rules::before, .crest__rules::after { content: ""; position: absolute; background: rgba(44, 36, 22, .18); }
.crest__rules::before { left: -7%; right: -7%; top: 31%; height: 1px; }
.crest__rules::after { top: -6%; bottom: -6%; left: 58%; width: 1px; }
.crest img.islandbook-vessel { position: absolute; z-index: 3; left: 45%; bottom: 0; height: 97%; width: auto; max-width: none; transform: translateX(-50%); }
@media (max-width: 900px) {
  .hm-contact .wrap { grid-template-columns: 1fr; }
  .crest { width: min(100%, 400px); margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) { .arch, .band__in { transition: none; } }
