:root {
  color-scheme: light;
  --ink: #1f211f;
  --muted: #666963;
  --paper: #f4f1e9;
  --surface: #fffdf8;
  --line: #d9d4c8;
  --accent: #8a4f2b;
  --accent-dark: #64371f;
  --shadow: 0 18px 55px rgb(45 37 29 / 9%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgb(138 79 43 / 8%), transparent 28rem),
    var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration-color: rgb(138 79 43 / 45%);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

a:hover {
  color: var(--accent-dark);
  text-decoration-color: currentColor;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgb(138 79 43 / 35%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-180%);
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--surface);
}

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

.site-header,
.site-footer,
.shell {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

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

.brand-mark {
  display: grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 0.45rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand-name {
  font-weight: 750;
  letter-spacing: -0.025em;
}

.language-switch {
  display: flex;
  gap: 0.35rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 253 248 / 70%);
}

.language-switch button {
  min-width: 3.8rem;
  padding: 0.45rem 0.65rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--surface);
}

main {
  padding-block: clamp(2.5rem, 8vw, 6.5rem) 5rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: end;
  padding-block: 2rem clamp(4rem, 9vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 11vw, 7.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0.85rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.lede {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-note {
  padding: 1.5rem;
  border-top: 1px solid var(--ink);
  color: var(--muted);
}

.hero-note strong {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.contact-card {
  min-height: 12rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgb(255 253 248 / 72%);
  box-shadow: 0 8px 24px rgb(45 37 29 / 4%);
}

.contact-card dt {
  margin-bottom: 2.3rem;
  font-weight: 750;
  line-height: 1.35;
}

.contact-card dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.contact-card a {
  font-size: 0.95rem;
  font-weight: 650;
}

.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  margin-top: clamp(5rem, 11vw, 9rem);
  padding-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--line);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

label {
  font-size: 0.9rem;
  font-weight: 700;
}

.optional,
.form-note {
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 400;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  background: #fff;
  color: var(--ink);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #aaa397;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.form-note {
  margin-bottom: 0;
  line-height: 1.55;
}

.submit-button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.75rem 1rem;
  border: 1px solid var(--ink);
  border-radius: 0.55rem;
  background: var(--ink);
  color: var(--surface);
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.submit-button:hover,
.button-link:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.website-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.legal-page {
  width: min(760px, 100%);
}

.legal-page h1 {
  max-width: none;
  font-size: clamp(3.2rem, 10vw, 6.5rem);
}

.legal-card {
  margin-top: 2.5rem;
  padding: clamp(1.35rem, 5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.legal-card h2 {
  margin-top: 2.5rem;
  font-family: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p,
.legal-card address {
  max-width: 66ch;
}

address {
  font-style: normal;
}

.notice {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: rgb(138 79 43 / 6%);
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 800px) {
  .hero,
  .form-section {
    grid-template-columns: 1fr;
  }

  .hero {
    align-items: start;
  }

  .hero-note {
    max-width: 32rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: auto;
  }

  .contact-card dt {
    margin-bottom: 1rem;
  }
}

@media (max-width: 560px) {
  .site-header {
    align-items: flex-start;
  }

  .brand-name {
    display: none;
  }

  .language-switch button {
    min-width: 3.4rem;
    padding-inline: 0.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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