@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&display=swap');

:root {
  --ink: #1d382c;
  --deep: #14392e;
  --moss: #5f7d5f;
  --sage: #adc19d;
  --cream: #f5efdf;
  --paper: #fffaf0;
  --sun: #efb84f;
  --apricot: #dc8964;
  --sky: #cfe1d3;
  --muted: #718071;
  --line: rgba(29, 56, 44, 0.18);
  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", "Trebuchet MS", sans-serif;
  --mono: "DM Mono", "Courier New", monospace;
  --max: 1240px;
  --shadow: 0 22px 60px rgba(29, 56, 44, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 6%, rgba(239, 184, 79, 0.19), transparent 23rem),
    radial-gradient(circle at 94% 20%, rgba(207, 225, 211, 0.55), transparent 28rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.55;
}

body::selection {
  color: var(--paper);
  background: var(--apricot);
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--apricot);
  outline-offset: 4px;
}

.site-shell {
  position: relative;
  min-height: 100vh;
}

.site-header,
.site-footer,
.home-main,
.interior-main {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep);
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand-name small {
  display: block;
  margin-top: -3px;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 42px);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--apricot);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-weather {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-weather::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  content: "";
  background: var(--sun);
  box-shadow: 0 0 0 5px rgba(239, 184, 79, 0.2);
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  display: inline-block;
  width: 25px;
  height: 1px;
  margin: 0 10px 3px 0;
  content: "";
  background: currentColor;
}

.display-title {
  margin: 0;
  color: var(--deep);
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.075em;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 0.69rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  color: var(--paper);
  transform: translateY(-2px);
}

.button--quiet {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button--quiet:hover {
  background: var(--paper);
  border-color: var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  color: var(--apricot);
  font-size: 1rem;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 72px 0 38px;
  border-top: 1px solid var(--line);
}

.footer-note {
  max-width: 330px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 22px;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reveal {
  animation: rise-in 800ms both cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal--late {
  animation-delay: 140ms;
}

.reveal--later {
  animation-delay: 260ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .home-main,
  .interior-main {
    width: min(calc(100% - 32px), var(--max));
  }

  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0 18px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    overflow-x: auto;
  }

  .header-weather {
    margin-left: auto;
  }

  .site-footer {
    flex-direction: column;
    padding-top: 52px;
  }

  .footer-meta {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
