/* ================================
   TODAY, TOMORROW — Stylesheet
   Editorial / Luxury Minimal
   ================================ */

/* --- TOKENS --- */
:root {
  --white:      #FFFFFF;
  --off-white:  #F9F9F7;
  --ink:        #111110;
  --ink-mid:    #555552;
  --ink-light:  #999994;
  --border:     #E0E0DC;
  --border-dark:#C8C8C2;
  --accent:     #B89A7A; /* subtle warm — used sparingly */

  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --max-w: 1280px;
  --nav-h: 56px;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Strip default chrome from the few real buttons (close, toggle, submit) */
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

body {
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }

/* --- UTILITIES --- */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 5rem);
}

/* Underline link style — Zara Home's preferred CTA */
.link-underline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}
.link-underline:hover { opacity: 0.5; }

/* Minimal bordered button */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn-filled {
  background: var(--ink);
  color: var(--white);
}
.btn-filled:hover { background: var(--ink-mid); border-color: var(--ink-mid); }

/* Section label — tiny caps */
.section-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.6rem;
}

/* Placeholder blocks */
.placeholder,
.placeholder-tall {
  background: var(--off-white);
  border: 1px dashed var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder span,
.placeholder-tall span {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
}


/* ================================
   NAVIGATION
   ================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px clamp(1.25rem, 5vw, 5rem);
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.nav-logo-img {
  height: 32px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
  object-fit: contain;
}

.nav-mark {
  width: 28px;
  height: auto;
  flex-shrink: 0;
}

/* Center nav links on desktop */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  justify-self: center;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

.nav-right {
  justify-self: end;
}
.nav-right a {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-right a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}


/* ================================
   HERO
   ================================ */
.hero {
  margin-top: var(--nav-h);
  display: grid;
  grid-template-columns: 52fr 48fr;
  min-height: calc(100svh - var(--nav-h));
}

.hero-image {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.hero-image .placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  border: none;
  background: var(--off-white);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 2rem;
}
.hero-title em {
  font-style: italic;
}

.hero-sub {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-mid);
  max-width: 36ch;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}


/* ================================
   EDITORIAL STRIP
   ================================ */
.editorial-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}
.editorial-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
}
.editorial-strip span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.strip-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-dark);
  flex-shrink: 0;
}


/* ================================
   SHOP / PRODUCT GRID
   ================================ */
.shop {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.shop-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 0;
  background: none;
  border: none;
  transition: color 0.2s;
  position: relative;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.filter-btn:hover { color: var(--ink); }

.filter-btn.active {
  color: var(--ink);
}
.filter-btn.active::after {
  transform: scaleX(1);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: 0;
  cursor: pointer;
}


.product-image {
  aspect-ratio: 9 / 10;
  width: 100%;
  overflow: hidden;
  position: relative;
  display: block;
  flex-shrink: 0;
  background: var(--ink);
}
.product-image .img-primary {
  transition: none;
}

.product-image .img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-card:hover .img-hover { opacity: 1; }
.product-image.placeholder { border: none; }

.hover-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 85% at center, transparent 55%, rgba(0,0,0,0.6) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.product-card:hover .hover-vignette { opacity: 1; }

.product-info {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.product-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.product-detail {
  font-size: 0.72rem;
  color: var(--ink-light);
  letter-spacing: 0.03em;
}

.product-price {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-mid);
  margin-top: 0.25rem;
}

.product-info .link-underline {
  margin-top: 0.85rem;
}

.shop-footer-note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  font-size: 0.8rem;
  color: var(--ink-light);
}
.shop-footer-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: opacity 0.2s;
}
.shop-footer-note a:hover { opacity: 0.5; }


/* ================================
   EVENTS
   ================================ */
.events {
  padding-block: clamp(4rem, 8vw, 7rem);
  background: #EDECEA;
}

.events-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.events-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.02em;
}

.event-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.cal-month {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.cal-grid {
  width: 100%;
  border-collapse: collapse;
}

.cal-grid th {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding-bottom: 0.75rem;
  text-align: center;
}

.cal-grid td {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--ink-mid);
  text-align: center;
  padding: 0.5rem 0;
  width: calc(100% / 7);
}

.cal-highlight {
  color: var(--white) !important;
  background: var(--ink);
  font-weight: 400;
}

.event-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1rem;
  margin-top: 0.25rem;
}

.event-collab {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.event-collab span {
  color: var(--ink-light);
}

.event-sub {
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  margin-bottom: 2rem;
}

.event-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.event-info-row {
  display: flex;
  gap: 1.5rem;
  font-size: 0.825rem;
  font-weight: 300;
  color: var(--ink-mid);
}

.event-info-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-light);
  min-width: 3.5rem;
  padding-top: 2px;
}

.event-note {
  font-size: 0.825rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
}

.event-cal-btn {
  margin-top: 1.75rem;
  font-size: 0.6rem;
  padding: 0.6rem 1.25rem;
}

@media (max-width: 768px) {
  .event-card { grid-template-columns: 1fr; }
}

/* ================================
   FULL-WIDTH EDITORIAL BANNER
   ================================ */
.banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
  margin-top: 0;
  margin-bottom: 0;
}

.banner-image {
  background: #D9D3CB;
}
.banner-image .placeholder-tall {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: none;
  background: var(--off-white);
}

.banner-text {
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem);
  border-left: 1px solid var(--border);
}

.banner-text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.75rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.banner-text p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  max-width: 44ch;
  margin-bottom: 1rem;
}

.banner-text .link-underline { margin-top: 1rem; }


/* ================================
   VISIT
   ================================ */
.visit {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.visit h2 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.15;
}

.visit-detail {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.visit-detail:last-child { border-bottom: none; }

.visit-label {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: 0.6rem;
}
.visit-detail p {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.7;
}
.visit-note {
  font-size: 0.75rem !important;
  color: var(--ink-light) !important;
  margin-top: 0.2rem;
}
.visit-detail a {
  color: var(--ink);
  border-bottom: 1px solid var(--border-dark);
  transition: border-color 0.2s;
}
.visit-detail a:hover { border-color: var(--ink); }

.visit-image {
  aspect-ratio: 1;
  background: var(--off-white);
}
.visit-image .placeholder-tall {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  background: var(--off-white);
}


/* ================================
   FOOTER
   ================================ */
.site-footer {
  background: var(--ink);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  filter: invert(1) brightness(2);
}

.footer-logo-fallback {
  display: none;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.footer-address,
.footer-links {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.1em;
}
.footer-links a {
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-right {
  text-align: right;
}
.footer-copy {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}


/* ================================
   FILM GRAIN
   ================================ */
.product-image,
.hero-image,
.banner-image,
.visit-image,
.about-image {
  position: relative;
}

.product-image::after,
.hero-image::after,
.banner-image::after,
.visit-image::after,
.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/grain.svg');
  background-repeat: repeat;
  background-size: 300px 300px;
  opacity: 0.13;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

/* Subtle vintage colour grade */
.product-image img,
.hero-image img,
.visit-image img,
.about-image img {
  filter: saturate(0.85) contrast(1.18) brightness(0.92);
}

.banner-image img {
  filter: saturate(1.1) contrast(1.35) brightness(0.82);
}

/* ================================
   MODAL
   ================================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(17,17,16,0.5);
  align-items: center;
  justify-content: flex-end;
}
.modal-overlay.open {
  display: flex;
}

.modal-panel {
  background: var(--white);
  width: 100%;
  max-width: 480px;
  height: 100%;
  overflow-y: auto;
  padding: clamp(2rem, 6vw, 4rem);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: slideIn 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 0.9rem;
  color: var(--ink-light);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--ink); }

.modal-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 300;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.modal-sub {
  font-size: 0.825rem;
  font-weight: 300;
  color: var(--ink-mid);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-dark);
  padding: 0.5rem 0;
  outline: none;
  width: 100%;
  transition: border-color 0.2s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--ink);
}

.form-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.form-status {
  font-size: 0.8rem;
  color: var(--ink-mid);
  min-height: 1.2em;
}
.form-status.success { color: #3a6b3a; }
.form-status.error   { color: #8b2a2a; }

/* Inline button-as-link styles */
.link-inline {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 0 0 1px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.link-inline:hover { opacity: 0.5; }

.link-inline-light {
  background: none;
  border: none;
  font-family: inherit;
  font-size: inherit;
  color: var(--ink);
  border-bottom: 1px solid rgba(212,192,165,0.4);
  padding: 0 0 1px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.link-inline-light:hover { border-color: var(--ink); }

.nav-contact-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mid);
  cursor: pointer;
  transition: color 0.2s;
}
.nav-contact-btn:hover { color: var(--ink); }

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image { min-height: 60vw; }
  .hero-inner { padding-top: 3rem; }
  .banner { grid-template-columns: 1fr; }
  .banner-image { min-height: 50vw; }
  .banner-text { border-left: none; border-top: 1px solid var(--border); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-right { text-align: center; }
}

@media (max-width: 768px) {
  :root { --nav-h: 52px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: var(--white);
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }
  .nav-links.open a { font-size: 0.85rem; }
  .nav-right { display: none; }
  .nav-toggle { display: flex; }

  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .visit-grid { grid-template-columns: 1fr; }
  .editorial-strip .container { gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .shop-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .hero-title { font-size: clamp(2.5rem, 12vw, 4rem); }
}
