:root {
  --ink: #272321;
  --ink-soft: #554e49;
  --paper: #f5f2ef;
  --paper-2: #e6e0db;
  --paper-3: #d7cec7;
  --line: rgba(39,35,33,.15);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(39,35,33,.14);
  --radius: 26px;
  --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}
body.lightbox-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: var(--container); margin: 0 auto; }

.kicker {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.kicker.light { color: rgba(255,255,255,.64); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: .96; letter-spacing: -.045em; }
h2 { font-size: clamp(3rem, 7.5vw, 6.3rem); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,242,239,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { width: 180px; display: block; }
.brand img { width: 100%; height: 62px; object-fit: contain; }
.navigation { display: flex; align-items: center; gap: 30px; }
.navigation a {
  position: relative;
  padding: 12px 0;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.navigation a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.navigation a:hover::after, .navigation a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.menu-button span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  min-height: calc(100svh - 84px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 77% 18%, rgba(255,255,255,.95), transparent 21%),
    linear-gradient(135deg, #faf8f6 0%, #eee9e5 56%, #d9d1cb 100%);
}
.hero-pattern {
  position: absolute;
  inset: 0 0 0 47%;
  opacity: .42;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 26px, rgba(39,35,33,.12) 26px 28px, rgba(255,255,255,.28) 28px 31px);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 62px;
  padding: 90px 0 110px;
}
.hero-copy { min-width: 0; }
.hero h1 { margin-bottom: 34px; font-size: clamp(4rem, 9.6vw, 8.7rem); }
.hero h1 span { display: block; font-size: 1.08em; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 15px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--white); }
.button.secondary:hover { background: var(--ink); color: var(--white); }
.email-link { display: inline-block; color: var(--ink-soft); text-underline-offset: 5px; overflow-wrap: anywhere; }
.hero-visual { display: grid; place-items: center; }
.logo-card {
  width: min(500px, 100%);
  padding: 24px;
  border: 1px solid rgba(39,35,33,.14);
  background: rgba(255,255,255,.58);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.logo-card img { width: 100%; height: auto; }

.intro-section { padding: 110px 0; }
.intro-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 52px; align-items: stretch; }
.section-title { display: flex; flex-direction: column; justify-content: center; }
.name-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 48px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.name-panel p {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
}
.slat-lines {
  position: absolute;
  inset: 0 0 0 48%;
  opacity: .25;
  background: repeating-linear-gradient(0deg, transparent 0 20px, var(--ink) 20px 22px);
}

.gallery-section { padding: 110px 0 120px; background: #fff; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 46px; }
.image-count { margin: 0; white-space: nowrap; color: var(--ink-soft); }
.image-count strong { display: block; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 3rem; line-height: 1; }
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-item {
  width: 100%;
  display: block;
  break-inside: avoid;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 12px 32px rgba(39,35,33,.08);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.015); }

.contact-section { padding: 110px 0; background: var(--paper); }
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  padding: clamp(34px, 6vw, 76px);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}
.contact-card h2 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.8rem, 6vw, 5.6rem); }
.contact-email { color: rgba(255,255,255,.82); text-underline-offset: 5px; overflow-wrap: anywhere; }
.phone-list { display: grid; gap: 12px; }
.phone-list a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255,255,255,.05);
}
.phone-list a:hover { background: rgba(255,255,255,.1); }
.phone-list small { color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .13em; }
.phone-list span { font-size: clamp(1.05rem, 2vw, 1.35rem); font-weight: 700; }

.site-footer { padding: 42px 0; border-top: 1px solid var(--line); background: var(--paper-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.footer-grid img { width: 190px; height: auto; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 4px 0; }
.footer-contact a { text-underline-offset: 4px; }
.footer-contact span { padding: 0 5px; opacity: .45; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 62px 76px;
  background: rgba(20,18,17,.95);
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 88vh; display: grid; justify-items: center; gap: 12px; }
.lightbox img { max-width: 100%; max-height: 80vh; width: auto; height: auto; object-fit: contain; box-shadow: 0 25px 80px rgba(0,0,0,.35); }
.lightbox figcaption { color: rgba(255,255,255,.72); font-size: .9rem; }
.lightbox-close, .lightbox-arrow {
  position: absolute;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: var(--white);
  cursor: pointer;
}
.lightbox-close { top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox-arrow { top: 50%; width: 52px; height: 74px; border-radius: 16px; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox-arrow.prev { left: 20px; }
.lightbox-arrow.next { right: 20px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual { animation: enter .65s ease both; }
  .hero-visual { animation-delay: .12s; }
  @keyframes enter { from { opacity: .15; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px) {
  .header-inner { min-height: 76px; }
  .brand { width: 155px; }
  .brand img { height: 54px; }
  .menu-button { display: block; }
  .navigation {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .navigation.open { display: flex; }
  .navigation a { padding: 15px 6px; border-bottom: 1px solid var(--line); }
  .navigation a:last-child { border-bottom: 0; }

  .hero { min-height: auto; }
  .hero-pattern { inset: 48% 0 0; opacity: .22; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 74px 0 82px; }
  .hero h1 { font-size: clamp(3.7rem, 15vw, 6.8rem); }
  .hero-visual { justify-items: start; }
  .logo-card { width: min(560px, 100%); transform: none; }

  .intro-section, .gallery-section, .contact-section { padding: 82px 0; }
  .intro-grid, .contact-card { grid-template-columns: 1fr; }
  .name-panel { min-height: 250px; }
  .gallery-grid { columns: 2; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 26px, 1180px); --radius: 20px; }
  .header-inner { min-height: 70px; }
  .brand { width: 138px; }
  .brand img { height: 49px; }
  .navigation { top: 70px; padding-left: 13px; padding-right: 13px; }
  .hero-grid { padding: 58px 0 70px; }
  .hero h1 { margin-bottom: 28px; font-size: clamp(3.2rem, 18vw, 5.2rem); }
  .hero-contact { display: grid; grid-template-columns: 1fr; }
  .button { width: 100%; }
  .logo-card { padding: 13px; }
  .intro-section, .gallery-section, .contact-section { padding: 68px 0; }
  .intro-grid { gap: 30px; }
  .name-panel { padding: 30px 24px; min-height: 220px; }
  .gallery-heading { align-items: start; flex-direction: column; margin-bottom: 30px; }
  .image-count strong { display: inline; margin-right: 7px; font-size: 2rem; }
  .gallery-grid { columns: 1; }
  .gallery-item { margin-bottom: 14px; border-radius: 14px; }
  .contact-card { gap: 34px; padding: 30px 22px; }
  .phone-list a { align-items: flex-start; flex-direction: column; gap: 5px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
  .footer-contact { text-align: left; }
  .footer-grid img { width: 170px; }
  .lightbox { padding: 68px 12px 40px; }
  .lightbox-arrow { top: auto; bottom: 10px; width: 48px; height: 46px; transform: none; }
  .lightbox-arrow.prev { left: calc(50% - 58px); }
  .lightbox-arrow.next { right: calc(50% - 58px); }
}
