@font-face {
  font-family: 'Agnets Type';
  src: url('assets/agnetstype-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Edit these variables in Pinegrow to change the site's color palette. */
:root {
  --ink: #101512;
  --collection-background: #090909;
  --button-background: #123426;
  --button-hover: #1a4634;
  --button-border: #2b4c3b;
  --green: #167d57;
  --green-deep: #153c2d;
  --green-surface: #151f19;
  --green-light: #9cbd9e;
  --silver: #e2e1d8;
  --muted-silver: #b9beb4;
  --silver-dim: #929d8e;
  --line: #2c372e;
  --forest-overlay: rgb(7 18 12 / 68%);
  --display-font: 'Agnets Type', Georgia, serif;
  --editorial-font: 'Cormorant Garamond', Georgia, serif;
  --body-font: 'Inter', sans-serif;
  --tagline-font: 'Julius Sans One', sans-serif;
}

/* Base styles */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--collection-background); color: var(--silver); font-family: var(--body-font); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; flex-shrink: 0; }
::selection { background: var(--green); color: white; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--green-light); outline-offset: 5px; }
a { transition: color 200ms; }
a:hover { color: var(--green-light); }
.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: 24px; }
.green, .star { color: var(--green-light); }
.star { font-size: 19px; line-height: 1; }
.gothic-font { font-family: var(--display-font); font-weight: 400; }
h2, h3 { font-family: var(--editorial-font); font-weight: 300; }
h2 { font-size: 36px; line-height: 1.15; }
.eyebrow { font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .26em; color: var(--green-light); }
.arrow { font-size: 20px; font-weight: 400; line-height: 1; }
.icon { width: 22px; height: 22px; }

/* Navigation */
.site-header { position: relative; z-index: 3; }
.header-inner { height: 96px; display: flex; align-items: center; justify-content: space-between; }
.nav-link { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .17em; }
.desktop-nav, .header-shop { display: none; }
.mobile-menu { position: relative; margin-left: auto; }
.mobile-menu summary { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 24px; cursor: pointer; list-style: none; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary:hover, .mobile-menu[open] summary { background: rgb(255 255 255 / 10%); }
.mobile-nav { position: absolute; top: calc(100% + 12px); right: 0; width: 240px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--ink); box-shadow: 0 12px 30px rgb(0 0 0 / 30%); }
.mobile-nav a { display: block; padding: 14px 4px; }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding-top: 16px; }
.hero-forest, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-forest { object-fit: cover; object-position: center 58%; filter: saturate(.55) brightness(.8); }
.hero-overlay { z-index: -1; background: var(--forest-overlay); }
.hero-content { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 1440px; margin-inline: auto; padding: 48px 40px 64px; text-align: left; animation: reveal 900ms ease-out both; }
.hero-copy { min-width: 0; }
.hero-title { max-width: 700px; font-size: clamp(3.5rem, 8vw, 7rem); line-height: .98; letter-spacing: -.045em; text-shadow: 0 3px 24px rgb(0 0 0 / 35%); }
.hero-ampersand { font-family: var(--editorial-font); font-size: .9em; font-weight: 400; font-style: italic; letter-spacing: 0; }
.hero-logo { width: 100%; max-width: 700px; height: auto; justify-self: end; }
.hero-bottom { min-width: 0; align-self: end; }
.hero-description { width: 100%; font-family: var(--tagline-font); font-size: clamp(1rem, 1.4vw, 1.25rem); font-weight: 400; font-style: normal; line-height: 1.8; letter-spacing: .025em; text-align: left; color: var(--silver); }
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--silver-dim); }
.ornament > span { width: 64px; height: 1px; background: currentColor; opacity: .4; }

/* Collection cards */
main { background: var(--collection-background); }
.collections { --heading-spacing: 80px; padding-block: var(--heading-spacing); scroll-margin-top: 32px; }
.section-heading { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: var(--heading-spacing); }
.section-heading .eyebrow { margin-bottom: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid rgb(146 157 142 / 40%); padding-bottom: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .18em; }
.text-link .arrow { transition: transform 200ms; }
.text-link:hover .arrow { transform: translateX(4px); }
.collection-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.collection-card { display: block; border-radius: 160px 160px 0 0; outline-offset: 8px; }
.collection-image { position: relative; aspect-ratio: 4 / 4.6; overflow: hidden; border-radius: 160px 160px 3px 3px; border: 1px solid rgb(255 255 255 / 10%); background: var(--green-surface); }
.collection-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) brightness(.7); transition: transform 700ms, filter 700ms; }
.collection-card:hover img { transform: scale(1.05); filter: saturate(.6) brightness(.85); }
.image-frame { position: absolute; inset: 12px; border-radius: 145px 145px 0 0; border: 1px solid rgb(255 255 255 / 25%); }
.collection-number { position: absolute; bottom: 20px; left: 20px; font-size: 9px; letter-spacing: .2em; color: rgb(255 255 255 / 80%); }
.card-arrow { position: absolute; bottom: 16px; right: 16px; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; background: rgb(16 21 18 / 50%); color: white; font-size: 22px; transition: background-color 200ms; }
.collection-card:hover .card-arrow { background: var(--green); }
.collection-info { display: flex; align-items: center; justify-content: space-between; padding-block: 20px; border-bottom: 1px solid var(--line); }
.collection-info h3 { font-size: 29px; }
.collection-info p { margin-top: 4px; font-size: 11px; line-height: 24px; color: var(--muted-silver); }

/* Footer */
.site-footer { padding-top: 48px; padding-bottom: 24px; }
.footer-top { display: flex; flex-direction: column; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.footer-brand { font-size: 30px; letter-spacing: -.025em; }
.footer-spacer { display: none; width: 270px; height: 22px; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 28px; font-size: 10px; text-transform: uppercase; letter-spacing: .16em; }
.footer-bottom { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; border-top: 1px solid transparent; padding-top: 24px; text-align: center; font-size: 9px; line-height: 1.6; letter-spacing: .08em; color: var(--silver-dim); }

/* Tablet and desktop layouts */
@media (min-width: 640px) {
  .ornament > span { width: 96px; }
  .section-heading { flex-direction: row; align-items: flex-end; }
  h2 { font-size: 48px; }
  .footer-top, .footer-bottom { flex-direction: row; }
  .footer-bottom { text-align: left; }
}
@media (min-width: 768px) {
  .container { padding-inline: 48px; }
  .desktop-nav { display: flex; align-items: center; gap: 28px; }
  .mobile-menu { display: none; }
  .hero-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); grid-template-rows: auto auto; gap: 0 32px; padding: 48px 80px 64px; }
  .hero-copy { grid-column: 1; grid-row: 1; padding-top: 24px; }
  .hero-logo { grid-column: 2; grid-row: 1; width: 150%; max-width: 150%; height: clamp(440px, 44vw, 620px); object-fit: contain; object-position: right bottom; align-self: end; transform: translate(48px, -8px); }
  .hero-bottom { grid-column: 1 / -1; grid-row: 2; }
  .hero-description { font-size: clamp(.75rem, 1.15vw, 1rem); white-space: nowrap; }
  .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .container { padding-inline: 80px; }
  .hero-content { padding-inline: 112px; }
  .header-shop { display: flex; align-items: center; }
  .collections { --heading-spacing: 96px; }
}
@media (min-width: 1280px) {
  .footer-spacer { display: block; }
}
@keyframes reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
