/* TRENT & TRENT — quiet luxury, warm ivory + ink + brass */
:root {
  --bg: #fbf8f3;
  --surface: #f4ece0;
  --surface-2: #efe6d8;
  --ink: #1b1a17;
  --ink-soft: #3b3833;
  --muted: #6f675b;
  --line: #e2d8c8;
  --brass: #8a6a3b;
  --brass-soft: #a98a58;

  --font-display: 'Cormorant', 'Times New Roman', serif;
  --font-body: 'Switzer', 'Inter', system-ui, sans-serif;

  --text-hero: clamp(2.6rem, 6vw, 5rem);
  --text-3xl: clamp(2.25rem, 5vw, 4rem);
  --text-2xl: clamp(1.85rem, 3.6vw, 2.9rem);
  --text-xl: clamp(1.35rem, 2.1vw, 1.75rem);
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;

  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --wrap: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }
.narrow { max-width: 68ch; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: var(--text-3xl); line-height: 1.05; }
h2 { font-size: var(--text-2xl); line-height: 1.1; }
h3 { font-size: var(--text-xl); line-height: 1.2; }
p { margin: 0 0 1.1em; }
.lede { font-size: var(--text-lg); color: var(--ink-soft); line-height: 1.7; }
.eyebrow {
  font-size: var(--text-xs);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin: 0 0 var(--space-4);
}
.serif-quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: 1.25;
  font-style: italic;
  color: var(--ink);
  margin: 0;
}

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: var(--space-6); min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand svg { width: 34px; height: 34px; color: var(--ink); flex: 0 0 auto; }
.brand__word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav a {
  font-size: var(--text-sm); text-decoration: none; color: var(--ink-soft);
  letter-spacing: 0.04em; padding: 6px 0; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--brass); transition: right 0.4s var(--ease);
}
.nav a:hover::after, .nav a[aria-current='page']::after { right: 0; }
.nav a[aria-current='page'] { color: var(--ink); }
.header__tools { display: flex; align-items: center; gap: var(--space-4); }
.lang { font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.lang:hover { color: var(--ink); }
.btn {
  display: inline-block; font-size: var(--text-sm); letter-spacing: 0.08em;
  text-transform: uppercase; text-decoration: none; padding: 12px 22px;
  border: 1px solid var(--ink); color: var(--ink); background: transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--brass); border-color: var(--brass); color: #fff; }
.btn--light { border-color: rgba(255,255,255,0.7); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 22px; height: 1px; background: var(--ink); margin: 5px 0; transition: transform 0.3s var(--ease); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--surface); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(27,26,23,0.62) 0%, rgba(27,26,23,0.34) 48%, rgba(27,26,23,0.08) 100%);
}
.hero__inner { position: relative; padding-top: clamp(5rem, 14vh, 9rem); padding-bottom: clamp(4rem, 12vh, 8rem); }
.hero__content { max-width: 42rem; color: #fff; }
.hero h1 { max-width: 20ch; }
.hero h1 { font-size: var(--text-hero); color: #fff; }
.hero .eyebrow { color: rgba(255,255,255,0.82); }
.hero p { color: rgba(255,255,255,0.9); font-size: var(--text-lg); margin-top: var(--space-6); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-8); }

.page-head { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head p { max-width: 62ch; }

/* ---------- sections ---------- */
section { padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.section--surface + .section--surface { padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.section--surface + .section--surface > .wrap { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 4vw, 3.5rem); }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section--surface { background: var(--surface); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-8); margin-bottom: var(--space-12); flex-wrap: wrap; }
.section-head p { max-width: 52ch; margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__body h2 { margin-bottom: var(--space-6); }

/* store cards */
.stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.store-card { display: flex; flex-direction: column; text-decoration: none; background: var(--bg); border: 1px solid var(--line); }
.store-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.store-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.store-card:hover .store-card__media img { transform: scale(1.04); }
.tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--ink); color: var(--bg); font-size: var(--text-xs);
  letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px;
}
.tag--brass { background: var(--brass); color: #fff; }
.store-card__body { padding: var(--space-6) var(--space-6) var(--space-8); }
.store-card__body h3 { margin-bottom: 6px; }
.store-card__meta { font-size: var(--text-sm); color: var(--muted); margin: 0 0 var(--space-4); }
.store-card__link { font-size: var(--text-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass); }

/* brand list */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  border-top: 1px solid var(--line);
}
.brand-grid li {
  list-style: none; border-bottom: 1px solid var(--line);
  padding: 18px var(--space-6) 18px 0; font-size: var(--text-base); letter-spacing: 0.02em;
}
.brand-grid { padding: 0; margin: 0; }

/* timeline */
.timeline { border-top: 1px solid var(--line); margin-top: var(--space-8); }
.timeline__row { display: grid; grid-template-columns: 150px 1fr; gap: var(--space-6); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); align-items: start; }
.timeline__year { font-family: var(--font-display); font-size: var(--text-xl); color: var(--brass); line-height: 1; }
.timeline__row p { margin: 0; color: var(--ink-soft); }
.timeline__row h3 { font-size: var(--text-lg); font-family: var(--font-body); font-weight: 500; margin-bottom: 4px; }

/* info blocks */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-8) var(--space-12); }
.info-grid h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-3); }
.info-grid p, .info-grid ul { margin: 0; color: var(--ink-soft); font-size: var(--text-base); }
.info-grid ul { list-style: none; padding: 0; }
.info-grid li { display: flex; justify-content: space-between; gap: var(--space-4); padding: 5px 0; border-bottom: 1px dotted var(--line); }
.info-grid a { color: var(--brass); text-decoration: none; border-bottom: 1px solid transparent; }
.info-grid a:hover { border-color: var(--brass); }

/* services */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.card { border: 1px solid var(--line); padding: var(--space-8); background: var(--bg); }
.card h3 { font-family: var(--font-body); font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-3); }
.card p { color: var(--muted); margin: 0; }
.card__num { font-family: var(--font-display); font-size: var(--text-xl); color: var(--brass-soft); display: block; margin-bottom: var(--space-4); }

/* quote band */
.band { background: var(--ink); color: var(--bg); }
.band .serif-quote { color: #fff; max-width: 32ch; }
.band cite { display: block; margin-top: var(--space-6); font-style: normal; font-size: var(--text-sm); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.62); }

/* full bleed */
.bleed { position: relative; }
.bleed img { width: 100%; height: clamp(260px, 46vh, 520px); object-fit: cover; }

/* newsletter */
.signup { display: flex; gap: var(--space-3); flex-wrap: wrap; margin-top: var(--space-6); }
.signup input {
  flex: 1 1 240px; padding: 13px 16px; border: 1px solid var(--line);
  background: var(--bg); font-family: var(--font-body); font-size: var(--text-base); color: var(--ink);
}
.signup input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.form-note { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-4); }

/* footer */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(3rem, 6vw, 5rem) 0 var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: var(--space-8); }
.footer h4 { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--space-4); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; font-size: var(--text-sm); color: var(--ink-soft); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--brass); }
.footer__legal { margin-top: var(--space-12); padding-top: var(--space-6); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; font-size: var(--text-xs); color: var(--muted); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 900px) {
  .header__inner { gap: var(--space-3); }
  .brand svg { width: 28px; height: 28px; }
  .brand__word { font-size: 1.02rem; letter-spacing: 0.1em; }
  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: flex-start;
    gap: var(--space-4); background: var(--bg); border-bottom: 1px solid var(--line);
    padding: var(--space-6); display: none;
  }
  .nav.is-open { display: flex; }
  .burger { display: block; order: 3; }
  .header__tools .btn { display: none; }
  .split, .stores, .footer__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .timeline__row { grid-template-columns: 1fr; gap: var(--space-2); }
  .hero__content { max-width: none; }
  .hero__media::after { background: linear-gradient(180deg, rgba(27,26,23,0.42) 0%, rgba(27,26,23,0.66) 100%); }
}
