:root {
  --ink: #29231f;
  --ink-soft: #625851;
  --paper: #f7f2e8;
  --paper-deep: #eee4d2;
  --card: #fffdf8;
  --wine: #79283a;
  --wine-dark: #541b28;
  --brass: #a77b35;
  --green: #365143;
  --line: rgba(41, 35, 31, 0.14);
  --shadow: 0 20px 50px -36px rgba(42, 24, 16, 0.55);
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

.skip-link {
  position: fixed;
  left: 18px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--wine-dark);
  color: white;
  text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 232, 0.96);
  backdrop-filter: blur(10px);
}

.header-row {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.name-line1 { font-family: var(--display); font-size: 19px; font-weight: 700; }
.name-line2 { color: var(--ink-soft); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 0 6px;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { border-color: var(--wine); color: var(--wine); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 12px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 72px;
  background: radial-gradient(circle at 84% 18%, rgba(167, 123, 53, .16), transparent 27%), linear-gradient(135deg, var(--paper) 0%, #f9f4ea 55%, var(--paper-deep) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.eyebrow, .section-label {
  color: var(--wine);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.eyebrow::before { width: 30px; height: 1px; background: var(--brass); content: ""; }

.hero h1 {
  max-width: 770px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.hero h1 em { color: var(--wine); font-weight: 400; }
.hero .lede { max-width: 58ch; margin: 24px 0 0; color: var(--ink-soft); font-size: clamp(17px, 2vw, 20px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--wine);
  border-radius: 7px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--wine); color: white; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-secondary { background: transparent; color: var(--wine); }
.btn-secondary:hover { background: rgba(121, 40, 58, .07); }

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 430px;
  aspect-ratio: 4 / 5;
  justify-self: end;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(121, 40, 58, .28);
  border-radius: 160px 160px 12px 12px;
  background: var(--wine-dark);
  color: white;
  box-shadow: var(--shadow);
}
.hero-photo::after { position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(35, 18, 21, .86)); content: ""; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 61% center; }
.photo-service { position: absolute; z-index: 1; right: 30px; bottom: 30px; left: 30px; display: flex; flex-direction: column; }
.arch-label { color: #d8bc8b; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.arch-time { margin: 5px 0 3px; font-family: var(--display); font-size: 34px; line-height: 1.1; }
.arch-detail { color: rgba(255,255,255,.78); font-size: 14px; }

.facts { background: var(--wine); color: white; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 22px 28px; border-left: 1px solid rgba(255,255,255,.16); }
.fact:first-child { border-left: 0; }
.fact-label { display: block; color: #d8bc8b; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.fact-value { display: block; margin-top: 3px; font-size: 14px; }
.fact-value a { text-underline-offset: 3px; }

.section { padding: clamp(64px, 9vw, 96px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-label { margin-bottom: 9px; }

h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; line-height: 1.15; }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(40px, 8vw, 90px); align-items: start; }
.intro-copy { color: var(--ink-soft); font-size: 18px; }
.intro-copy p:first-child { margin-top: 0; }
.intro-copy p:last-child { margin-bottom: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--card);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: border-color .18s ease, transform .18s ease;
}
.info-card:hover { border-color: rgba(121, 40, 58, .48); transform: translateY(-3px); }
.card-kicker { color: var(--brass); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.info-card h3 { margin: 28px 0 10px; font-family: var(--display); font-size: 25px; line-height: 1.15; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.card-link { margin-top: auto; padding-top: 24px; color: var(--wine); font-size: 13px; font-weight: 700; }

.welcome-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 58px);
  background: var(--green);
  color: white;
}
.welcome-panel h2 { max-width: 650px; }
.welcome-panel p { max-width: 62ch; margin: 14px 0 0; color: rgba(255,255,255,.78); }
.welcome-panel .btn { border-color: white; background: white; color: var(--green); white-space: nowrap; }

.page-hero { padding: clamp(54px, 8vw, 86px) 0 48px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, var(--paper), var(--paper-deep)); }
.page-hero h1 { max-width: 800px; margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 58px); letter-spacing: -.025em; line-height: 1.06; }
.page-hero p { max-width: 62ch; margin: 18px 0 0; color: var(--ink-soft); font-size: 18px; }
.page-hero-feature { padding-block: clamp(44px, 6vw, 68px); }
.feature-hero-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 76px); align-items: center; }
.page-photo { overflow: hidden; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--paper-deep); box-shadow: var(--shadow); }
.page-photo img { width: 100%; height: 100%; object-fit: cover; }

.content-section { padding: clamp(52px, 8vw, 82px) 0; }
.content-columns { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 7vw, 72px); align-items: start; }
.prose { max-width: 70ch; }
.prose h2 { margin: 42px 0 12px; font-size: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose a { color: var(--wine); text-underline-offset: 3px; }

.side-panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--card); box-shadow: var(--shadow); }
.side-panel h3 { margin: 0 0 18px; font-family: var(--display); font-size: 20px; }
.side-panel dl { margin: 0; }
.side-panel dt { margin-top: 17px; color: var(--brass); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.side-panel dt:first-child { margin-top: 0; }
.side-panel dd { margin: 4px 0 0; font-size: 15px; }
.side-panel a { color: var(--wine); text-underline-offset: 3px; }
.map-frame { overflow: hidden; margin-top: 24px; border-radius: 7px; aspect-ratio: 4 / 3; background: var(--paper-deep); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.link-list { display: grid; gap: 12px; margin-top: 28px; }
.link-list a { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 16px 0; color: var(--ink); font-weight: 700; text-decoration: none; }
.link-list a:hover { color: var(--wine); }

.site-footer { padding: 58px 0 24px; background: var(--wine-dark); color: rgba(255,255,255,.74); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.footer-brand { color: white; font-family: var(--display); font-size: 21px; font-weight: 700; }
.site-footer p { margin: 12px 0 0; font-size: 14px; }
.site-footer h2 { margin: 0 0 13px; color: #d8bc8b; font-family: var(--body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { display: block; width: fit-content; margin: 7px 0; color: inherit; font-size: 14px; text-decoration: none; }
.site-footer a:hover { color: white; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 46px; border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; font-size: 12px; }

@media (max-width: 860px) {
  .hero-grid, .intro-grid, .content-columns, .feature-hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 560px; aspect-ratio: 16 / 10; justify-self: start; border-radius: 120px 120px 12px 12px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .welcome-panel { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); padding-inline: 24px; }
  .fact:first-child { border-top: 0; }
}

@media (max-width: 760px) {
  .wrap { width: min(calc(100% - 36px), var(--max)); }
  .header-row { min-height: 70px; flex-wrap: wrap; gap: 12px; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 10px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 2px; border-bottom: 1px solid var(--line); }
  .main-nav a.active { border-bottom-color: var(--wine); }
  .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .name-line2 { display: none; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: 40px; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 100px 100px 10px 10px; }
  .photo-service { right: 22px; bottom: 22px; left: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
