:root {
  --paper: #f4ede3;
  --field: #bfae9c;
  --sheet: #e7dccb;
  --ink: #1c160f;
  --ink-soft: #3a3126;
  --bronze: #4a3e30;
  --gold: #6e5a32;
  --gold-bright: #c4a46a;
  --cream: #f3ebdf;
  --line: rgba(28, 22, 15, 0.14);
  --display: "GFS Didot", "EB Garamond", "Times New Roman", serif;
  --text: "EB Garamond", "Times New Roman", serif;
  --header: 4.4rem;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--field);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p,
ul,
ol,
dl,
address {
  margin: 0;
}

[id] {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
}

h2 {
  font-size: clamp(2.35rem, 4.8vw, 3.75rem);
}

h2::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 1px;
  margin-bottom: 1.05rem;
  background: var(--gold);
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

::selection {
  background: var(--ink);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.55rem 0.9rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  background: var(--field);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header.at-top {
  background: rgba(191, 174, 156, 0.9);
  border-bottom-color: transparent;
  backdrop-filter: blur(10px);
}

.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  text-decoration: none;
  color: inherit;
  flex: 0 0 auto;
}

.brand-word {
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1;
}

.bar {
  display: block;
  width: 1px;
  height: 0.92em;
  background: var(--gold);
}

.brand-hold {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-left: 0.26em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  padding: 0.25rem 1.25rem 1.1rem;
  background: var(--field);
  border-bottom: 1px solid var(--line);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: 1.85rem;
  line-height: 1.15;
  text-decoration: none;
}

.site-nav a:last-child {
  border-bottom: 0;
}

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header) + 2.5rem) 1.25rem 3.5rem;
  background-color: var(--field);
  background-image:
    linear-gradient(180deg, rgba(191, 174, 156, 0.9) 0%, rgba(191, 174, 156, 0.74) 46%, rgba(28, 22, 15, 0.34) 100%),
    url("../assets/hero-courtyard.jpg");
  background-position: center, center 62%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  text-align: center;
  scroll-margin-top: 0;
}

.hero h1 {
  width: min(720px, 100%);
}

.hero img {
  width: 100%;
}

.hero-line {
  max-width: 18em;
  margin-top: 1.6rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  line-height: 1.35;
}

.hero-meta {
  margin-top: 0.95rem;
  max-width: 28em;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2.75rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

.more-line {
  width: 1px;
  height: 2.6rem;
  background: var(--gold);
}

.opening {
  padding: clamp(4.5rem, 9vw, 7.25rem) 0 clamp(3.75rem, 7vw, 5.5rem);
}

.display {
  max-width: 12em;
  margin-bottom: 1.75rem;
  font-family: var(--display);
  font-size: clamp(2.45rem, 6vw, 4.35rem);
  font-weight: 400;
  line-height: 1.12;
}

.prose {
  max-width: 40rem;
}

.prose p + p,
.opening .prose p + p {
  margin-top: 1em;
}

.opening .prose {
  font-size: 1.32rem;
}

.principles {
  padding: clamp(3.25rem, 7vw, 5.25rem) 0;
  background: var(--field);
}

.principles-lead {
  margin-bottom: 1.6rem;
  text-align: center;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
}

.words {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
}

.words li + li::before {
  content: "";
  display: block;
  width: 1px;
  height: 1.15rem;
  margin: 0.65rem auto 0.8rem;
  background: var(--gold);
}

.words li {
  text-align: center;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
}

.block,
.contact {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.block + .block {
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  gap: 1.35rem;
}

.motto {
  margin-bottom: 0.3rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.3;
}

.motto-el {
  margin-bottom: 1.35rem;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 1.25rem;
}

.en {
  font-style: italic;
}

.closer {
  max-width: 18em;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  line-height: 1.35;
}

.band-title {
  max-width: 14em;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.intro-line {
  max-width: 40rem;
  margin-top: -1.2rem;
  margin-bottom: 2rem;
}

.sectors,
.axes {
  display: grid;
  gap: 1.75rem;
  list-style: none;
  padding: 0;
}

.sector,
.axis {
  border-top: 1px solid var(--gold);
  padding-top: 1.1rem;
}

.sector {
  border-top: 0;
  padding-top: 0;
}

.sector-visual {
  height: 13rem;
  margin-bottom: 1.15rem;
  border-top: 1px solid var(--gold);
  background-color: var(--field);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.sector-dining {
  background-image: url("../assets/dining.jpg");
}

.sector-estate {
  background-image: url("../assets/estate.jpg");
  background-position: center 42%;
}

.sector-venture {
  background-image: url("../assets/venture.jpg");
}

.num {
  margin-bottom: 0.65rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--bronze);
}

.sector h3,
.axis h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.6rem, 2.2vw, 2.05rem);
}

.axis h3 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.sector p + p,
.axis p + p {
  margin-top: 0.85em;
}

.values {
  display: grid;
}

.value {
  display: grid;
  gap: 0.35rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.value:last-child {
  border-bottom: 1px solid var(--line);
}

.value h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
}

.future {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background-color: var(--ink);
  background-image:
    linear-gradient(180deg, rgba(28, 22, 15, 0.62) 0%, rgba(28, 22, 15, 0.5) 48%, rgba(28, 22, 15, 0.72) 100%),
    url("../assets/future-dusk.jpg");
  background-position: center, center 70%;
  background-size: cover, cover;
  background-repeat: no-repeat;
  color: var(--cream);
}

.future h2::before {
  background: var(--gold-bright);
}

.future .prose {
  color: var(--cream);
}

.future .closer {
  max-width: 16em;
  margin-top: 2rem;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
}

.seal {
  max-width: 36rem;
  margin-top: 3.25rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(243, 235, 223, 0.28);
}

.seal-name {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.seal-slogan {
  margin-top: 0.45rem;
  font-style: italic;
  font-size: 1.2rem;
}

.seal-en {
  margin-top: 0.85rem;
  color: var(--gold-bright);
  font-variant-caps: all-small-caps;
  font-size: 1.08rem;
  letter-spacing: 0.12em;
}

.contact-email {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: clamp(1.35rem, 4.6vw, 2.7rem);
  line-height: 1.25;
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 1px;
  overflow-wrap: anywhere;
}

address {
  margin-top: 1.6rem;
  font-style: normal;
}

.address-name {
  font-size: 1.15rem;
}

address a {
  text-underline-offset: 0.18em;
}

.legal {
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--sheet);
}

.legal-lead {
  max-width: 40rem;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.registry {
  font-variant-numeric: lining-nums tabular-nums;
}

.registry div {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.registry div:first-child {
  border-top: 1px solid var(--line);
}

.registry dt {
  color: var(--bronze);
  font-size: 0.98rem;
}

.registry dd {
  margin: 0;
  font-size: 1.12rem;
}

.registry a {
  text-underline-offset: 0.16em;
}

.legal-note {
  max-width: 40rem;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.legal-note a {
  text-underline-offset: 0.16em;
}

.colophon {
  padding: 2.4rem 0 2rem;
  background: var(--field);
  font-size: 1.05rem;
  line-height: 1.65;
  font-variant-numeric: lining-nums;
}

.colo-name {
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.colophon a {
  text-underline-offset: 0.16em;
}

.fine {
  margin-top: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.credit {
  margin-top: 0.35rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-style: italic;
}

.credit a {
  font-style: normal;
  color: var(--ink);
}

@media (min-width: 760px) {
  .sector-visual {
    height: 16.5rem;
  }

  .words {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .words li {
    position: relative;
    padding: 0 1.15rem;
    font-size: clamp(1.55rem, 2.5vw, 2.65rem);
  }

  .words li + li::before {
    position: absolute;
    left: 0;
    top: 8%;
    bottom: 8%;
    width: 1px;
    height: auto;
    margin: 0;
  }

  .value {
    grid-template-columns: minmax(12rem, 16rem) minmax(0, 1fr);
    gap: 1.5rem 2rem;
    align-items: baseline;
  }

  .axes {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .registry div {
    grid-template-columns: minmax(12.5rem, 17rem) minmax(0, 1fr);
    gap: 0.4rem 1.75rem;
    align-items: baseline;
  }

  .seal-name {
    letter-spacing: 0.14em;
  }
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: minmax(14rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
  }

  .split-title {
    position: sticky;
    top: calc(var(--header) + 1.5rem);
  }
}

@media (min-width: 980px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.15rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .site-nav a,
  .site-nav a:last-child {
    padding: 0.15rem 0;
    border: 0;
    font-family: var(--text);
    font-size: 1.05rem;
    line-height: 1.3;
    white-space: nowrap;
    background-image: linear-gradient(var(--gold), var(--gold));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0 1px;
    transition: background-size 0.25s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    background-size: 100% 1px;
  }

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-header,
  .site-nav a {
    transition: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .more,
  .skip {
    display: none !important;
  }

  body,
  .hero,
  .principles,
  .future,
  .legal,
  .colophon {
    background: #fff;
    color: #000;
  }

  .future,
  .seal-en,
  .hero-meta,
  .principles-lead,
  .legal-lead {
    color: #000;
  }

  .hero {
    min-height: 0;
    padding-top: 0;
  }

  a[href^="mailto:"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
}
