@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

@font-face {
  font-family: 'TAY Brunch';
  src: url('assets/TAYBrunch.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: 'TAY Kula';
  src: url('assets/TAYKula.woff2') format('woff2');
  font-display: swap;
}

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

:root {
  --blue: #5c94aa;
  --blue-deep: #3a6e84;
  --earth: #d3cba9;
  --shadow: #1c1d2b;
  --cream: #f5f0e8;
  --text: #2a2418;
  --muted: #7a7060;
  --brunch: 'TAY Brunch', sans-serif;
  --kula: 'TAY Kula', sans-serif;
  --serif: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  transition: background 0.4s ease, padding 0.4s ease;
}
nav.scrolled,
body.page-inner nav {
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 3rem;
  border-bottom: 1px solid rgba(28,29,43,0.08);
}
.nav-logo img { height: 42px; width: auto; display: block; transition: height 0.4s ease; }
nav.scrolled .nav-logo img,
body.page-inner nav .nav-logo img { height: 34px; }
.nav-links { display: flex; gap: 2.25rem; list-style: none; align-items: center; }
.nav-links a {
  font-family: var(--brunch);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--shadow);
  text-decoration: none;
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--blue); }
.nav-links a[aria-current="page"] {
  color: var(--blue);
  border-bottom: 2px solid var(--blue);
  padding-bottom: 2px;
}
.nav-toggle { display: none; }

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  position: relative;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 3rem 5rem 3rem;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--brunch);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--blue); }
.hero-title {
  font-family: var(--brunch);
  font-size: clamp(3.2rem, 6.5vw, 5.5rem);
  line-height: 0.92;
  color: var(--shadow);
  margin-bottom: 1.75rem;
  text-transform: uppercase;
}
.hero-title .whim { color: var(--blue); position: relative; display: inline-block; }
.squiggle { position: absolute; left: 0; bottom: -0.4em; width: 100%; height: 0.3em; overflow: visible; }
.squiggle path { stroke: var(--earth); stroke-width: 4; fill: none; stroke-linecap: round; }
.hero-tagline {
  font-size: 1.2rem; font-weight: 300; font-style: italic;
  color: var(--muted); max-width: 32ch; line-height: 1.7; margin-bottom: 2.5rem;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-family: var(--brunch); font-size: 13px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cream); background: var(--shadow);
  padding: 1rem 2rem; border-radius: 3px; text-decoration: none;
  align-self: flex-start; transition: background 0.3s, gap 0.3s;
}
.hero-cta:hover { background: var(--blue); gap: 1.5rem; }
.hero-cta::after { content: '→'; }

.hero-right { position: relative; overflow: hidden; background: var(--shadow); }
.hero-right img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-right img.hero-mark {
  position: absolute; bottom: 2rem; right: 2rem;
  width: 58px; height: auto; object-fit: contain; z-index: 3;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  animation: gentleSpin 11s ease-in-out infinite;
}
@keyframes gentleSpin { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

/* ---- PAGE HEADER (inner pages) ---- */
.page-header {
  padding: 9rem 3rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
}
.page-header-eyebrow {
  font-family: var(--brunch);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-header-eyebrow::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--blue);
}
.page-header h1 {
  font-family: var(--brunch);
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--shadow);
  text-transform: uppercase;
  line-height: 0.92;
}
.page-header h1 .accent { color: var(--blue); }
.page-header .page-sub {
  font-style: italic;
  color: var(--muted);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  max-width: 46ch;
  line-height: 1.7;
}

/* ---- MARQUEE ---- */
.marquee-band {
  background: var(--shadow); padding: 1.4rem 0; overflow: hidden; white-space: nowrap;
}
.marquee { display: inline-block; animation: marquee 28s linear infinite; }
.marquee span {
  font-family: var(--kula); font-size: 1.7rem; color: var(--earth); margin: 0 1.25rem;
}
.marquee .dot { color: var(--blue); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- SECTION SHELL ---- */
section { position: relative; }
.wrap { padding: 6.5rem 3rem; max-width: 1300px; margin: 0 auto; }
.wrap--slim-top { padding-top: 2rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1rem; gap: 2rem; flex-wrap: wrap; }
.section-title {
  font-family: var(--brunch); font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--shadow); text-transform: uppercase; line-height: 1;
}
.section-title .accent { color: var(--blue); }
.section-sub { font-style: italic; color: var(--muted); font-size: 1.1rem; margin-bottom: 3rem; max-width: 52ch; }
.section-link { font-family: var(--brunch); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); text-decoration: none; border-bottom: 2px solid var(--blue); padding-bottom: 3px; white-space: nowrap; }

/* ---- INTRO PHILOSOPHY ---- */
.intro { background: var(--earth); }
.intro .wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: center; }
.intro-label { font-family: var(--brunch); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-deep); }
.intro-text { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; font-style: italic; color: var(--shadow); line-height: 1.5; }
.intro-text b { font-style: normal; font-weight: 500; }

/* ---- COLLECTIONS PREVIEW (homepage) ---- */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.preview-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.preview-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}
.preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.preview-card:hover .preview-img img { transform: scale(1.04); }
.preview-num {
  font-family: var(--brunch);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--blue);
  display: block;
  margin-bottom: 0.4rem;
}
.preview-card h3 {
  font-family: var(--kula);
  font-size: 2rem;
  color: var(--shadow);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.preview-card:hover h3 { color: var(--blue); }
.preview-card > p {
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}
.preview-cta-wrap {
  text-align: center;
  margin-top: 3.5rem;
}

/* ---- COLLECTIONS (full list, collections page) ---- */
.collection-row {
  display: grid; grid-template-columns: 70px 1.1fr 1.4fr; gap: 2.5rem;
  align-items: center; padding: 2.5rem 0; border-top: 1px solid rgba(28,29,43,0.13);
  transition: padding-left 0.4s ease;
}
.collection-row:last-child { border-bottom: 1px solid rgba(28,29,43,0.13); }
.collection-row:hover { padding-left: 1rem; }
.collection-num { font-family: var(--brunch); font-size: 14px; color: var(--blue); }
.collection-info h3 { font-family: var(--kula); font-size: 2.6rem; color: var(--shadow); line-height: 1; margin-bottom: 0.6rem; transition: color 0.3s; }
.collection-row:hover h3 { color: var(--blue); }
.collection-info p { font-style: italic; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.collection-meta { font-family: var(--brunch); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); margin-top: 0.75rem; }
.collection-imgs { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.6rem; height: 165px; }
.collection-imgs img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; transition: transform 0.4s ease; }
.collection-row:hover .collection-imgs img:nth-child(1) { transform: translateY(-6px); }
.collection-row:hover .collection-imgs img:nth-child(2) { transform: translateY(-2px); }
.collection-row:hover .collection-imgs img:nth-child(3) { transform: translateY(-9px); }

/* ---- MUG PROJECT (feature story) ---- */
.mug-project { background: var(--shadow); color: var(--earth); }
.mug-project .section-title { color: var(--earth); }
.mug-project .section-title .accent { color: var(--blue); }
.mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; margin-top: 1rem; }
.mp-eyebrow { font-family: var(--brunch); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.mp-lead { font-size: 1.5rem; font-style: italic; font-weight: 300; line-height: 1.5; color: #fff; margin-bottom: 1.5rem; }
.mp-body { color: rgba(211,203,169,0.85); line-height: 1.85; margin-bottom: 1.25rem; max-width: 46ch; }
.mp-body b { color: #fff; font-weight: 400; }
.mp-photo { position: relative; }
.mp-photo img { width: 100%; border-radius: 6px; display: block; }
.mp-photo .mp-tag { position: absolute; bottom: -14px; left: -14px; background: var(--blue); color: var(--shadow); font-family: var(--brunch); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.6rem 1.1rem; border-radius: 3px; }
.mp-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.75rem; margin-top: 4rem; }
.mp-gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 5px; transition: transform 0.4s ease, filter 0.4s ease; filter: saturate(0.95); }
.mp-gallery img:hover { transform: translateY(-6px); filter: saturate(1.1); }
.denim-note { margin-top: 3rem; padding: 1.75rem 2rem; border: 1px solid rgba(211,203,169,0.2); border-radius: 6px; display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; }
.denim-note .dn-title { font-family: var(--kula); font-size: 1.8rem; color: var(--earth); }
.denim-note p { color: rgba(211,203,169,0.8); font-style: italic; font-size: 0.98rem; flex: 1; min-width: 260px; }

/* ---- ABOUT ---- */
.about .wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4.5rem; align-items: center; }
.about-portrait { position: relative; }
.about-portrait img { width: 100%; border-radius: 6px; display: block; }
.about-portrait .ap-badge {
  position: absolute; bottom: -18px; right: -18px; width: 96px; height: 96px;
  background: var(--earth); border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; transform: rotate(-8deg);
}
.ap-badge .b-num { font-family: var(--kula); font-size: 1.9rem; color: var(--shadow); line-height: 0.9; }
.ap-badge .b-label { font-family: var(--brunch); font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-deep); }
.about-eyebrow { font-family: var(--brunch); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 1.25rem; }
.about h2 { font-family: var(--brunch); font-size: clamp(2rem, 4vw, 3rem); color: var(--shadow); line-height: 1.05; margin-bottom: 1.75rem; text-transform: uppercase; }
.about h2 .accent { color: var(--blue); }
.about p { color: var(--muted); line-height: 1.9; margin-bottom: 1.25rem; max-width: 50ch; }
.about p b { color: var(--text); font-weight: 500; }
.about .pull { font-family: var(--kula); font-size: 1.9rem; color: var(--blue-deep); line-height: 1.3; margin: 2rem 0; max-width: 18ch; }

/* ---- CONTACT PAGE ---- */
.contact-content .wrap {
  padding-top: 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-lead {
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 42ch;
}
.touch-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
}
.touch-list-v2 span {
  font-family: var(--brunch);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.touch-list-v2 span::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}
.contact-panel {
  background: var(--earth);
  border-radius: 6px;
  padding: 2.75rem 2.5rem;
}
.contact-panel h3 {
  font-family: var(--brunch);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 2.25rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.contact-detail-item h4 {
  font-family: var(--brunch);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.contact-detail-item a,
.contact-detail-item p {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--shadow);
  text-decoration: none;
  transition: color 0.2s;
  line-height: 1.5;
}
.contact-detail-item a:hover { color: var(--blue); }

/* ---- SHARED CTA BUTTON ---- */
.touch-btn {
  display: inline-flex; align-items: center; gap: 0.9rem; align-self: flex-start;
  font-family: var(--brunch); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--shadow); color: var(--cream); padding: 1.1rem 2.2rem; border-radius: 3px;
  text-decoration: none; transition: gap 0.3s, background 0.3s;
}
.touch-btn:hover { gap: 1.5rem; background: var(--blue-deep); }
.touch-btn::after { content: '→'; }

/* ---- FOOTER ---- */
footer { background: var(--shadow); padding: 4rem 3rem 3rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; flex-wrap: wrap; max-width: 1300px; margin: 0 auto; }
.footer-logo img { height: 90px; width: auto; }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--brunch); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-family: var(--serif); font-size: 1rem; color: rgba(211,203,169,0.7); text-decoration: none; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { max-width: 1300px; margin: 3rem auto 0; padding-top: 2rem; border-top: 1px solid rgba(211,203,169,0.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-family: var(--brunch); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; color: rgba(211,203,169,0.4); }

/* ---- REVEAL ANIM ---- */
.fade-up { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.in { opacity: 1; transform: translateY(0); }

@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { animation: heroIn 0.8s ease 0.15s both; }
.hero-title { animation: heroIn 0.8s ease 0.35s both; }
.hero-tagline { animation: heroIn 0.8s ease 0.55s both; }
.hero-cta { animation: heroIn 0.8s ease 0.75s both; }
.hero-right img { animation: heroIn 1.2s ease 0.2s both; }

/* ---- MOBILE NAV (hamburger) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  padding: 0; z-index: 120;
}
.nav-toggle span {
  display: block; height: 2.5px; width: 26px; margin: 0 auto;
  background: var(--shadow); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- RESPONSIVE ---- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 56vh; order: -1; }
  .hero-left { padding: 3.5rem 2rem 4rem; }
  .intro .wrap, .mp-grid, .about .wrap, .contact-grid { grid-template-columns: 1fr; gap: 2.75rem; }
  .about-portrait { max-width: 460px; }
  .wrap { padding: 5rem 2rem; }
  nav { padding: 1.1rem 2rem; }
  nav.scrolled, body.page-inner nav { padding: 0.9rem 2rem; }
  .denim-note { flex-direction: column; align-items: flex-start; }
  .preview-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .page-header { padding: 7rem 2rem 4rem; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh; width: min(78vw, 320px);
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.75rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -12px 0 40px rgba(28,29,43,0.12);
    z-index: 110;
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { font-size: 1.6rem; }
  .nav-overlay {
    position: fixed; inset: 0; background: rgba(28,29,43,0.4);
    opacity: 0; pointer-events: none; transition: opacity 0.35s; z-index: 105;
  }
  body.menu-open .nav-overlay { opacity: 1; pointer-events: auto; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .collection-row { grid-template-columns: 1fr; gap: 1.25rem; padding: 2rem 0; }
  .collection-row:hover { padding-left: 0; }
  .collection-num { font-size: 13px; }
  .collection-info h3 { font-size: 2.1rem; }
  .collection-imgs { height: 150px; }
  .mp-gallery { grid-template-columns: repeat(2,1fr); gap: 0.6rem; }
  .mp-photo .mp-tag { left: 0; bottom: -10px; font-size: 11px; }
  .wrap { padding: 4rem 1.4rem; }
  .hero-left { padding: 3rem 1.4rem 3.5rem; }
  nav { padding: 1rem 1.4rem; }
  nav.scrolled, body.page-inner nav { padding: 0.8rem 1.4rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .footer-cols { gap: 2rem; }
  .footer-col { min-width: 130px; }
  .about-portrait .ap-badge { width: 76px; height: 76px; right: -8px; bottom: -12px; }
  .ap-badge .b-num { font-size: 1.5rem; }
  .preview-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-header { padding: 7rem 1.4rem 3rem; }
  .contact-panel { padding: 2rem 1.5rem; }
}
