@font-face {
  font-family: "Source Serif 4";
  src: url("assets/source-serif.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("assets/source-serif-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #102f38;
  --marine: #092f3a;
  --deep: #082730;
  --paper: #f8f5ec;
  --mist: #eaece2;
  --foam: #9dd9cd;
  --line: #b4c0b4;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Instrument Sans", Arial, sans-serif;
  --gutter: clamp(22px, 6.4vw, 110px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.5 var(--sans); }
img { display: block; max-width: 100%; }
a, button { color: inherit; }
a { text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; }
h2 { font-size: clamp(3.3rem, 5.4vw, 5.6rem); line-height: .95; letter-spacing: -.063em; }
h2 i { font-weight: 400; }
:focus-visible { outline: 3px solid #ed8e46; outline-offset: 4px; }
.wrap { width: min(1300px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 12px; background: white; color: var(--deep); padding: 12px; transform: translateY(-170%); }
.skip-link:focus { transform: none; }
.masthead { position: relative; z-index: 3; background: var(--marine); color: var(--paper); }
.masthead-inner, #navigation, .brand, .cta, .footer-inner { display: flex; align-items: center; }
.masthead-inner { min-height: 75px; justify-content: space-between; gap: 20px; }
.brand { gap: 10px; white-space: nowrap; font: 500 clamp(1.3rem, 2.2vw, 2.1rem)/1 var(--serif); letter-spacing: -.062em; }
.brand i { font-weight: 400; }
.brand img { width: 35px; height: 36px; object-fit: contain; }
#navigation { gap: clamp(15px, 2.1vw, 33px); font-size: .89rem; font-weight: 550; }
#navigation a { white-space: nowrap; display: inline-flex; gap: 16px; align-items: center; min-height: 44px; }
#navigation a:hover, .to-top:hover { text-decoration: underline; text-underline-offset: .34em; }
.nav-action { border: 1px solid #98aeab; border-radius: 48px; padding-inline: 19px; }
#navigation a[aria-current="page"] { color: var(--foam); text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 2px; }
.nav-toggle { display: none; }
.hero { --coast-position: center 57%; position: relative; isolation: isolate; overflow: hidden; color: var(--paper); background: #09677b; }
.hero-media, .hero-shade { position: absolute; width: 100%; height: 100%; inset: 0; z-index: -2; }
.hero-media { object-fit: cover; object-position: var(--coast-position); }
.surf-fallback { background-position: var(--coast-position); background-repeat: no-repeat; background-size: cover; }
.surf { opacity: 0; }
.surf[data-ready] { opacity: 1; }
.hero-shade { z-index: -1; background: linear-gradient(90deg, rgb(3 35 45 / .66), rgb(3 39 47 / .46) 38%, transparent 76%), linear-gradient(0deg, rgb(4 44 54 / .27), transparent 29%); }
.hero-inner { display: grid; grid-template-columns: 1.13fr 1fr; gap: 3.5vw; align-items: center; min-height: clamp(620px, 47.8vw, 765px); padding-block: clamp(46px, 4.8vw, 80px) clamp(55px, 5.6vw, 85px); }
.hero-credit,.overline { display: flex; align-items: center; gap: .8rem; font: 650 .72rem/1.5 var(--sans); letter-spacing: .13em; text-transform: uppercase; }
.hero-credit span, .overline::before { content: ""; width: 2.1rem; height: 1px; background: currentColor; }
.hero h1 { width: fit-content; margin: clamp(24px, 2.1vw, 36px) 0 22px; font-size: clamp(5rem, 7.9vw, 8.15rem); letter-spacing: -.065em; line-height: .81; }
.hero h1 > span { display: block; }
.outline { text-transform: uppercase; font: 700 .76em/.96 var(--sans); letter-spacing: .028em; }
@supports (-webkit-text-stroke: 1px white) {
  .outline { color: transparent; -webkit-text-stroke: 1.6px #fffdf5; }
}
.hand { font: italic 400 .48em/1.04 "Snell Roundhand", "Apple Chancery", var(--serif); letter-spacing: -.045em; margin: .02em 0 .01em 1.27em; }
.wonder { font-weight: 500; }
.sea { text-align: right; margin-top: .02em; font-size: .77em; line-height: .97; }
.sea i { font-weight: 400; font-size: .74em; word-spacing: .05em; margin-right: .09em; }
.hero-description { max-width: 33ch; font: 400 clamp(1.07rem, 1.37vw, 1.35rem)/1.46 var(--serif); }
.cta { display: inline-flex; min-height: 48px; justify-content: space-between; gap: 24px; border-radius: 99px; padding: 6px 7px 6px 21px; font: 600 .94rem/1.2 var(--sans); }
.ivory { background: var(--paper); color: var(--marine); }
.cta > [aria-hidden] { width: 35px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; color: var(--paper); background: var(--marine); font: 400 1.15rem/1 var(--sans); }
.cta:hover { background: #d0eee4; }
.hero .cta { margin-top: 23px; }
.hero-piece { position: relative; width: min(93%, 478px); aspect-ratio: 1; justify-self: center; }
.hero-crown { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 1px 2px rgb(0 42 52 / .95)) drop-shadow(0 3px 7px rgb(0 47 57 / .8)); }
.hero-shell { position: absolute; width: 59%; height: 56%; object-fit: contain; left: 20.5%; top: 22%; transform: rotate(-16deg); filter: drop-shadow(3px 13px 12px rgb(2 43 50 / .46)); }
.collection { padding: clamp(55px, 6.1vw, 100px) 0 clamp(50px, 5.7vw, 92px); }
.collection-intro { display: grid; grid-template-columns: 1fr 1.13fr; gap: 7vw; align-items: end; }
.collection-lead { max-width: 540px; }
.collection-lead > p, .cone-copy > p:not([class]), .island-copy > p:not([class]), .organizer-copy > p:not([class]) { font-size: clamp(1.02rem, 1.25vw, 1.23rem); line-height: 1.65; }
.figures { display: flex; margin-top: 20px; }
.figures > div { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 7px; }
.figures > div + div { margin-left: 24px; padding-left: 24px; border-left: 1px solid var(--line); }
.figures dt { font: 550 clamp(1.28rem, 1.65vw, 1.75rem)/1.3 var(--serif); letter-spacing: -.045em; }
.figures dd { font-size: .86rem; }
.specimens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #425051; margin: clamp(30px, 3.4vw, 54px) 0 0; padding: 0; list-style: none; }
.specimens li { min-width: 0; background: #0c1416; }
.specimen { display: flex; height: 100%; position: relative; flex-direction: column; background: #0e191a; color: var(--paper); }
.specimen img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.specimen-label { display: flex; align-items: center; justify-content: space-between; padding: 12px clamp(12px, 1.45vw, 24px); gap: 8px; font: 450 clamp(1.08rem, 1.63vw, 1.56rem)/1.2 var(--serif); letter-spacing: -.036em; }
.specimen-label span, .viewer-prev, .viewer-next { display: grid; place-items: center; width: 32px; aspect-ratio: 1; flex: none; border-radius: 50%; border: 1px solid #879795; font: 400 1rem var(--sans); }
.specimen:hover .specimen-label span, .specimen:focus-visible .specimen-label span { background: var(--paper); color: var(--deep); }
.cone-section { padding-block: clamp(57px, 5.9vw, 92px) clamp(35px, 3.5vw, 65px); background: var(--mist); }
.cone-layout { display: grid; grid-template-columns: .83fr 1.17fr; gap: 8vw; align-items: center; }
.overline { color: #396b67; }
.cone-copy h2, .organizer-copy h2, .island-copy h2 { margin: 18px 0 23px; }
.cone-copy > p:not([class]) { max-width: 37ch; }
.cone-figure { position: relative; }
.cone-figure img { width: 100%; height: auto; margin-block: 15px 30px; filter: drop-shadow(2px 13px 10px rgb(38 52 39 / .14)); }
.cone-figure figcaption { display: flex; border-top: 1px solid var(--line); align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; }
.cone-figure figcaption i, .atlas figcaption, .visit-photo figcaption { font: italic 450 1rem/1.4 var(--serif); }
.cone-figure figcaption a, .map-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: .88rem; font-weight: 600; }
.cone-figure a:hover,.map-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.island-section { position: relative; isolation: isolate; overflow: hidden; background: #d7e9e9; }
.island-ribbons { position: absolute; inset: 0 0 auto; z-index: 2; display: block; pointer-events: none; width: 100%; height: clamp(80px, 9vw, 155px); }
.island-layout { display: grid; grid-template-columns: 41% 59%; align-items: start; }
.island-copy { position: relative; z-index: 1; align-self: center; padding: clamp(103px, 10.5vw, 175px) 0 clamp(45px, 4vw, 75px) max(var(--gutter), calc((100vw - 1300px) / 2)); }
.island-copy h2 { font-size: clamp(3.1rem, 5.3vw, 5.65rem); }
.island-copy h2 i { display: block; }
.island-copy h3 { margin: 10px 0; font: 600 1.12rem/1.4 var(--sans); }
.island-copy > p:not([class]) { max-width: 39ch; }
.atlas { min-width: 0; }
.map-open { display: block; position: relative; color: var(--ink); }
.island-atlas {
  display: block;
  width: 100%;
  height: auto;
  mask-image: linear-gradient(to right, transparent, #000 23%), linear-gradient(to top, transparent, #000 12%);
  mask-composite: intersect;
}
.map-link { flex: none; border-radius: 99px; padding: 6px 16px; border: 1px solid #769392; font: 600 .88rem/1.2 var(--sans); }
.atlas figcaption { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px 20px; margin: 4px var(--gutter) clamp(30px, 3vw, 52px) 10%; }
.organizer { padding-block: clamp(62px, 7.3vw, 110px); background: var(--marine); color: var(--paper); }
.organizer-layout { display: grid; grid-template-columns: 1.14fr 1fr; gap: clamp(45px, 7vw, 110px); align-items: center; }
.visit-photo img { width: 100%; height: auto; }
.visit-photo figcaption { margin-top: 14px; color: #d5e3dc; }
.organizer .overline { color: var(--foam); }
.organizer-copy > p:not([class]) { max-width: 43ch; }
.section-link { display: inline-flex; align-items: center; gap: 12px; width: fit-content; min-height: 44px; border-bottom: 1px solid currentColor; font: 600 .94rem/1.25 var(--sans); }
.section-link:hover { text-decoration: underline; text-underline-offset: .28em; }
.cone-copy .section-link,.island-copy .section-link { margin-top: 16px; }
.gallery-link { display: flex; margin: 14px 0 0 auto; }
.visit-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; margin-top: 25px; }
.site-footer { color: var(--paper); background: var(--deep); }
.footer-inner { justify-content: space-between; gap: 18px; padding-block: 30px; }
.footer-inner .brand { display: block; font-size: 1.55rem; }
.footer-inner p { margin-top: 6px; font-size: .85rem; color: #c6d8d3; }
.footer-contact { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; font-weight: 550; }
.footer-contact:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-credit { display: flex; justify-content: flex-end; border-top: 1px solid rgb(198 216 211 / .22); padding-block: 6px; }
.footer-credit a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #c6d8d3; font-size: .75rem; white-space: nowrap; }
.footer-credit a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer-credit img { width: 40px; height: 16px; }
.to-top { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: .87rem; }
[data-inspect], [data-gallery] { cursor: zoom-in; }
.photo-open { display: block; position: relative; }
.photo-open:not(.cone-open)::after { content: "↗"; position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #c4d5cf; background: rgb(6 37 44 / .85); color: white; font: 500 1.1rem/1 var(--sans); }
.viewer { width: min(920px, calc(100vw - 26px)); max-height: calc(100dvh - 26px); padding: 19px; overflow: auto; background: #0d1d20; color: var(--paper); border: 1px solid #778e89; }
.viewer::backdrop { background: rgb(4 25 31 / .86); }
body:has(.viewer[open]) { overflow: hidden; }
.viewer form { display: flex; justify-content: end; margin: 0 0 12px; }
.viewer button { border: 1px solid #829593; border-radius: 99px; color: inherit; background: transparent; min-height: 44px; padding: 4px 16px; }
.viewer button:hover { color: var(--deep); background: var(--paper); }
.viewer-stage { display: grid; height: min(60dvh, 640px); overflow: auto; background: #080d0f; overscroll-behavior: contain; }
.viewer-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.viewer-stage.is-light { background: var(--mist); }
.viewer-stage.is-zoomed { display: block; }
.viewer-stage.is-zoomed img { max-width: none; width: max(135%, var(--natural-width)); height: auto; }
.viewer figcaption { margin-top: 12px; font: 450 clamp(1.35rem, 2.6vw, 2rem)/1.2 var(--serif); }
.viewer-tools { display: flex; justify-content: center; gap: 10px; margin-top: 9px; }
.viewer-tools .viewer-next,.viewer-tools .viewer-prev { width: 44px; padding: 4px; }
@media (prefers-reduced-motion: no-preference) {
  html:not(.waves-managed) .surf-fallback,
  .hero[data-image-motion] .surf-fallback { background-image: url("assets/vagues-animees.webp"); }
  html:not(.waves-managed) body:has(.viewer[open], .photo-fallback :target) .surf-fallback { background-image: none; }
  .cta,.specimen-label span { transition: background .18s ease, color .18s ease; }
  .specimen img { transition: filter .25s; }
  .specimen:hover img { filter: brightness(1.12); }
}
@media (max-width: 900px) {
  :root { --gutter: clamp(22px, 4vw, 40px); }
  .masthead-inner { min-height: 65px; }
  #navigation { gap: 18px; }
  .hero-inner { gap: 1vw; min-height: 555px; }
  .hero h1 { font-size: clamp(4.6rem, 9.3vw, 5.4rem); }
  .hero-piece { width: 94%; }
  .collection-intro { gap: 5%; grid-template-columns: .95fr 1.05fr; }
  .figures > div + div { margin-left: 14px; padding-left: 14px; }
  .specimen-label { padding-inline: 9px; }
  .specimen-label span { width: 25px; }
  .cone-layout,.organizer-layout { gap: 5%; }
}
@media (max-width: 940px) {
  .masthead-inner { flex-wrap: wrap; gap: 0; }
  .brand { font-size: 1.5rem; }
  .brand img { width: 31px; height: 32px; }
  .nav-toggle { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; border: 0; background: transparent; color: inherit; font-size: .95rem; }
  .nav-toggle span { height: 8px; width: 18px; border-block: 1px solid; }
  #navigation { width: 100%; flex-wrap: wrap; padding-block: 4px 12px; column-gap: 18px; row-gap: 0; }
  .nav-toggle:not([hidden])[aria-expanded="false"] + #navigation { display: none; }
  .nav-toggle:not([hidden])[aria-expanded="true"] + #navigation { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; }
  .nav-toggle:not([hidden])[aria-expanded="true"] + #navigation a { padding-block: 8px; border-top: 1px solid #43636b; }
  #navigation .nav-action { padding-inline: 0; border: 0; border-radius: 0; }
}
@media (max-width: 740px) {
  .hero-inner { min-height: 520px; grid-template-columns: 1.2fr 1fr; }
  .hero-description { max-width: 27ch; }
  .hero-credit { font-size: .66rem; }
  .hero-credit span { width: 18px; }
  .hero h1 { font-size: clamp(3.75rem, 9.7vw, 4.65rem); }
  .collection-intro { grid-template-columns: 1fr; gap: 24px; }
  .collection-lead { max-width: 48ch; }
  .specimens { grid-template-columns: 1fr 1fr; }
  .specimen-label { padding: 12px 14px; }
  .specimen-label span { width: 29px; }
  .cone-layout { gap: 4vw; }
  .cone-copy h2,.organizer-copy h2 { font-size: clamp(2.7rem, 6vw, 3.7rem); }
  .island-ribbons { height: clamp(48px, 10vw, 72px); }
  .island-layout { grid-template-columns: 1fr; }
  .island-copy { padding: 4px var(--gutter) 44px; }
  .island-copy h2 i { display: inline; }
  .atlas { grid-row: 1; }
  .atlas figcaption { justify-content: space-between; margin: 4px var(--gutter) 28px; }
  .island-atlas { mask-image: linear-gradient(to top, transparent, #000 10%); }
  .island-copy h2 { font-size: clamp(2.6rem, 6vw, 3.5rem); }
  .island-copy h3 { font-size: 1.04rem; }
}
@media (max-width: 540px) {
  .masthead-inner { min-height: 60px; }
  .hero-inner { position: relative; display: grid; grid-template-columns: 1.55fr 1fr; gap: 0 15px; min-height: 0; padding-block: 35px 44px; }
  .hero-copy { display: contents; }
  .hero-credit, .hero h1 { grid-column: 1 / -1; }
  .hero { --coast-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(4 39 49 / .66), rgb(6 45 49 / .35) 62%, rgb(5 40 49 / .07)),linear-gradient(0deg, rgb(6 44 50 / .33), transparent 41%); }
  .hero h1 { margin: 26px 0 21px; font-size: clamp(3.8rem, 18vw, 5.6rem); }
  .hero-piece { grid-column: 2; grid-row: 3 / span 2; width: 100%; margin: 0; align-self: start; }
  .hero-description { grid-column: 1; grid-row: 3; max-width: 27ch; }
  .hero .cta { width: max-content; grid-column: 1 / -1; grid-row: 4; margin-top: 22px; }
  .collection,.cone-section,.organizer { padding-block: 49px; }
  h2,.cone-copy h2,.organizer-copy h2,.island-copy h2 { font-size: clamp(3.02rem, 12.2vw, 4rem); }
  .collection-intro { gap: 19px; }
  .figures { margin-top: 18px; }
  .figures > div { display: block; }
  .figures > div + div { padding-left: 22px; margin-left: 22px; }
  .specimens { gap: 1px; }
  .specimen-label { font-size: 1rem; padding: 10px; min-height: 49px; }
  .specimen-label span { width: 23px; font-size: .84rem; }
  .cone-layout,.organizer-layout { grid-template-columns: 1fr; gap: 28px; }
  .cone-figure img { margin: 0 0 20px; }
  .cone-section { padding-bottom: 20px; }
  .organizer-copy { grid-row: 1; }
  .visit-photo figcaption { margin-top: 9px; }
  .footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 17px 12px; }
  .footer-identity { grid-column: 1 / -1; }
  .footer-inner p { font-size: .82rem; }
  .to-top { justify-self: end; }
  .viewer { padding: 12px; }
}
@media (max-width: 365px) {
  .specimen-label { gap: 4px; padding: 8px; }
  .island-copy h2 i { display: block; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Fragment links keep the photo on the page even when a browser follows the link directly. */
.photo-fallback, .photo-fallback > figure { display: none; }
.photo-fallback:has(:target) { display: block; position: fixed; inset: 0; z-index: 20; }
body:has(.viewer[open]) .photo-fallback { display: none; }
.photo-fallback > figure:target, .photo-fallback > figure:has(.fallback-stage:target) { display: grid; place-items: center; width: 100%; height: 100%; }
body:has(.photo-fallback :target) { overflow: hidden; }
body:has(.photo-fallback :target) > :is(header, main, footer, .skip-link) { interactivity: inert; }
.fallback-backdrop { position: absolute; inset: 0; background: rgb(4 25 31 / .86); }
.fallback-panel { position: relative; width: min(920px, calc(100% - 26px)); max-height: calc(100dvh - 26px); overflow: auto; padding: clamp(12px, 2vw, 19px); border: 1px solid #778e89; color: var(--paper); background: #0d1d20; }
.fallback-stage { height: min(60dvh, 640px); overflow: auto; overscroll-behavior: contain; background: #080d0f; }
.fallback-stage img { width: 100%; height: 100%; object-fit: contain; }
.fallback-stage:target img { max-width: none; width: 175%; height: auto; }
.fallback-panel p { margin-block: .7rem; font: 450 clamp(1.25rem, 2.5vw, 2rem)/1.2 var(--serif); }
.fallback-close, .fallback-zoom, .fallback-fit { display: flex; width: fit-content; align-items: center; gap: .6em; min-height: 44px; padding: 4px 16px; border: 1px solid #829593; border-radius: 99px; cursor: pointer; }
.fallback-close { margin: 0 0 12px auto; }
.fallback-zoom, .fallback-fit { margin-inline: auto; }
.fallback-fit, .fallback-panel:has(.fallback-stage:target) .fallback-zoom { display: none; }
.fallback-panel:has(.fallback-stage:target) .fallback-fit { display: flex; }
