:root {
  --ink: #211a1d;
  --muted: #6f6165;
  --paper: #fffaf4;
  --surface: #ffffff;
  --rose: #7d2638;
  --rose-dark: #4f1624;
  --marigold: #d79a33;
  --jade: #1f6f61;
  --line: #eadfd3;
  --shadow: 0 18px 50px rgba(45, 26, 31, 0.12);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: 0;
  width: min(34vw, 430px);
  aspect-ratio: 696 / 252;
  pointer-events: none;
  background: url("assets/logo-ornament.png") center / contain no-repeat;
  opacity: 0.075;
  mix-blend-mode: multiply;
}

body::before {
  left: -210px;
  top: 22vh;
  transform: rotate(90deg);
}

body::after {
  right: -210px;
  top: 54vh;
  transform: rotate(-90deg);
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(234, 223, 211, 0.88);
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-radius: 6px;
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--rose-dark);
  background: #fff;
}

.nav-links .nav-cta {
  color: #fff;
  background: var(--rose);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  color: #fff;
  background: var(--rose-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 0.65rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  min-height: calc(100vh - 74px);
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.hero-copy {
  max-width: 620px;
}

.gift-note {
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.55rem 0.75rem;
  color: var(--rose-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--marigold);
  border-radius: 6px;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--jade);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  color: var(--rose-dark);
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h3 {
  margin: 0;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 540px;
  margin: 1.4rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  border-radius: 6px;
  padding: 0.82rem 1.1rem;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--rose);
  color: #fff;
}

.button.primary:hover {
  background: var(--rose-dark);
}

.button.secondary {
  background: #fff;
  color: var(--rose-dark);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button.light {
  background: #fff;
  color: var(--rose-dark);
}

.hero-art {
  min-height: 440px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(125, 38, 56, 0.11), rgba(31, 111, 97, 0.1)),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-art img {
  width: min(100%, 620px);
  height: auto;
}

.hero-art.logo-showcase {
  background: #fff;
  padding: clamp(1rem, 3vw, 2rem);
}

.hero-art.logo-showcase img {
  width: min(100%, 560px);
}

.section {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3.25rem, 7vw, 6.5rem) 0;
}

.intro-grid,
.split,
.about-layout,
.contact-layout,
.event-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.intro-grid p,
.split p,
.story p,
.contact-panel p,
.event-feature p {
  color: var(--muted);
  font-size: 1.06rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.text-link {
  color: var(--rose);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.card-grid {
  display: grid;
  gap: 1rem;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.catalogue-card,
.news-card,
.values article,
.timeline article,
.contact-panel,
.contact-form,
.portrait-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(45, 26, 31, 0.08);
}

.service-card {
  display: grid;
  grid-template-rows: 230px auto;
  overflow: hidden;
}

.service-card img,
.catalogue-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f8eee6;
}

.service-card div,
.catalogue-card div,
.news-card,
.timeline article,
.values article {
  padding: 1.25rem;
}

.service-card p,
.catalogue-card p,
.news-card p,
.timeline p,
.values p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-band {
  width: 100%;
  padding: clamp(3rem, 6vw, 5rem) max(1rem, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-dark), #245c55 62%, #7c5a1e);
}

.feature-band .eyebrow {
  color: #ffd792;
}

.feature-band h2 {
  max-width: 720px;
}

.news-list {
  display: grid;
  gap: 0.85rem;
}

.news-list a {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.news-list span,
.catalogue-card span,
.news-card span,
.timeline span {
  color: var(--jade);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.page-hero {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 7rem) 0 clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.1rem;
}

.portrait-panel {
  min-height: 520px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story .lead {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat-row div {
  min-height: 112px;
  padding: 1rem;
  border-left: 4px solid var(--marigold);
  background: #fff;
  border-radius: 8px;
}

.stat-row strong,
.stat-row span {
  display: block;
}

.stat-row span {
  color: var(--muted);
  margin-top: 0.25rem;
  font-size: 0.92rem;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--muted);
  padding: 0.7rem 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.catalogue-card {
  overflow: hidden;
}

.catalogue-card img {
  aspect-ratio: 4 / 3;
}

.catalogue-card.is-hidden {
  display: none;
}

.catalogue-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.45rem 0.75rem;
  color: var(--rose-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.portfolio-grid {
  columns: 3 260px;
  column-gap: 1rem;
}

.portfolio-card {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(45, 26, 31, 0.08);
  cursor: zoom-in;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.portfolio-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portfolio-card img {
  width: 100%;
  height: auto;
}

.lightbox {
  width: min(94vw, 980px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(33, 26, 29, 0.78);
}

.lightbox img {
  width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  right: 0;
  top: -3rem;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  color: #fff;
  background: rgba(33, 26, 29, 0.82);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.event-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.event-feature img {
  width: 100%;
  border-radius: 8px;
  background: #f8eee6;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article {
  min-height: 230px;
}

.news-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.news-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
}

.news-card .text-link {
  margin-top: auto;
  width: fit-content;
}

.contact-panel,
.contact-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  text-decoration: none;
  font-weight: 900;
  color: var(--rose);
}

.social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 900;
}

.date-field {
  display: grid;
  gap: 0.55rem;
}

.contact-form .date-unsure {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
}

.contact-form .date-unsure input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  padding: 0;
  accent-color: var(--rose);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.82rem 0.9rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 3px solid rgba(215, 154, 51, 0.28);
  border-color: var(--marigold);
}

.contact-form input:disabled {
  cursor: not-allowed;
  background: #f8eee6;
  color: var(--muted);
}

.form-status {
  min-height: 1.6rem;
  margin: 0;
  font-weight: 800;
}

.form-status.is-success {
  color: var(--jade);
}

.form-status.is-error {
  color: var(--rose);
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.full {
  grid-column: 1 / -1;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.site-footer .rights-notice {
  max-width: 620px;
  font-size: 0.86rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.footer-links a {
  color: var(--rose);
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  body::before,
  body::after {
    width: 360px;
    opacity: 0.045;
  }

  body::before {
    left: -250px;
  }

  body::after {
    right: -250px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .hero,
  .intro-grid,
  .split,
  .about-layout,
  .contact-layout,
  .event-feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2.75rem;
  }

  .hero-art {
    min-height: 360px;
  }

  .card-grid.three,
  .catalogue-grid,
  .timeline,
  .news-layout,
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  body::before,
  body::after {
    display: none;
  }

  .nav {
    width: min(var(--max), calc(100% - 1rem));
  }

  .hero,
  .section,
  .page-hero,
  .site-footer {
    width: min(var(--max), calc(100% - 1rem));
  }

  .hero-actions,
  .section-heading,
  .feature-band,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .text-link {
    width: 100%;
  }

  .text-link {
    display: inline-flex;
    justify-content: center;
    border: 1px solid currentColor;
    border-radius: 6px;
    padding: 0.75rem;
  }

  .card-grid.three,
  .catalogue-grid,
  .timeline,
  .news-layout,
  .values,
  .stat-row,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-rows: 210px auto;
  }

  .hero-art {
    min-height: 300px;
  }
}
