:root {
  --bg: #f3efe6;
  --surface: #faf7f0;
  --fg: #1a1814;
  --muted: #6a6358;
  --primary: #3e5346;
  --primary-fg: #f3efe6;
  --primary-hover: #33473b;
  --border: #d4cdbf;
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-xl: 20px;
  --text-2xs: 0.6875rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-lg: 1.1875rem;
  --text-xl: clamp(1.5rem, 1.2rem + 1vw, 1.875rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3vw, 3.5rem);
  --text-3xl: clamp(3rem, 1.6rem + 5vw, 6.25rem);
  --tracking-tight: -0.03em;
  --tracking-display: -0.035em;
  --tracking-caps: 0.18em;
  --leading-display: 0.9;
  --shadow-border:
    0px 0px 0px 1px rgba(26, 24, 20, 0.08),
    0px 1px 2px -1px rgba(26, 24, 20, 0.06),
    0px 2px 8px 0px rgba(26, 24, 20, 0.04);
  --shadow-border-hover:
    0px 0px 0px 1px rgba(26, 24, 20, 0.12),
    0px 2px 4px -1px rgba(26, 24, 20, 0.08),
    0px 8px 20px 0px rgba(26, 24, 20, 0.06);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-smooth-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background-color: var(--bg);
  background-image: url("grain.svg");
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.skip {
  position: absolute;
  left: -999px;
}

.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 50;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 640px) {
  .wrap {
    width: min(72rem, calc(100% - 4rem));
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  min-height: 44px;
  min-width: 0;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand:hover {
  opacity: 0.7;
}

.mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.mark-lg {
  width: 56px;
  height: 56px;
}

.mark-sm {
  width: 24px;
  height: 24px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  line-height: 1;
}

nav {
  display: flex;
  flex-shrink: 0;
}

nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 8px;
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

nav a:hover {
  color: var(--fg);
}

.hero {
  padding: 4rem 0 5rem;
}

@media (min-width: 640px) {
  .hero {
    padding: 6rem 0 7rem;
  }

  .mark-lg {
    width: 64px;
    height: 64px;
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  margin-top: 1.75rem;
  align-items: end;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 500;
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-display);
}

.llc {
  margin: 1rem 0 0;
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}

.lede {
  margin: 0;
  font-size: var(--text-lg);
  line-height: 1.25;
  color: var(--muted);
}

.intro {
  margin: 1rem 0 0;
  max-width: 36rem;
}

.section {
  border-top: 1px solid var(--border);
  padding: 4rem 0;
  scroll-margin-top: 4rem;
}

@media (min-width: 640px) {
  .section {
    padding: 6rem 0;
  }
}

.eyebrow {
  margin: 0;
  font-size: var(--text-2xs);
  font-weight: 500;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--muted);
}

h2 {
  margin: 0.75rem 0 0;
  max-width: 32rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}

.shop-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.card {
  border-radius: var(--radius-xl);
  background: var(--surface);
  padding: 8px;
  box-shadow: var(--shadow-border);
  transition: box-shadow 250ms var(--ease-out), transform 250ms var(--ease-out);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-border-hover);
}

.card a {
  display: block;
  border-radius: var(--radius-md);
  text-decoration: none;
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius-sm);
  outline: 1px solid rgba(26, 24, 20, 0.1);
  outline-offset: -1px;
}

.card-body {
  padding: 1.25rem 1rem 1rem;
}

h3 {
  margin: 0.5rem 0 0;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}

.card-lede {
  margin: 0.5rem 0 0;
}

.card-copy {
  margin: 0.5rem 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.visit {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 6px;
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
}

.visit svg {
  width: 16px;
  height: 16px;
}

.house-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .house-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.prose p {
  margin: 0 0 1.25rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

.muted {
  color: var(--muted);
}

.email {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  text-decoration: none;
}

.email:hover {
  opacity: 0.7;
}

@media (min-width: 640px) {
  .email {
    font-size: var(--text-2xl);
  }
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-fg);
  font-size: var(--text-base);
  font-weight: 500;
  text-decoration: none;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn svg {
  width: 16px;
  height: 16px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.copyright {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-size: var(--text-sm);
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--fg);
}

.hero-line {
  animation: fade-up 500ms var(--ease-smooth-out) both;
}

.hero-d1 {
  animation-delay: 0ms;
}
.hero-d2 {
  animation-delay: 140ms;
}
.hero-d3 {
  animation-delay: 280ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-line {
    animation: none;
  }
}
