.portrait-frame { width: 100%; aspect-ratio: auto; overflow: visible; }
.portrait-frame img { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; object-position: center; }
.custom-content { max-width: 900px; }
.custom-content h2 { margin-bottom: 20px; }
.custom-subtitle { max-width: 760px; margin-bottom: 38px; color: var(--primary); font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; }
.custom-blocks { max-width: 780px; }
.custom-blocks h3 { margin: 38px 0 14px; }
.custom-blocks h4 { margin: 28px 0 10px; font-family: var(--sans); font-size: 1.05rem; font-weight: 750; letter-spacing: 0; }
[data-corners="soft"] { --radius: 10px; --radius-lg: 16px; }
[data-corners="square"] { --radius: 2px; --radius-lg: 4px; }

/* v1.4: calmer typography and a complete, uncluttered navigation drawer. */
h1 { font-size: clamp(2.25rem, 4.15vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 3.15rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.55rem); }

.header-inner { gap: 16px; }
.main-nav { display: none; }
.site-header .language-switcher { margin-left: auto; }
.menu-toggle { display: grid; flex: 0 0 auto; margin-left: 0; cursor: pointer; }
.menu-backdrop { position: fixed; z-index: 98; inset: 82px 0 0; display: block; border: 0; background: #203e426b; opacity: 0; visibility: hidden; cursor: default; transition: opacity .3s, visibility .3s; }
.menu-backdrop.open { opacity: 1; visibility: visible; }
.mobile-panel { position: fixed; z-index: 99; top: 82px; right: 0; bottom: 0; left: auto; display: block; width: min(460px, 100%); overflow-y: auto; transform: translateX(100%); border-left: 1px solid var(--border); background: var(--bg); box-shadow: -24px 30px 60px #29333120; opacity: 0; visibility: hidden; transition: transform .3s, opacity .3s, visibility .3s; }
.mobile-panel.open { transform: none; opacity: 1; visibility: visible; }
.mobile-nav { display: grid; padding: 30px 34px 18px; }
.mobile-nav a { position: relative; padding: 13px 2px; border-bottom: 1px solid var(--border); font-family: var(--serif); font-size: clamp(1.02rem, 2vw, 1.25rem); line-height: 1.3; text-decoration: none; }
.mobile-nav a::after { position: absolute; right: 3px; color: var(--accent); content: "↗"; font-family: var(--sans); font-size: .8rem; opacity: 0; transition: opacity .2s, transform .2s; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav a:hover::after { transform: translate(2px, -2px); opacity: 1; }
.mobile-actions { display: grid; gap: 16px; padding: 18px 34px 38px; }
.mobile-actions .language-switcher { display: flex; width: max-content; margin: 0; }

/* The second introductory paragraph is part of the supplied content. */
.hero-copy p:nth-child(2) { display: block; }
.hero-grid { grid-template-columns: minmax(0, .96fr) minmax(420px, 1.04fr); gap: clamp(42px, 6vw, 86px); }
.hero-visual { width: 100%; max-width: 640px; }
.hero-photo { aspect-ratio: auto; padding: 10px; border-radius: var(--radius-lg); background: #fbf7f0; box-shadow: 0 20px 55px #29333112; }
.hero-photo img { width: 100%; height: auto; object-fit: contain; border-radius: calc(var(--radius-lg) - 7px); }
.hero-photo::after { display: none; }

/* Preserve every photograph's original proportions; no cover-cropping. */
.slider { width: 100%; max-width: 680px; justify-self: end; background: #e6ddd0; }
.slider-viewport { aspect-ratio: 4 / 3; }
.slide { display: grid; place-items: center; background: #e6ddd0; }
.slide img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

@media (max-width: 900px) {
  .site-header .language-switcher, .site-header .header-cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { width: 100%; max-width: 680px; justify-self: center; }
  .slider { max-width: 680px; justify-self: center; }
}

@media (max-width: 620px) {
  h1, .hero h1 { font-size: clamp(2.1rem, 10.5vw, 3.05rem); }
  h2 { font-size: clamp(1.75rem, 8.5vw, 2.55rem); }
  .menu-backdrop { inset: 74px 0 0; }
  .mobile-panel { top: 74px; }
  .mobile-nav { padding: 24px 22px 14px; }
  .mobile-nav a { padding: 11px 2px; font-size: 1.05rem; }
  .mobile-actions { padding: 16px 22px 30px; }
  .hero-visual { width: 100%; }
  .hero-note { right: 8px; bottom: 20px; }
  .slider-viewport { aspect-ratio: 4 / 3; }
}
