@font-face {
  font-family: Cormorant Garamond;
  src: url("./cormorant-variavel.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant Garamond;
  src: url("./cormorant-italico-variavel.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("./lato.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Lato;
  src: url("./lato-light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

:root {
  --header-height: 5.2rem;
  --verde-dolomiti: #2A3D31;
  --dourado-antigo: #A78C57;
  --dourado-escuro: #8C7444;
  --bege-alpino: #ECE5D8;
  --tinta-fosca: #2B2722;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Lato, system-ui, sans-serif;
  --gutter: clamp(1.4rem, 5vw, 5rem);
  --reading-width: 44rem;
  --reading-padding: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tinta-fosca);
  background: var(--bege-alpino);
  font: 300 1rem/1.65 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
strong { font-weight: 400; }
a { color: inherit; text-underline-offset: .27em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.skip {
  position: fixed;
  z-index: 5;
  top: .5rem;
  left: .5rem;
  transform: translateY(-150%);
  padding: .65rem 1rem;
  color: var(--tinta-fosca);
  background: var(--bege-alpino);
}
.skip:focus { transform: none; }
.wrap {
  width: min(calc(100% - 2 * var(--gutter)), 76rem);
  margin-inline: auto;
}

.header-inner, .footer-inner {
  display: flex;
  min-height: 5.2rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-inner { min-height: var(--header-height); }
.brand img { width: clamp(8.1rem, 16vw, 12.1rem); }
nav { color: var(--verde-dolomiti); display: flex; gap: clamp(1rem, 3vw, 3rem); }
nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 400;
  white-space: nowrap;
  text-decoration-color: transparent;
}
nav a:hover, .site-footer a:hover { text-decoration-color: var(--dourado-antigo); }

.hero {
  display: grid;
  min-height: max(31rem, calc(100svh - var(--header-height)));
  place-items: center;
  padding: 3.5rem var(--gutter);
  color: var(--bege-alpino);
  background: var(--verde-dolomiti);
  text-align: center;
}
.hero-content { width: min(100%, 68rem); }
.crest {
  width: clamp(10.75rem, min(23vw, 34svh), 17.5rem);
  margin: 0 auto clamp(1.65rem, 3vw, 2.45rem);
}
.eyebrow {
  color: var(--verde-dolomiti);
  font-size: .73rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.affix .eyebrow { color: var(--bege-alpino); }
.hero-kicker, .hero-location {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.4;
}
.hero-kicker { margin-top: clamp(1.05rem, 2vw, 1.45rem); }
.hero-kicker::before {
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 0 auto .85rem;
  background: var(--dourado-antigo);
  content: "";
}
.hero-location {
  margin-top: .3rem;
  color: var(--dourado-antigo);
  text-wrap: balance;
}
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 500; }
h1 {
  font-size: clamp(2.05rem, 4.15vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero-name { color: var(--dourado-antigo); }

.reading {
  width: min(calc(100% - 2 * var(--gutter)), var(--reading-width));
  margin-inline: auto;
  padding-block: var(--reading-padding);
}
h2 {
  margin: .65rem 0 1.5rem;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  line-height: .95;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.about h2 { color: var(--verde-dolomiti); }
.about h2 em { color: var(--dourado-escuro); }
.reading p:not(.eyebrow) { font-size: clamp(1rem, 1.4vw, 1.125rem); }
.reading p + p { margin-top: 1rem; }
.affix {
  color: var(--bege-alpino);
  background: var(--verde-dolomiti);
}
.iron-mark {
  width: clamp(2rem, 4vw, 2.5rem);
  margin: clamp(2.5rem, 6vw, 3.75rem) auto 0;
}
.affix h2 em { color: var(--dourado-antigo); }
.affix-quote {
  width: min(58rem, calc((100vw + 100%) / 2 - var(--gutter)));
  margin: clamp(2.25rem, 5vw, 3.5rem) 0;
  padding-left: 1rem;
  border-left: 1px solid var(--dourado-antigo);
  color: var(--dourado-antigo);
  font: italic 500 clamp(1.5rem, 2.85vw, 2.25rem)/1.35 var(--serif);
  text-wrap: balance;
}
.text-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--bege-alpino);
  text-decoration-color: var(--dourado-antigo);
  font-size: .92rem;
  font-weight: 400;
}
.text-link span { display: inline-block; margin-left: .2rem; }
.text-link:hover { text-decoration-color: currentColor; }
.site-footer { padding-block: 1rem; border-top: 1px solid var(--dourado-antigo); }
.site-footer img { width: 10.25rem; }
.site-footer p { font-size: .85rem; }
.instagram-link { width: 44px; justify-content: center; }
.instagram-link:hover { color: var(--dourado-escuro); }
.instagram-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.125rem;
  height: 1.125rem;
  border: 1.5px solid currentColor;
  border-radius: .32rem;
}
.instagram-icon::before {
  width: .5rem;
  height: .5rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  content: "";
}
.instagram-icon::after {
  position: absolute;
  inset: 2px 2px auto auto;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

@media (max-width: 700px) {
  :root { --header-height: 4.35rem; }
  nav { gap: .8rem; }
  nav a { font-size: .8rem; }
  .crest { width: clamp(10.5rem, 49vw, 13.5rem); }
  .site-footer p { flex-basis: 100%; order: 1; }
  .footer-inner { flex-wrap: wrap; justify-content: flex-start; column-gap: 1.75rem; }
}
@media (max-width: 365px) {
  .header-inner { gap: .5rem; }
  .brand img { width: 7rem; }
  nav { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
