:root {
  --bg: #f1f0eb;
  --paper: #f8f6f1;
  --ink: #111;
  --muted: #726e67;
  --line: rgba(17, 17, 17, .14);
  --dark: #161616;
  --green: #3d5749;
  --gold: #9b8357;
  --red: #6f3b33;
  --pad: clamp(18px, 4vw, 62px);
  --max: 1480px;
  --header-height: 72px;
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

::selection {
  background: var(--green);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 2000;
  left: 14px;
  top: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .018;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--header-height);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 240, 235, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mark {
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  font-size:9px;
  letter-spacing: .04em;
}

.nav {
  min-width: 0;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 30px);
}

.nav a {
  position: relative;
  padding: 10px 0;
  color: #55514b;
  text-decoration: none;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 4px;
  height: 1px;
  background: var(--ink);
  transition: right .2s ease;
}

.nav a:hover::after,
.nav a.active::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.nav a.active,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.header-note {
  color: var(--muted);
  white-space: nowrap;
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.page-num {
  padding-top: 8px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.page-head {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 8vw, 118px) var(--pad) 54px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 30px;
}

.page-head h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: .98;
  font-weight: 400;
  letter-spacing: -.06em;
}

.page-head p {
  margin: 22px 0 0;
  max-width: 720px;
  color: #5d5953;
  font-size: 13px;
  line-height: 1.78;
}

.news-list {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(90px, 12vw, 165px);
  border-top: 1px solid var(--line);
}

.news-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 150px 24px;
  gap: 24px;
  align-items: center;
  min-height: 120px;
  border-bottom: 1px solid var(--line);
}

.news-row .meta,
.news-row p,
.news-row .arrow {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-row h2 {
  margin: 0;
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.04em;
}

.news-row p {
  margin: 0;
}

.contact-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(90px, 12vw, 165px);
  display: grid;
  grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-links {
  border-top: 1px solid var(--line);
}

.contact-links a,
.contact-links .social-unavailable {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -.03em;
}

.contact-links .social-unavailable {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form {
  border-top: 1px solid var(--line);
  display: grid;
}

.field {
  display: grid;
  gap: 8px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.field label,
.form-note,
.form-status {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 7px 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  font-size: 18px;
}

textarea.input {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}

.input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.form-note {
  margin: 18px 0 0;
  text-transform: none;
  letter-spacing: 0;
}

.btn {
  justify-self: start;
  min-height: 46px;
  margin-top: 24px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.btn:hover {
  background: transparent;
  color: var(--ink);
}

.form-status {
  min-height: 1.6em;
  margin: 14px 0 0;
  color: var(--green);
  text-transform: none;
  letter-spacing: 0;
}

.footer {
  padding: 26px var(--pad);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  :root {
    --header-height: 104px;
  }

  .header {
    grid-template-columns: 1fr auto;
    gap: 4px 20px;
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .header-note {
    display: none;
  }

  .nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    gap: 22px;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .news-row {
    grid-template-columns: 95px minmax(0, 1fr) 24px;
  }

  .news-row p {
    display: none;
  }
}

@media (max-width: 700px) {
  .page-head {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-top: 56px;
  }

  .news-row {
    min-height: 0;
    padding: 24px 0;
    grid-template-columns: 1fr 20px;
    gap: 12px;
  }

  .news-row .meta {
    grid-column: 1 / -1;
  }

  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  :root {
    --header-height: 100px;
  }

  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .nav {
    gap: 18px;
  }

  .nav a {
    font-size: 9px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
