@font-face {
  font-family: 'Instrument Serif';
  src: url('./assets/instrument-serif.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Serif';
  src: url('./assets/instrument-serif-italic.woff2') format('woff2');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('./assets/dm-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --forest: #101c18;
  --forest-deep: #0c1613;
  --ink: #18241d;
  --ivory: #f4eedc;
  --paper: #f4eedf;
  --gold: #d5bc87;
  --light-muted: #d5d3c2;
  --dark-rule: #4b5246;
  --paper-rule: #bdb4a1;
  --display: 'Instrument Serif', Georgia, serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --gutter: clamp(1.35rem, 6vw, 6.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; background: var(--forest-deep); color: var(--ivory); font: 400 1rem/1.6 var(--body); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
p, h1, h2, figure { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; }
h1 em, h2 em { font-weight: 400; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 5; padding: .6rem .9rem; background: var(--ivory); color: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.wrap { width: min(100% - var(--gutter) * 2, 83rem); margin-inline: auto; }

.opening { background: var(--forest); }
.site-header { position: relative; z-index: 2; }
.header-inner {
  min-height: 5.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--dark-rule);
}

.wordmark { font: 400 1.8rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.wordmark i { color: var(--gold); }
nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3.1rem); }
nav a, .back-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .87rem; text-decoration: none; font-weight: 600; }
nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: .3em; }
nav span, .back-top span { color: var(--gold); }
.arrow { font: 1.15em/1 "DejaVu Sans", "Segoe UI Symbol", system-ui, sans-serif; }

.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(34rem, 51vw, 44rem); padding-block: 4rem 5rem; }
.hero-visual { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-visual img { height: 100%; object-fit: cover; object-position: center 29%; }
.hero-visual::after {
  position: absolute;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, var(--forest) 0%, #101c18 7%, #101c18b8 28%, #101c1800 54%),
    linear-gradient(0deg, #101c18 0%, #101c1800 12%, #101c1800 92%, #101c1866 100%);
}

.hero-copy { max-width: 47%; }
.overline { display: flex; align-items: center; gap: .7rem; color: var(--gold); font-size: .76rem; line-height: 1.35; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.short-rule { width: 1.55rem; height: 1px; flex: 0 0 auto; background: currentColor; }
.hero h1 { margin: 1.15rem 0 1.35rem -.025em; font-size: clamp(5.2rem, 11vw, 10.8rem); line-height: .73; letter-spacing: -.032em; }
.hero h1 em { display: block; color: var(--gold); margin-top: .12em; }
.hero-description { max-width: 20rem; margin: 2.05rem 0 1.6rem; font-size: clamp(1.06rem, 1.43vw, 1.24rem); color: var(--light-muted); line-height: 1.6; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 1.15rem; min-height: 3.15rem; padding: .68rem 1.02rem .68rem 1.15rem; font-size: .92rem; font-weight: 700; text-decoration: none; border: 1px solid transparent; }
.button-gold { background: var(--gold); color: var(--forest-deep); }
.button-gold:hover { background: var(--ivory); }
.button-gold:focus-visible { outline-color: var(--ivory); }
.button span { font-size: 1.15em; }

.paper { background: var(--paper); color: var(--ink); }
.story { padding-block: clamp(4.3rem, 8vw, 7.5rem); }
.story-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(3rem, 8vw, 8.5rem); }
.paper .overline { color: #665333; }
.story h2, .contact h2 { margin: 1.08rem 0 1.45rem; font-size: clamp(3.25rem, 5.9vw, 6rem); line-height: .92; letter-spacing: -.014em; }
.story h2 em { display: block; color: #6d5836; }
.story-copy p:not(.overline) { max-width: 33rem; font-size: 1.03rem; line-height: 1.7; }
.story-copy p + p { margin-top: .95rem; }
.text-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .93rem; font-weight: 700; text-decoration: underline; text-underline-offset: .3em; min-height: 2.75rem; }
.text-link:hover { text-decoration-thickness: 2px; }
.story .text-link { margin-top: .7rem; }
.plate { padding: .58rem; border: 1px solid var(--paper-rule); }
.plate img { aspect-ratio: 3 / 2; object-fit: cover; background: #e9dfc7; }
.castle figcaption { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; margin-top: .85rem; color: #514a3e; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.contact { background: #1a2a23; padding-block: clamp(3.75rem, 7.5vw, 6.4rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: 1.7rem clamp(3rem, 8vw, 8.5rem); }
.contact h2 { margin-bottom: 0; }
.contact h2 em { color: var(--gold); }
.contact-details p { max-width: 31rem; font-size: 1.03rem; color: var(--light-muted); }
.contact-actions { margin: 1.12rem 0 1rem; display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.25rem; }
.contact-details .address { font-size: .86rem; }
.site-footer { background: var(--forest-deep); }
.footer-inner { min-height: 5.45rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-inner p { font-size: .81rem; color: var(--light-muted); }

@media (max-width: 900px) {
  .hero-inner { min-height: 36rem; }
  .hero-visual img { object-position: 58% 26%; }
  .hero-visual::after { background: linear-gradient(90deg, var(--forest) 0%, #101c18cd 22%, #101c183b 50%, #101c1800 72%), linear-gradient(0deg, var(--forest) 0%, #101c1800 17%); }
  .story-grid { gap: 3rem; }
}

@media (max-width: 680px) {
  .header-inner { min-height: 4.35rem; gap: .75rem; }
  .wordmark { font-size: 1.6rem; }
  nav { gap: .9rem; }
  nav a { font-size: .8rem; white-space: nowrap; }
  nav a span { display: none; }
  .hero-inner { align-items: flex-start; min-height: 0; padding-block: 2.6rem clamp(15rem, 65vw, 22rem); }
  .hero-copy { max-width: 100%; }
  .hero h1 { font-size: clamp(3.9rem, 13.7vw, 6.1rem); line-height: .9; margin-block: .82rem .7rem; }
  .hero h1 em { display: inline; margin: 0; }
  .hero-description { margin-block: .85rem 1rem; max-width: 19rem; }
  .hero-visual { top: auto; height: clamp(17rem, 72vw, 25rem); }
  .hero-visual img { object-position: 89% 55%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--forest), #101c1800 22%, #101c1800 88%, var(--forest)), linear-gradient(90deg, #101c18d4, #101c1800 32%); }
  .story-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-grid { gap: 2rem; }
  .story h2 { margin-bottom: 1rem; }
  .contact h2 { margin-top: .75rem; }
  .footer-inner { min-height: 0; flex-wrap: wrap; gap: .25rem 1rem; padding-block: 1rem; }
  .footer-inner p { order: 1; width: 100%; }
}

@media (max-width: 350px) {
  :root { --gutter: 1rem; }
  .hero h1 { font-size: 3.6rem; }
  nav { gap: .65rem; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
