/* Design tokens, reset, typography and global accessibility foundations. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --ink: #252b22;
  --muted: #686b62;
  --gold: #aa8a4a;
  --cream: #f3f1eb;
  --line: #dedfd7;
  --serif: 'Playfair Display',Georgia,serif;
  --sans: 'DM Sans',Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
}

button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  background: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #a97b27;
  outline-offset: 5px;
}

button:disabled {
  opacity: .45;
  cursor: default;
}

img {
  display: block;
  max-width: 100%;
  object-fit: cover;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(58px,5.9vw,92px);
}

h2 {
  font-size: clamp(35px,3.55vw,55px);
}

h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

em {
  font-weight: 400;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

picture {
  display: contents;
}

button:not(.gallery-dot),
.btn,
summary {
  min-height: 44px;
}
