:root {
  --ink: #303638;
  --muted: #626d71;
  --blue: #dceff8;
  --line: #dce3e6;
  --serif: ui-serif, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid #287093;
  outline-offset: 5px;
}
.wrap {
  width: 100%;
  margin-inline: 0;
}
.site-header {
  min-height: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  font-family: var(--serif);
  font-weight: bold;
  font-size: 31px;
  letter-spacing: -1.3px;
}
.brand-mark {
  font: 40px var(--serif);
  vertical-align: -3px;
  margin-right: 9px;
  color: #41738a;
}
.brand-dot {
  color: #608ea4;
}
nav {
  display: flex;
  gap: 38px;
  font-size: 14px;
}
nav a:hover,
.text-link:hover {
  color: #27617e;
}
nav span {
  margin-left: 14px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}
h1 {
  font-size: clamp(58px, 7.6vw, 108px);
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(35px, 4.1vw, 57px);
  letter-spacing: -0.035em;
}
h3 {
  font-size: 28px;
  letter-spacing: -0.02em;
}
em {
  font-weight: 400;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 24px;
}
.hero-copy {
  background: var(--blue);
  padding: 50px 60px 38px;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}
.hero-bottom p {
  margin: 0;
  color: #46565d;
  font-size: 17px;
}
.round-link {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid #698592;
  border-radius: 50%;
  font-size: 28px;
  flex-shrink: 0;
}
.round-link:hover {
  background: white;
}
.hero-image {
  margin: 0;
  position: relative;
}
.hero-image img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: 50% 58%;
}
.hero-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 30px;
  color: white;
  font-size: 12px;
  letter-spacing: 0.09em;
  background: linear-gradient(transparent, #0009);
}
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 100px 60px;
}
.intro p {
  margin-top: 0;
}
.intro .lead {
  font-size: 21px;
  line-height: 1.6;
}
.intro-text > p:last-child {
  color: var(--muted);
}
.stories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding-bottom: 90px;
}
.stories article {
  border-top: 1px solid var(--line);
  padding-top: 23px;
}
.story-number {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.stories h3 {
  margin-top: 20px;
}
.stories p {
  font-size: 16px;
  color: var(--muted);
}
.text-link {
  font-size: 14px;
  border-bottom: 1px solid #819ba8;
  padding-bottom: 5px;
}
.gallery-section {
  background: #f3f8fa;
  padding: 76px 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}
.section-heading .eyebrow {
  margin-bottom: 16px;
}
.photo-count {
  white-space: nowrap;
  font-size: 13px;
  border: 1px solid #b8ccd6;
  border-radius: 40px;
  padding: 6px 15px;
}
.gallery-intro {
  color: var(--muted);
  margin: 20px 0 40px;
}
.masonry {
  columns: 3;
  column-gap: 24px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 28px;
  display: inline-block;
  width: 100%;
}
.gallery-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #dde7eb;
}
.gallery-link img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s;
}
.gallery-link:hover img {
  transform: scale(1.025);
}
.image-open {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  background: white;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.gallery-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  padding-top: 10px;
}
.image-number {
  color: var(--muted);
  font-size: 12px;
}
.closing {
  text-align: center;
  padding-block: 100px;
  max-width: none;
}
.closing p:not(.eyebrow) {
  color: var(--muted);
  margin: 26px 0;
}
.closing h2 em {
  background: linear-gradient(transparent 65%, var(--blue) 65%);
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-footer p,
.site-footer > a:last-child {
  font-size: 12px;
}
.site-footer p {
  color: var(--muted);
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px;
  background: white;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
dialog {
  border: 0;
  width: min(1200px, 96vw);
  max-width: 96vw;
  max-height: 96dvh;
  padding: 20px;
  background: #182024;
  color: white;
}
dialog::backdrop {
  background: #071017e8;
}
dialog figure {
  margin: 10px 0;
  text-align: center;
}
dialog img {
  display: block;
  max-width: 100%;
  height: 70dvh;
  object-fit: contain;
  margin: auto;
}
dialog figcaption {
  padding: 10px;
}
.lightbox-toolbar,
.lightbox-controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
dialog button {
  color: white;
  background: transparent;
  border: 1px solid #6a7a82;
  padding: 8px 16px;
  border-radius: 3px;
}
body.modal-open {
  overflow: hidden;
}
@media (min-width: 1500px) {
  .hero-image img {
    height: 510px;
  }
}
@media (max-width: 900px) {
  .hero-copy {
    padding: 40px;
  }
  .intro {
    gap: 35px;
    padding-top: 70px;
  }
  .stories {
    gap: 25px;
  }
  .masonry {
    columns: 2;
  }
  .section-heading {
    align-items: start;
  }
  .site-footer {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .wrap {
    width: 100%;
  }
  .site-header {
    min-height: 85px;
    gap: 12px;
  }
  .brand {
    font-size: 26px;
  }
  .brand-mark {
    display: none;
  }
  nav {
    gap: 18px;
    font-size: 12px;
  }
  nav span {
    display: none;
  }
  .hero-copy {
    padding: 30px 24px;
  }
  .hero-copy .eyebrow {
    font-size: 10px;
  }
  h1 {
    font-size: 58px;
  }
  .hero-bottom p {
    font-size: 14px;
  }
  .round-link {
    width: 43px;
    height: 43px;
  }
  .hero-image img {
    height: 300px;
  }
  .hero-image figcaption {
    padding: 18px;
    font-size: 10px;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 60px 30px;
  }
  .intro .lead {
    font-size: 19px;
  }
  .stories {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 55px;
  }
  .gallery-section {
    padding-block: 50px;
  }
  .section-heading {
    display: block;
  }
  .photo-count {
    display: inline-block;
    margin-top: 20px;
  }
  .masonry {
    columns: 1;
  }
  .gallery-item {
    margin-bottom: 25px;
  }
  .closing {
    padding-block: 65px;
  }
  .site-footer {
    display: block;
  }
  .site-footer p {
    margin: 9px 0;
  }
  .eyebrow {
    font-size: 11px;
  }
  dialog {
    padding: 12px;
  }
  dialog img {
    height: 60dvh;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .gallery-link img {
    transition: none;
  }
}

/* Full-width header and progressively enhanced mobile navigation. */
.site-header {
  width: 100%;
  max-width: none;
  padding-inline: clamp(20px, 4vw, 60px);
  position: relative;
  z-index: 5;
  background: #fff;
  flex-wrap: wrap;
}
.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--blue);
  color: var(--ink);
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
  top: 22px;
}
.menu-toggle span:first-child {
  transform: translateY(-6px);
}
.menu-toggle span:last-child {
  transform: translateY(6px);
}
.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}
@media (max-width: 760px) {
  .site-header {
    min-height: 85px;
    padding-block: 18px;
    gap: 0;
  }
  .site-header.menu-ready .menu-toggle:not([hidden]) {
    display: block;
    margin-left: auto;
  }
  .site-header nav {
    width: 100%;
    flex-direction: column;
    gap: 0;
    font-size: 16px;
  }
  .site-header nav a {
    display: block;
    padding: 15px 0;
    border-top: 1px solid var(--line);
  }
  .site-header.menu-ready nav {
    display: flex;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      max-height 0.3s ease,
      opacity 0.2s ease,
      transform 0.3s ease,
      visibility 0.3s;
  }
  .site-header.menu-ready.menu-open nav {
    max-height: 70vh;
    overflow: auto;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-toggle span,
  .site-header.menu-ready nav {
    transition: none;
  }
}

/* Inset content with a full-width hero. */
:root {
  --content-inset: clamp(20px, 5vw, 80px);
}
.wrap:not(.hero) {
  width: min(1280px, calc(100% - 2 * var(--content-inset)));
  margin-inline: auto;
}
.hero.wrap {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}
.site-header {
  padding-inline: max(var(--content-inset), calc((100% - 1280px) / 2));
}
.closing > p:not(.eyebrow) {
  max-width: 700px;
  margin-inline: auto;
}
.intro > *,
.stories > * {
  min-width: 0;
}

/* Keep flying photographs inside the page without introducing a scroll container. */
.gallery-section { overflow: clip; }

/* Text labels identify languages clearly on desktop and mobile. */
.language-switch{display:flex;gap:3px;margin-left:auto;border:1px solid var(--line);border-radius:24px;padding:3px;font-size:13px;flex-shrink:0}
.language-switch a{display:grid;place-items:center;min-width:40px;min-height:38px;border-radius:20px}
.language-switch a[aria-current="page"]{background:var(--blue);font-weight:700}
.language-switch a:hover{background:var(--blue)}
@media(max-width:760px){.site-header .language-switch{margin-right:12px}.site-header.menu-ready .menu-toggle:not([hidden]){margin-left:0}}

/* Visible, soft shadows beneath each complete gallery card. */
html[lang="de"] { --gallery-shadow: 160, 168, 174; }
html[lang="fr"] { --gallery-shadow: 118, 186, 226; }
.gallery-item {
  background: #fff;
  box-shadow: 0 5px 9px rgba(var(--gallery-shadow), .24),
              0 13px 22px -5px rgba(var(--gallery-shadow), .46);
  margin-bottom: 38px;
}
.gallery-item figcaption { padding: 12px 14px 14px; }
.gallery-link { box-shadow: none; }
.masonry { padding-block: 4px 24px; }

/* Japanese system fonts and comfortable line breaking. */
html[lang="ja"] { --gallery-shadow:188,0,45; --serif:ui-serif,"Yu Mincho","Hiragino Mincho ProN",serif; --sans:system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; line-break:strict; }
html[lang="ja"] h1{font-size:clamp(40px,6.2vw,88px);line-height:1.35;letter-spacing:0}
html[lang="ja"] h2,html[lang="ja"] h3{line-height:1.5;letter-spacing:0}
html[lang="ja"] .eyebrow{letter-spacing:.06em}
.language-switch a[lang="ja"]{padding-inline:9px}
@media(max-width:380px){.site-header .brand{font-size:23px}.site-header .language-switch{margin-right:6px}.language-switch{gap:0;padding:2px}.language-switch a{min-width:32px}.language-switch a[lang="ja"]{padding-inline:5px}.menu-toggle{width:44px;height:44px}.menu-toggle span{left:11px;top:20px}}
