/* Surprise Furnishings — Store page */

:root {
  --forest: #1b2e1d;
  --forest-mid: #2d4232;
  --forest-label: #314a38;
  --cream: #ffffff;
  --ink: #1a1a1a;
  --muted: #2c2c2c;
  --header-h: 110px;
  --font-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: auto;
  min-height: var(--header-h);
  background: transparent;
}

.nav {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 56px 0;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 52px;
  position: relative;
}

.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 48px;
  padding-top: 14px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.nav-left a,
.nav-right a {
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.24em;
  color: #fff;
  text-transform: uppercase;
  line-height: 1;
  padding: 6px 4px;
  white-space: nowrap;
}

.nav-left a:hover,
.nav-right a:hover {
  opacity: 0.8;
}

.nav a.is-active,
.nav a[aria-current="page"] {
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  padding-bottom: 5px;
  opacity: 1;
}

.mobile-nav a[aria-current="page"] {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 4px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  line-height: 1;
  text-align: center;
}

.logo-mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.logo-bar {
  width: 1px;
  height: 22px;
  background: currentColor;
  opacity: 0.9;
}

.logo-word {
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
}

.logo-sub {
  margin-top: 2px;
  font-family: var(--font-serif);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  font-style: normal;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 32, 22, 0.96);
  z-index: 55;
  padding: 120px 32px 48px;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.mobile-nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.mobile-nav a[aria-current="page"] {
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  padding-bottom: 4px;
  opacity: 1;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 78vh;
  min-height: 720px;
  max-height: 900px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("../images/6ee240cb234802603d04d6166767fb8dcec97461.jpg");
  background-size: cover;
  background-position: 52% 48%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.52) 35%,
      rgba(0, 0, 0, 0.42) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 140px 24px 80px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-kicker {
  margin: 0 0 16px;
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.55vw, 20px);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.35;
  color: #ffffff;
}

.hero-title {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 48px);
  letter-spacing: 0.12em;
  line-height: 1.25;
  color: #ffffff;
  white-space: nowrap;
}

/* ---------- Introduction ---------- */

.intro {
  background: #fff;
  padding: 100px 0 110px;
}

.intro-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(520px, 1.35fr);
  gap: 56px 72px;
  align-items: center;
}

.intro-text {
  margin: 0;
  max-width: 420px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  font-weight: 400;
  color: #3a3a3a;
  letter-spacing: 0.015em;
  text-align: left;
}

.intro-text strong {
  font-weight: 700;
  color: #3e4b3f;
}

.intro-images {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  width: 100%;
}

.intro-img {
  margin: 0;
  overflow: hidden;
  flex-shrink: 0;
}

.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.intro-img--left {
  width: 58%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.intro-img--right {
  width: 30%;
  max-width: 220px;
  aspect-ratio: 3 / 4;
}

/* ---------- Green feature ---------- */

.green-feature {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 48px;
  overflow: hidden;
  color: #fff;
}

.green-feature-bg {
  position: absolute;
  inset: 0;
  background-color: #243528;
  background-image: url("../images/store-green-bg.jpg");
  background-size: cover;
  background-position: center center;
}

.green-feature-overlay {
  position: absolute;
  inset: 0;
  background: rgba(35, 48, 34, 0.78);
}

.green-feature-text {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  max-width: 840px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.015em;
  color: #fff;
}

/* ---------- Store experience mosaic ---------- */

.experience {
  background: #fff;
  padding: 96px 0 120px;
}

.experience-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 28px;
  align-items: start;
}

.experience-col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.exp-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

.exp-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.exp-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(255, 255, 255, 0.72) 35%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.exp-label {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 500;
  color: var(--forest-label);
  line-height: 1.28;
  letter-spacing: 0.01em;
}

.experience-col--left .exp-tile--tall {
  height: 680px;
}

.experience-col--left .exp-tile--short {
  height: 320px;
}

.experience-col--right .exp-tile--short {
  height: 300px;
}

.experience-col--right .exp-tile--tall {
  height: 700px;
}

.experience-col--left .exp-tile--tall img {
  object-position: 35% 20%;
}

.experience-col--right .exp-tile--short img {
  object-position: center 30%;
}

.experience-col--right .exp-tile--tall img {
  object-position: center 25%;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  color: #fff;
  background-color: #1a2a1c;
  background-image: url("../images/store-footer-texture.jpg");
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 20, 0.55);
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 64px 78px;
  display: grid;
  grid-template-columns: 1.05fr auto 0.9fr auto 1.35fr;
  gap: 40px;
  align-items: start;
}

.footer-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.28);
  min-height: 180px;
}

.logo--footer {
  align-items: flex-start;
  text-align: left;
}

.logo--footer .logo-mark {
  font-size: 42px;
  gap: 12px;
}

.logo--footer .logo-bar {
  height: 34px;
}

.logo--footer .logo-word {
  font-size: 15px;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  margin-top: 8px;
}

.logo--footer .logo-sub {
  font-size: 13px;
  margin-top: 4px;
}

.footer-heading {
  margin: 0 0 22px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

.footer-links a:hover {
  opacity: 0.75;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 360px;
}

.contact-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 400;
}

.contact-icon {
  display: inline-flex;
  margin-top: 2px;
  color: #fff;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 28px;
}

.social {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.social:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .nav {
    padding: 36px 40px 0;
    gap: 28px;
  }

  .nav-left,
  .nav-right {
    gap: 32px;
  }

  .intro-inner {
    padding: 0 40px;
    gap: 40px 48px;
  }

  .intro-text {
    font-size: 14px;
    max-width: 360px;
  }

  .intro-img--left {
    max-width: 320px;
  }

  .intro-img--right {
    max-width: 220px;
  }

  .experience-grid {
    padding: 0 40px;
  }

  .experience-col--left .exp-tile--tall,
  .experience-col--right .exp-tile--tall {
    height: 520px;
  }

  .experience-col--left .exp-tile--short,
  .experience-col--right .exp-tile--short {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    height: 84px;
    min-height: 84px;
  }

  .hero-title {
    white-space: normal;
    letter-spacing: 0.08em;
  }

  .nav {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 28px 20px 0;
    align-items: center;
    gap: 14px;
  }

  .nav-left,
  .nav-right {
    display: none;
    padding-top: 0;
  }

  .nav-toggle {
    display: block;
  }

  .mobile-nav.is-open {
    display: block;
  }

  .logo-mark {
    font-size: 24px;
  }

  .logo-word {
    font-size: 10px;
  }

  .logo-sub {
    font-size: 9px;
  }

  .hero {
    min-height: 64vh;
    max-height: none;
  }

  .intro {
    padding: 72px 0 64px;
  }

  .intro-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 28px;
  }

  .intro-text {
    margin: 0;
    max-width: none;
    font-size: 14.5px;
  }

  .intro-images {
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .intro-img--left {
    width: 52%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
  }

  .intro-img--right {
    width: 36%;
    max-width: 200px;
    aspect-ratio: 3 / 4;
  }

  .green-feature {
    min-height: 300px;
    padding: 64px 28px;
  }

  .experience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .experience-col--left .exp-tile--tall,
  .experience-col--right .exp-tile--tall,
  .experience-col--left .exp-tile--short,
  .experience-col--right .exp-tile--short {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .experience-col--left .exp-tile--short,
  .experience-col--right .exp-tile--short {
    aspect-ratio: 16 / 11;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 28px;
  }

  .footer-divider {
    display: none;
  }

  .logo--footer {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .logo-mark {
    font-size: 28px;
  }

  .hero-kicker {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-title {
    font-size: 26px;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  .exp-label {
    font-size: 18px;
    left: 16px;
    bottom: 16px;
  }

  .intro-images {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .intro-img--left {
    width: 56%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
  }

  .intro-img--right {
    width: 38%;
    max-width: 160px;
    aspect-ratio: 3 / 4;
  }
}

/* ---------- Scroll & page-load animations ---------- */

.js-anim .reveal,
.js-anim .reveal-load {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.js-anim .reveal-load {
  transform: translateY(28px);
}

.js-anim img.reveal,
.js-anim img.reveal-load,
.js-anim figure.reveal,
.js-anim figure.reveal-load,
.js-anim .intro-img.reveal,
.js-anim .exp-tile.reveal {
  transform: translateY(40px) scale(0.98);
}

.js-anim .reveal.is-visible,
.js-anim .reveal-load.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.js-anim .hero-media.reveal-load {
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.js-anim .hero-media.reveal-load.is-visible {
  opacity: 1;
  transform: scale(1);
}

.js-anim .hero-title.reveal-load,
.js-anim .hero h1.reveal-load {
  transform: translateY(24px);
  transition-duration: 1s;
  transition-delay: 0.25s;
}

@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal,
  .js-anim .reveal-load,
  .js-anim .reveal.is-visible,
  .js-anim .reveal-load.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
