:root {
  --paper: #f5f3ed;
  --ink: #263c34;
  --muted: #666a61;
  --accent: #8a7149;
  --line: #d5d7cb;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

button {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

[hidden] {
  display: none !important;
}

.page-width {
  width: min(100% - 128px, 1312px);
  margin-inline: auto;
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--ink);
}

.site-header {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}

.brand-monogram {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding-bottom: 5px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  font: italic 33px/1 var(--serif);
  letter-spacing: -3px;
}

.brand-name {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.site-header nav {
  display: flex;
  gap: 36px;
  font-size: 12px;
}

.site-header nav a,
.site-footer a {
  padding-block: 13px;
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 57px;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
}

.small-rule {
  display: block;
  width: 36px;
  height: 1px;
  flex-shrink: 0;
  background: var(--accent);
}

h1 {
  margin: 36px 0 48px -7px;
  font-family: var(--serif);
  font-size: clamp(96px, 11.6vw, 166px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.055em;
}

h1 > span:not(.title-period) {
  display: inline-block;
  margin-top: .08em;
}

.title-period {
  color: var(--accent);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
}

.motto-line {
  margin: 0 0 6px;
  font: italic 32px/1.4 var(--serif);
  letter-spacing: -.025em;
}

.motto-line > span {
  color: var(--accent);
}

.is-rotating .motto-lines {
  display: grid;
}

.is-rotating .motto-line {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}

.is-rotating .motto-line.is-active {
  opacity: 1;
  transform: translateY(0);
}

.motto-controls {
  display: flex;
  align-items: center;
  gap: 23px;
  min-height: 37px;
  margin-top: 11px;
  color: var(--muted);
}

.motto-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.counter-divider {
  width: 32px;
  height: 1px;
  background: #aaa88e;
}

.motto-toggle {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 0;
  border-radius: 0;
  color: inherit;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.motto-toggle:hover {
  color: var(--ink);
}

.toggle-icon {
  width: 7px;
  height: 9px;
  border-inline: 2px solid currentColor;
}

.is-paused .toggle-icon {
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left: 7px solid currentColor;
  border-right: 0;
}

.hero-location {
  margin: 0 0 13px;
  text-align: right;
  font-size: 12px;
  line-height: 1.8;
}

.hero-location span {
  display: block;
  color: var(--muted);
}

.contact-band {
  background: var(--ink);
  color: var(--paper);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  align-items: center;
  gap: 48px;
  padding-block: 50px 53px;
}

.contact-band .eyebrow {
  color: #ccc9b5;
}

h2 {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 49px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.contact-details {
  min-width: 0;
}

.email-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding-block: 7px 15px;
  border-bottom: 1px solid #667469;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(23px, 2.4vw, 34px);
  letter-spacing: -.02em;
}

.email-link svg {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
  transition: transform .2s ease;
}

.email-link:hover svg {
  transform: translate(3px, -3px);
}

.email-link:hover {
  border-color: var(--paper);
}

.phone-link {
  display: inline-block;
  margin-top: 15px;
  padding-block: 5px;
  font-size: 13px;
  letter-spacing: .5px;
  text-decoration: none;
}

.phone-link:hover {
  text-decoration: underline;
}

.legal {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 48px;
  padding-block: 83px 76px;
}

.legal-heading h2 > span {
  color: var(--accent);
}

.legal-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 36px;
  padding-top: 4px;
}

.legal-block {
  min-width: 0;
}

.legal h3 {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.legal address,
.legal p {
  margin: 0;
  font-style: normal;
  font-size: 12px;
  line-height: 1.95;
}

.legal p.eyebrow {
  font-size: 10px;
}

.legal strong {
  font-weight: 500;
}

.legal a {
  text-decoration-color: #b8baac;
  overflow-wrap: anywhere;
}

.legal a:hover {
  text-decoration-color: var(--ink);
}

.legal-vat {
  grid-column: 1 / -1;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .5px;
}

.site-footer a span {
  margin-left: 12px;
}

@media (min-width: 1440px) {
  .hero {
    padding-top: 84px;
  }

  h1 {
    margin-bottom: 58px;
  }
}

@media (max-width: 1000px) {
  .page-width {
    width: calc(100% - 80px);
  }

  .contact-inner,
  .legal {
    grid-template-columns: .8fr 1.55fr;
    gap: 36px;
  }

  .legal-details {
    column-gap: 25px;
  }

  h2 {
    font-size: 42px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 24px;
  }

  .page-width {
    width: calc(100% - 48px);
  }

  .site-header {
    min-height: 90px;
    gap: 20px;
  }

  .brand {
    gap: 10px;
  }

  .brand-monogram {
    width: 36px;
    height: 36px;
    padding-bottom: 4px;
    font-size: 29px;
  }

  .brand-name {
    max-width: 100px;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: 1.3px;
  }

  .site-header nav {
    gap: 18px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero {
    padding-top: 53px;
    padding-bottom: 38px;
  }

  .hero .eyebrow {
    gap: 10px;
    font-size: 8px;
    letter-spacing: 1.6px;
  }

  .small-rule {
    width: 20px;
  }

  h1 {
    margin: 33px 0 33px -3px;
    font-size: clamp(61px, 14.5vw, 101px);
    line-height: .96;
    letter-spacing: -.055em;
  }

  .hero-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .motto-line {
    font-size: 27px;
  }

  .motto-controls {
    margin-top: 7px;
  }

  .hero-location {
    margin: 0;
    text-align: left;
    font-size: 11px;
  }

  .hero-location span {
    display: inline;
  }

  .hero-location span::before {
    content: " / ";
    padding-inline: 5px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-block: 36px 35px;
  }

  h2 {
    font-size: 43px;
  }

  .contact-heading h2 {
    margin-top: 9px;
  }

  .email-link {
    gap: 12px;
    font-size: clamp(21px, 5.8vw, 31px);
  }

  .email-link svg {
    width: 20px;
    height: 20px;
  }

  .legal {
    grid-template-columns: 1fr;
    gap: 37px;
    padding-block: 52px 43px;
  }

  .legal-details {
    gap: 30px 22px;
  }

  .legal h3 {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .legal address,
  .legal p {
    font-size: 12px;
    line-height: 1.85;
  }

  .legal-details .legal-block:nth-child(3),
  .legal-details .legal-block:nth-child(4) {
    grid-column: 1 / -1;
  }

  .site-footer {
    min-height: 74px;
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .page-width {
    width: calc(100% - 36px);
  }

  .site-header nav {
    gap: 12px;
  }

  .brand-name {
    font-size: 8px;
    max-width: 85px;
  }

  h1 {
    font-size: 58px;
  }

  .legal-details {
    grid-template-columns: 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
