@font-face {
  font-family: "Karla";
  src: url("../fonts/Karla-Regular.woff2") format("woff2"),
       url("../fonts/Karla-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/Karla-Italic.woff2") format("woff2"),
       url("../fonts/Karla-Italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/Karla-Bold.woff2") format("woff2"),
       url("../fonts/Karla-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Karla";
  src: url("../fonts/Karla-BoldItalic.woff2") format("woff2"),
       url("../fonts/Karla-BoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Ten Oldstyle";
  src: url("../fonts/TenOldstyle-Regular.woff2") format("woff2"),
       url("../fonts/TenOldstyle-Regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ten Oldstyle";
  src: url("../fonts/TenOldstyle-Italic.woff2") format("woff2"),
       url("../fonts/TenOldstyle-Italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Ten Oldstyle";
  src: url("../fonts/TenOldstyle-Bold.woff2") format("woff2"),
       url("../fonts/TenOldstyle-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Ten Oldstyle";
  src: url("../fonts/TenOldstyle-BoldItalic.woff2") format("woff2"),
       url("../fonts/TenOldstyle-BoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 255, 255, 0.76);
  --text: #111111;
  --muted: #5f5a54;
  --line: rgba(17, 17, 17, 0.14);
  --header-text: #ffffff;
  --max: 1240px;
  --narrow: 820px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Karla", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.2rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 1rem;
  background: #fff;
  color: #000;
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}
.narrow {
  width: min(calc(100% - 2rem), var(--narrow));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color 240ms ease, color 240ms ease, backdrop-filter 240ms ease, border-color 240ms ease;
  color: var(--header-text);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(244, 241, 234, 0.94);
  color: var(--text);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  font-family: "Ten Oldstyle", Georgia, serif;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
}
.site-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.site-nav a {
  font-size: 0.95rem;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 42px;
  height: 42px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  margin: 5px auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero--fullscreen {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
}
.hero--inner {
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
}
.hero-media {
  position: absolute;
  inset: -4rem 0 0 0;
}
.hero-media img {
  width: 100%;
  height: calc(100% + 4rem);
  object-fit: cover;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.52), rgba(0,0,0,0.18) 45%, rgba(0,0,0,0.12));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(8rem, 14vw, 12rem) 0 4rem;
}
.hero-content--home {
  padding-bottom: 5.5rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: "Ten Oldstyle", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.96;
  max-width: 10ch;
  margin: 0;
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}
.section--intro {
  border-bottom: 1px solid var(--line);
}
.lede {
  font-family: "Ten Oldstyle", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.35;
  color: #1c1a17;
}
.grid--cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.card {
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  padding: 1.5rem;
  min-height: 220px;
}
.card h2,
.content-grid h2 {
  font-family: "Ten Oldstyle", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}
.card p,
.content-grid li,
.contact-copy {
  font-size: 1.02rem;
}
.content-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}
.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.plain-list li {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}
.contact-simple {
  min-height: 28vh;
}
.contact-copy {
  font-family: "Ten Oldstyle", Georgia, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}
.contact-copy a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 1.6rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.92rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .grid--cards,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(244, 241, 234, 0.98);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }
  .site-nav.is-open { max-height: 320px; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
  }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; }
  .site-nav a {
    display: block;
    padding: 0.95rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
