/* ---------------------------------------------
   Amanda Tasch — editorial style/beauty page
   Tokens
--------------------------------------------- */
:root {
  --ink: #1E1916;
  --ink-soft: #2A231F;
  --paper: #F4EFE8;
  --paper-dim: #E7DFD3;
  --wine: #7D3049;
  --wine-light: #A85069;
  --gold: #BFA05A;
  --muted: #A79C90;
  --muted-dark: #6F675D;

  --display: "Fraunces", Georgia, serif;
  --body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}

/* ---------- Placeholder photo blocks ---------- */
.ph {
  position: relative;
  background:
    linear-gradient(155deg, rgba(0,0,0,.08), rgba(0,0,0,0) 55%),
    linear-gradient(20deg, #cbb79a, #e3d3bc 45%, #d8b7a4 100%);
  border-radius: 2px;
  overflow: hidden;
}
.ph span {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(30,25,22,.45);
  font-family: var(--body);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  color: var(--paper);
  transition: background-color .3s ease, color .3s ease, padding .3s ease;
}
.nav.is-scrolled {
  background: var(--ink);
  padding-top: 14px;
  padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.nav__mark {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-size: 14px;
  opacity: .88;
  transition: opacity .2s ease;
}
.nav__links a:hover { opacity: 1; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px; height: 1.6px;
  background: currentColor;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero__image {
  grid-column: 2;
  grid-row: 1;
  height: 100%;
}
.hero__image span { color: rgba(244,239,232,.5); }
.hero__type {
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 0 84px var(--gutter);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease, transform .9s ease;
}
.hero__type.is-in { opacity: 1; transform: translateY(0); }
.hero h1 {
  font-size: clamp(52px, 9vw, 108px);
  line-height: .92;
  letter-spacing: -.01em;
}
.hero h1 span { display: block; }
.hero__tag {
  margin-top: 22px;
  max-width: 30ch;
  font-size: 17px;
  color: var(--muted);
}

/* ---------- About ---------- */
.about {
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter);
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 64px;
  align-items: center;
}
.about__image { aspect-ratio: 4/5; }
.about h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 22px; }
.about p { max-width: 46ch; color: var(--muted-dark); font-size: 17px; }

/* ---------- Pillars ---------- */
.pillars {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--paper-dim);
}
.pillars article {
  background: var(--paper);
  padding: 40px 36px;
}
.pillars h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--wine);
}
.pillars p { color: var(--muted-dark); font-size: 15px; max-width: 32ch; }

/* ---------- Grid sections (Instagram / TikTok) ---------- */
.grid-section, .reels-section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 120px;
}
.grid-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}
.grid-section__head h2 { font-size: clamp(28px, 3.2vw, 38px); }
.grid-section__head p { margin-top: 10px; color: var(--muted-dark); font-size: 15px; }

.grid-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.grid-section__grid .ph { aspect-ratio: 1/1; }

.reels-section__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.reels-section__grid .ph { aspect-ratio: 9/16; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--wine {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--paper);
}
.btn--wine:hover { background: var(--wine-light); border-color: var(--wine-light); }

/* ---------- Work together ---------- */
.work {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 130px var(--gutter);
}
.work h2 {
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 20px;
}
.work p {
  max-width: 46ch;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 17px;
}

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--muted-dark);
  font-size: 14px;
}
.footer__mark { font-family: var(--display); font-size: 17px; color: var(--ink); }
.footer__social { display: flex; gap: 18px; }
.footer__social a { color: var(--ink); opacity: .7; transition: opacity .2s ease; }
.footer__social a:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__image { aspect-ratio: 16/10; order: -1; }
  .pillars { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--ink);
    color: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 0 var(--gutter);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a { font-size: 22px; }
  .nav__toggle { display: flex; }

  .hero { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .hero__image { grid-column: 1; grid-row: 1; }
  .hero__type { grid-row: 2; padding: 40px var(--gutter) 56px; }
  .hero h1 { font-size: clamp(44px, 14vw, 64px); }

  .grid-section__head { flex-direction: column; align-items: flex-start; }
  .grid-section__grid, .reels-section__grid { grid-template-columns: repeat(2, 1fr); }
}
