:root {
  --page-bg: #f7f7f5;
  --surface: #ffffff;
  --surface-soft: #f0f2f6;
  --surface-hero: #f2f2f1;
  --text: #0f1730;
  --text-muted: #5d6474;
  --line: #e3e5ea;
  --accent: #2f63eb;
  --accent-dark: #214dc0;
  --footer: #111a33;
  --shadow: 0 22px 54px rgba(15, 23, 48, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--page-bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell,
.section-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
}

.site-header-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 0 48px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
}

.brand-image-shell {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 32%, #ffffff 68%);
  box-shadow: 0 8px 16px rgba(15, 23, 48, 0.16);
  flex-shrink: 0;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.brand-icon svg,
.search-link svg,
.social-links svg,
.tradition-icon svg {
  width: 100%;
  height: 100%;
}

.site-nav {
  display: inline-flex;
  justify-self: start;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  margin-left: 16px;
  flex-wrap: nowrap;
}

.site-nav a,
.search-link,
.language-button {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav a {
  white-space: nowrap;
  line-height: 1;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}

.search-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.search-link svg {
  width: 14px;
  height: 14px;
}

.language-button {
  padding: 15px 18px 14px;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s ease;
}

.language-button:hover {
  background: var(--accent-dark);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 25;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 780px;
  border-bottom: 1px solid var(--line);
}

.hero-copy,
.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-copy {
  background: linear-gradient(180deg, #fbfbfa 0%, #f8f8f6 100%);
}

.hero-visual {
  background: linear-gradient(180deg, #f3f3f2 0%, #f7f7f6 100%);
  border-left: 1px solid var(--line);
}

.hero-copy-inner {
  width: min(100%, 640px);
  margin-left: auto;
  padding: 180px 48px 110px 48px;
}

.hero-visual-inner {
  position: relative;
  width: min(100%, 640px);
  margin-right: auto;
  padding: 80px 48px 72px 48px;
}

.eyebrow {
  margin-bottom: 34px;
  color: var(--accent);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.36em;
}

.hero-copy h1,
.section-heading h2,
.family-card h3,
.family-link,
.tradition-card h3,
.story-text h3,
.site-footer h2,
.site-footer h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero-copy h1 {
  font-size: 5.7rem;
  line-height: 0.88;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.hero-copy blockquote {
  max-width: 480px;
  margin-top: 44px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  color: #3f4757;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.28rem;
  line-height: 1.08;
  font-style: italic;
}

.portrait-frame {
  width: 100%;
  max-width: 560px;
  margin-left: 0;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff 0%, #eceef2 100%);
  box-shadow: var(--shadow);
}

.hero-portrait {
  width: 100%;
  aspect-ratio: 0.82;
  object-fit: cover;
  filter: grayscale(100%);
}

.location-card {
  position: absolute;
  right: 0;
  bottom: 34px;
  width: 210px;
  padding: 16px 18px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-left: 3px solid var(--accent);
  box-shadow: 0 18px 32px rgba(15, 23, 48, 0.12);
}

.location-label {
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.location-card p:last-child {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.family-section {
  padding: 72px 0 56px;
}

.section-shell {
  padding: 0 48px;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: 4.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.section-heading::after {
  content: "";
  display: block;
  width: 58px;
  height: 3px;
  margin: 16px auto 0;
  background: var(--accent);
}

.family-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.98fr;
  gap: 38px;
  margin-top: 62px;
  align-items: start;
}

.family-placeholder {
  display: grid;
  place-items: center;
  height: 260px;
  margin-bottom: 18px;
  background: #eef1f5;
  overflow: hidden;
  width: 100%; /* Or whatever max-width your layout requires */
  height: auto; /* Let the container grow naturally with the image */
}

.family-placeholder svg {
  width: 54px;
  height: 54px;
  fill: #c9d3e1;
}

.family-photo {
  width: 100%;
  height: 560px;
  object-position: center;
  filter: grayscale(100%);
  width: 100%; /* Take up the full width of the placeholder */
  display: block; /* Best practice: removes the weird gap browsers add below inline images */
  object-fit: contain;
}

.family-card h3 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
}

.family-link {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1.12;
  font-weight: 500;
}

.family-card p:last-child {
  max-width: 330px;
  color: #444d5f;
  font-size: 0.97rem;
  line-height: 1.72;
}

.tradition-card {
  min-height: 434px;
  padding: 28px 30px 24px;
  background: var(--accent);
  color: #ffffff;
  display: flex;
  flex-direction: column;
}

.tradition-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 54px;
}

.tradition-card h3 {
  max-width: 170px;
  margin-bottom: 18px;
  font-size: 2rem;
  line-height: 0.92;
  font-weight: 600;
  font-style: italic;
}

.tradition-card p {
  max-width: 232px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.68;
}

.tradition-link {
  margin-top: auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.tradition-link::after {
  content: "→";
  margin-left: 12px;
}

.story-strip {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  margin-top: 20px;
  background: var(--surface);
  gap: 0;
}

.story-panel {
  min-height: 245px;
}

.story-main-content {
  background: #f7f7f6;
}

.story-text {
  display: flex;
  align-items: center;
  background: #ffffff;
}

.story-inner {
  padding: 24px 26px;
}

.story-text span {
  display: block;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.story-text h3 {
  max-width: 520px;
  font-size: 1.62rem;
  line-height: 1.08;
  font-weight: 500;
}

.story-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: grayscale(100%);
}

.site-footer {
  background: var(--footer);
  color: #f4f5f8;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.7fr 0.7fr;
  gap: 72px;
  padding-bottom: 38px;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer h3 {
  margin-bottom: 16px;
  font-size: 1.16rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(244, 245, 248, 0.82);
  font-size: 0.97rem;
  line-height: 1.72;
}

.site-footer ul {
  list-style: none;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.footer-note {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 20px 48px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(244, 245, 248, 0.36);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.64rem;
}

@media (max-width: 1279px) {
  .site-header-shell,
  .section-shell,
  .footer-note {
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-nav {
    gap: 14px;
    margin-left: 8px;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-copy-inner,
  .hero-visual-inner {
    width: min(100%, 960px);
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-copy-inner {
    padding-top: 88px;
  }

  .family-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tradition-card,
  .site-footer section:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .site-header-shell {
    grid-template-columns: auto auto auto;
    gap: 16px;
    min-height: 74px;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    justify-self: end;
  }

  .menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 24px;
    width: min(340px, calc(100vw - 48px));
    margin: 0;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 20;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
  }

  .header-actions {
    gap: 12px;
  }

  .search-link span {
    display: none;
  }

  .language-button {
    padding: 12px 14px;
  }

  .hero-copy-inner,
  .hero-visual-inner {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .hero-copy h1 {
    font-size: clamp(2.6rem, 16vw, 4.25rem);
  }

  .hero-copy blockquote {
    font-size: 1.08rem;
    line-height: 1.22;
  }

  .location-card {
    position: static;
    width: 100%;
    margin-top: 20px;
  }

  .family-grid,
  .story-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tradition-card,
  .site-footer section:first-child {
    grid-column: auto;
  }

  .story-panel,
  .story-image img {
    min-height: 0;
    height: auto;
  }

  .story-text {
    align-items: flex-start;
  }

  .story-inner {
    padding: 18px 16px;
  }

  .story-text h3 {
    max-width: none;
    font-size: clamp(1.9rem, 8.8vw, 2.5rem);
    line-height: 1.08;
  }

  .story-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  .section-heading h2 {
    font-size: clamp(2.2rem, 11vw, 3rem);
  }
}
