/* =========================================================
   SLASHEASY — Premium Interior Design Studio
   Design tokens + global styles
   ========================================================= */

:root {
  /* Color tokens — warm, sophisticated, premium */
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --surface: #1a1a1a;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --text: #f5f1ea;
  --text-2: #c7c0b3;
  --text-3: #8a8275;
  --muted: rgba(245, 241, 234, 0.55);

  --accent: #c9a876;       /* warm gold */
  --accent-2: #d4b78a;
  --warm: #d4a574;
  --cream: #f5f0e8;
  --sand: #b8a684;

  /* Type */
  --ff-serif: "Fraunces", "Cormorant Garamond", "Times New Roman", serif;
  --ff-sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Sizing */
  --container: 1440px;
  --pad: clamp(18px, 4vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;
  --section-pad-y: clamp(60px, 9vw, 140px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.6, 0, 0.4, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--text);
  font-size: clamp(15px, 1.05vw, 16px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  min-height: 100vh;
  min-height: 100svh;
}

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

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
input, button, textarea { font-family: inherit; }

::selection { background: var(--accent); color: var(--bg); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
}

/* =========================================================
   Typography helpers
   ========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--cream); }

.section-title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.section-title--center { text-align: center; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-head--split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  column-gap: clamp(24px, 4vw, 80px);
  row-gap: clamp(20px, 2.5vw, 32px);
  align-items: end;
}
.section-head--split > .eyebrow {
  grid-column: 1 / -1;
  align-self: start;
}
.section-head--split > .section-title { grid-column: 1; }
.section-head--split > .section-lead { grid-column: 2; }
.section-head--center {
  align-items: center;
  text-align: center;
}
.section-lead {
  color: var(--text-2);
  font-size: 1.0625rem;
  max-width: 460px;
  line-height: 1.7;
}
.section-lead--wide {
  max-width: 620px;
  margin-top: 4px;
}

@media (max-width: 800px) {
  .section-head--split { grid-template-columns: 1fr; }
  .section-head--split > .section-title,
  .section-head--split > .section-lead { grid-column: 1; }
}

/* =========================================================
   Buttons + Links
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn svg { transition: transform .5s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--cream);
  color: var(--bg);
  border: 1px solid var(--cream);
}
.btn--primary:hover { background: var(--accent); border-color: var(--accent); }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--accent); color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-2);
  transition: color .35s var(--ease), border-color .35s var(--ease);
}
.link-arrow svg { transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent); border-color: var(--accent); }
.link-arrow:hover svg { transform: translate(3px, -3px); }
.link-arrow--lg { font-size: 16px; padding-bottom: 8px; }

.circle-link {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: all .4s var(--ease);
}
.circle-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}
.circle-link:hover svg { transform: translate(3px, -3px); }
.circle-link svg { transition: transform .4s var(--ease); }

/* =========================================================
   Cursor
   ========================================================= */

.cursor, .cursor-follower {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor {
  width: 6px; height: 6px;
  background: var(--cream);
  transition: width .3s var(--ease), height .3s var(--ease);
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1px solid rgba(245, 240, 232, 0.5);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s var(--ease);
}
.cursor.is-hover { width: 14px; height: 14px; }
.cursor-follower.is-hover { width: 64px; height: 64px; background: rgba(245, 240, 232, 0.06); }

@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-follower { display: none; }
}

/* =========================================================
   Preloader
   ========================================================= */

.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: grid;
  place-items: center;
  transition: opacity .8s var(--ease), visibility .8s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.preloader__logo {
  font-family: var(--ff-serif);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  letter-spacing: 0.3em;
  font-weight: 300;
  color: var(--text);
}
.preloader__bar {
  width: clamp(180px, 30vw, 320px);
  height: 1px;
  background: var(--line-2);
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width .8s var(--ease);
}
.preloader__counter {
  font-family: var(--ff-serif);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), backdrop-filter .35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  font-family: var(--ff-serif);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  font-weight: 400;
  transition: color .3s var(--ease);
}
.nav__logo:hover { color: var(--accent); }
.nav__logo svg { transition: transform .5s var(--ease); }
.nav__logo:hover svg { transform: rotate(-8deg); }

.nav__menu ul {
  display: flex;
  gap: 4px;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.nav__menu a {
  position: relative;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--text-2);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 500;
  transition: background .35s var(--ease), color .35s var(--ease), transform .5s var(--ease);
}
.nav__cta:hover { background: var(--accent); transform: translateY(-1px); }
.nav__cta svg { transition: transform .35s var(--ease); }
.nav__cta:hover svg { transform: translate(2px, -2px); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav__toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.nav__mobile {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.97);
  backdrop-filter: blur(20px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s var(--ease);
  z-index: 90;
}
.nav__mobile.is-open { opacity: 1; visibility: visible; }
.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
}
.nav__mobile a {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 300;
  color: var(--text);
  transition: color .3s var(--ease);
}
.nav__mobile a:hover { color: var(--accent); font-style: italic; }

@media (max-width: 1024px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__toggle { display: inline-block; }
}
@media (max-width: 480px) {
  .nav { padding: 16px 0; }
  .nav.is-scrolled { padding: 10px 0; }
  .nav__logo { font-size: 1.1rem; gap: 8px; }
  .nav__logo svg { width: 28px; height: 28px; }
  .nav__toggle { width: 40px; height: 40px; }
  .nav__toggle span { left: 10px; width: 18px; }
}
@media (max-width: 380px) {
  .nav__logo span { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 130px;
  padding-bottom: 130px;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  filter: brightness(0.65) saturate(0.95);
  will-change: transform;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.65) 0%, transparent 50%);
}
.hero__bg-grain {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.25);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201, 168, 118, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(201, 168, 118, 0); }
}

.hero__title {
  font-family: var(--ff-serif);
  font-weight: 300;
  font-size: clamp(2.25rem, 7.5vw, 6.5rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
  max-width: 14ch;
  margin-bottom: 28px;
  word-break: break-word;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.hero__title .line {
  display: block;
}

.hero__subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 80px;
}

/* Hero glassmorphic cards */
.hero__card {
  position: absolute;
  background: rgba(20, 18, 16, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transition: transform .6s var(--ease);
}
.hero__card:hover { transform: translateY(-4px); }

.hero__card--style {
  bottom: 60px;
  left: var(--pad);
  max-width: 320px;
  animation: floatA 6s var(--ease) infinite;
}
.hero__card-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--cream);
  flex-shrink: 0;
}
.hero__card-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
}
.hero__card-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

.hero__card--create {
  right: var(--pad);
  bottom: 120px;
  width: 280px;
  flex-direction: column;
  align-items: stretch;
  padding: 14px;
  animation: floatB 7s var(--ease) infinite;
}
.hero__card-tabs {
  display: flex;
  gap: 2px;
  background: rgba(0,0,0,0.3);
  padding: 3px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero__card-tabs button {
  flex: 1;
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text-3);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.hero__card-tabs .active {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}
.hero__card-body {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  align-items: center;
}
.hero__card-img {
  width: 80px; height: 80px;
  border-radius: 8px;
  overflow: hidden;
}
.hero__card-img img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-link {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--text);
  margin-top: 8px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.hero__card-link:hover { background: var(--accent); color: var(--bg); }

@keyframes floatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 1200px) {
  .hero__card--create { right: var(--pad); bottom: 110px; width: 240px; }
}
@media (max-width: 1024px) {
  .hero__card--create,
  .hero__card--style {
    position: static;
    width: 100%;
    max-width: 360px;
    margin-top: 16px;
    animation: none;
    bottom: auto; right: auto; left: auto;
  }
  .hero__card--style { margin-top: 28px; }
}
@media (max-width: 768px) {
  .hero { padding-top: 110px; padding-bottom: 100px; }
  .hero__actions { margin-bottom: 28px; }
  .hero__card--create, .hero__card--style { max-width: 100%; }
}
@media (max-width: 480px) {
  .hero { padding-top: 100px; padding-bottom: 90px; }
  .hero__eyebrow { font-size: 10.5px; padding: 6px 12px; margin-bottom: 22px; }
  .hero__subtitle { margin-bottom: 28px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { padding: 12px 18px; font-size: 13px; }
  .hero__card { padding: 12px; }
  .hero__card-img { width: 64px; height: 64px; }
  .hero__card-body { grid-template-columns: 64px 1fr; gap: 10px; }
}
@media (max-height: 640px) and (orientation: landscape) and (max-width: 1024px) {
  .hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }
  .hero__card--create, .hero__card--style { display: none; }
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  right: var(--pad);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  z-index: 2;
}
.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: scroll-line 2.4s var(--ease) infinite;
}
@keyframes scroll-line {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}
@media (max-width: 1100px) {
  .hero__scroll { display: none; }
}

/* Hero marquee */
.hero__marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(6px);
}
.marquee__track {
  display: flex;
  gap: clamp(20px, 4vw, 32px);
  white-space: nowrap;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(12px, 1.2vw, 14px);
  color: var(--text-2);
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee__track span:nth-child(even) { color: var(--accent); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* =========================================================
   Stats
   ========================================================= */

.stats {
  padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 60px);
}
.stats__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 20px;
  border-right: 1px solid var(--line);
}
.stats__item:last-child { border-right: 0; }
.stats__num {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stats__num small {
  font-size: 0.5em;
  color: var(--accent);
  vertical-align: super;
  margin-left: 4px;
}
.stats__label {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stats__item { padding-right: 16px; }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }
}
@media (max-width: 480px) {
  .stats__label { font-size: 11.5px; letter-spacing: 0.06em; }
  .stats__num { font-size: clamp(2rem, 8vw, 3rem); }
}
@media (max-width: 380px) {
  .stats__grid { grid-template-columns: 1fr; gap: 28px; }
  .stats__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 24px; }
  .stats__item:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* =========================================================
   About
   ========================================================= */

.about {
  padding: clamp(80px, 10vw, 140px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.about__copy p {
  color: var(--text-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.about__copy p:first-child {
  font-family: var(--ff-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.5;
  color: var(--text);
  font-weight: 300;
}
.about__copy .link-arrow { align-self: flex-start; margin-top: 10px; }

.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.about__media:hover img { transform: scale(1.06); }
.about__badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(8px);
  color: var(--bg);
  padding: 12px 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.about__badge strong { font-weight: 600; }

@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__media { aspect-ratio: 4/3; max-height: 480px; }
}
@media (max-width: 480px) {
  .about__media { aspect-ratio: 4/4.2; }
  .about__badge {
    bottom: 16px; left: 16px;
    padding: 10px 14px;
    font-size: 12px;
  }
  .about__copy p:first-child { font-size: 1.125rem; line-height: 1.45; }
  .about__copy p { font-size: 1rem; }
}

/* =========================================================
   Services
   ========================================================= */

.services {
  padding: clamp(60px, 8vw, 120px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  position: relative;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid var(--line);
  overflow: hidden;
  transition: background .5s var(--ease);
  cursor: pointer;
}
.service:last-child { border-right: 0; }
.service:hover { background: rgba(201, 168, 118, 0.05); }

.service__num {
  font-family: var(--ff-serif);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.service h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-top: 60px;
}
.service p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.65;
}
.service ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service ul li {
  font-size: 13px;
  color: var(--text-2);
  position: relative;
  padding-left: 14px;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 4px; height: 1px;
  background: var(--accent);
}

.service__hover {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.service:hover .service__hover { transform: scaleX(1); }

@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(2) { border-right: 0; }
  .service:nth-child(1), .service:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service h3 { margin-top: 40px; }
}
@media (max-width: 768px) {
  .service { padding: 32px 24px; }
  .service h3 { font-size: 1.375rem; margin-top: 36px; }
}
@media (max-width: 600px) {
  .services__grid { grid-template-columns: 1fr; border-radius: var(--radius-sm); }
  .service { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 22px; }
  .service:nth-child(2) { border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .service h3 { margin-top: 24px; font-size: 1.25rem; }
  .service p { font-size: 14px; }
}

/* =========================================================
   Showcase — Instant Interior Magic
   ========================================================= */

.showcase {
  position: relative;
  padding: clamp(100px, 12vw, 180px) 0;
  background: var(--bg);
  overflow: hidden;
}
.showcase__grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: clamp(80px, 25%, 360px) 100%, 100% clamp(80px, 14vw, 120px);
  opacity: 0.6;
  pointer-events: none;
}
.showcase .container { position: relative; }

.showcase__head {
  position: relative;
  margin-bottom: clamp(40px, 6vw, 80px);
  text-align: center;
}
.showcase__num {
  display: block;
  font-family: var(--ff-serif);
  font-size: clamp(3rem, 12vw, 9rem);
  font-weight: 200;
  color: rgba(255,255,255,0.05);
  line-height: 0.9;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-60%);
  pointer-events: none;
  user-select: none;
}

.showcase__gallery {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1fr;
  gap: clamp(12px, 2vw, 24px);
  align-items: center;
  margin-bottom: 60px;
}
.showcase__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 3/4;
  will-change: transform;
}
.showcase__img--center {
  aspect-ratio: 4/5;
  transform: translateY(-30px);
}
.showcase__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.showcase__img:hover img { transform: scale(1.08); }

.showcase__caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  max-width: 720px;
  margin: 0 auto;
}
.showcase__caption p {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 900px) {
  .showcase__gallery { grid-template-columns: 1fr 1.2fr; gap: 12px; }
  .showcase__img--left { display: none; }
  .showcase__img--center { transform: none; }
}
@media (max-width: 600px) {
  .showcase__gallery {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto 40px;
  }
  .showcase__img--right { display: none; }
  .showcase__caption {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 24px;
  }
  .showcase__caption p { font-size: 1rem; }
  .circle-link { width: 56px; height: 56px; }
}

/* =========================================================
   Projects
   ========================================================= */

.projects {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.projects__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 70px);
  flex-wrap: wrap;
}

.projects__scroller {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  margin: 0 calc(var(--pad) * -1) 30px;
  padding-left: var(--pad);
  padding-right: var(--pad);
  scrollbar-width: none;
}
.projects__scroller::-webkit-scrollbar { display: none; }
.projects__scroller.is-auto {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.project {
  flex: 0 0 280px;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform .5s var(--ease);
}
.project--feature {
  flex: 0 0 360px;
  transform: translateY(40px);
}
.project:hover { transform: translateY(-4px); }
.project--feature:hover { transform: translateY(36px); }

.project__img {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/5;
  margin-bottom: 16px;
  background: var(--bg-3);
}
.project--feature .project__img { aspect-ratio: 4/5.5; }
.project__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.project:hover .project__img img { transform: scale(1.06); }

.project__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.project__tag, .project__loc {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
}
.project__loc { color: var(--accent); }
.project h3 {
  font-family: var(--ff-serif);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.3;
}

.projects__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.projects__hint {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
}
.projects__nav {
  display: flex;
  gap: 8px;
}
.projects__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  color: var(--text);
  transition: all .3s var(--ease);
}
.projects__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

@media (max-width: 900px) {
  .project { flex: 0 0 260px; }
  .project--feature { flex: 0 0 300px; transform: translateY(24px); }
  .project--feature:hover { transform: translateY(20px); }
}
@media (max-width: 640px) {
  .project { flex: 0 0 220px; }
  .project--feature { flex: 0 0 240px; transform: none; }
  .project--feature:hover { transform: translateY(-4px); }
  .projects__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .project h3 { font-size: 1rem; }
}
@media (max-width: 380px) {
  .project { flex: 0 0 86vw; }
  .project--feature { flex: 0 0 86vw; }
}

/* =========================================================
   Gallery
   ========================================================= */

.gallery {
  padding: clamp(80px, 10vw, 140px) 0;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
}
.gallery__item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  grid-row: span 1;
}
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }

.gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.85) 100%);
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.gallery__item:hover .gallery__overlay {
  opacity: 1;
  transform: translateY(0);
}
.gallery__loc {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.gallery__overlay h3 {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(180px, 1fr);
    grid-auto-flow: dense;
    gap: 12px;
  }
  .gallery__item--tall { grid-row: span 2; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
  .gallery__overlay { opacity: 1; transform: none; padding: 18px; }
  .gallery__overlay h3 { font-size: 1.25rem; }
}
@media (max-width: 600px) {
  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery__item {
    aspect-ratio: 4/3.2;
    grid-row: auto !important;
    grid-column: auto !important;
  }
  .gallery__item--tall { aspect-ratio: 4/4.8; }
}

/* =========================================================
   Process
   ========================================================= */

.process {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process__step {
  padding: 36px 24px 0 0;
  border-top: 2px solid transparent;
  margin-top: -1px;
  transition: border-color .4s var(--ease);
}
.process__step:hover { border-top-color: var(--accent); }
.process__num {
  font-family: var(--ff-serif);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 16px;
}
.process__step h3 {
  font-family: var(--ff-serif);
  font-size: 1.625rem;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text);
}
.process__step p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.7;
}

@media (max-width: 900px) {
  .process__list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .process__step { padding-right: 0; padding-top: 28px; }
}
@media (max-width: 520px) {
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .process__step {
    padding: 24px 0;
    border-top: 1px solid var(--line);
    margin-top: 0;
  }
  .process__step h3 { font-size: 1.375rem; margin-bottom: 8px; }
}

/* =========================================================
   Testimonials
   ========================================================= */

.testimonials {
  padding: clamp(80px, 10vw, 140px) 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}
.testimonial--featured {
  background: linear-gradient(180deg, rgba(201,168,118,0.08), rgba(201,168,118,0.02));
  border-color: rgba(201,168,118,0.25);
}
.testimonial__quote {
  color: var(--accent);
  opacity: 0.6;
}
.testimonial p {
  font-family: var(--ff-serif);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text);
  flex: 1;
  font-weight: 300;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.testimonial__author img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-2);
}
.testimonial__author strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.testimonial__author span {
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial--featured { grid-column: span 2; }
}
@media (max-width: 700px) {
  .testimonials__grid { grid-template-columns: 1fr; gap: 14px; }
  .testimonial--featured { grid-column: span 1; }
  .testimonial { padding: 26px 22px; gap: 16px; }
  .testimonial p { font-size: 1.0625rem; }
}

/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
  isolation: isolate;
}
.cta__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.35) blur(0px);
}
.cta__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201,168,118,0.12), transparent 50%),
    linear-gradient(180deg, rgba(10,10,10,0.6), rgba(10,10,10,0.85));
}
.cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta__title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 24px 0 20px;
}
.cta__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}
.cta__lead {
  font-size: 1.0625rem;
  color: var(--text-2);
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto 36px;
}

.cta__form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 6px;
}
.cta__form input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 18px;
  font-size: 14px;
  color: var(--text);
}
.cta__form input::placeholder { color: var(--text-3); }
.cta__form button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  transition: background .35s var(--ease);
  flex-shrink: 0;
}
.cta__form button:hover { background: var(--accent); }
.cta__form button svg { transition: transform .35s var(--ease); }
.cta__form button:hover svg { transform: translate(2px, -2px); }

.cta__alt {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-3);
}
.cta__alt a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

@media (max-width: 600px) {
  .cta__form {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 10px;
    gap: 6px;
  }
  .cta__form input { padding: 14px 16px; text-align: center; }
  .cta__form button { width: 100%; justify-content: center; padding: 14px; }
  .cta__alt { flex-direction: column; gap: 4px; }
  .cta__lead { font-size: 1rem; margin-bottom: 28px; }
}

/* =========================================================
   Footer
   ========================================================= */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: clamp(60px, 8vw, 100px) 0 32px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  color: var(--text);
}
.footer__brand p {
  color: var(--text-3);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 360px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__cols h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer__cols a {
  color: var(--text-2);
  font-size: 14.5px;
  transition: color .3s var(--ease);
}
.footer__cols a:hover { color: var(--accent); }
.footer__cols li { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr; gap: 48px; padding-bottom: 48px; }
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .footer__cols > div:last-child { grid-column: span 2; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer__brand p { font-size: 14px; }
}
@media (max-width: 380px) {
  .footer__cols { grid-template-columns: 1fr; }
  .footer__cols > div:last-child { grid-column: span 1; }
}

/* =========================================================
   Reveal animations
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.line { display: block; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Global responsive edge-cases
   ========================================================= */

/* Section title scales gracefully on very narrow screens */
@media (max-width: 480px) {
  .section-title { font-size: clamp(2rem, 9vw, 2.75rem); }
  .section-head { margin-bottom: 36px; }
  .section-lead { font-size: 1rem; }
  .eyebrow { font-size: 11px; letter-spacing: 0.16em; }
  .btn { padding: 13px 20px; font-size: 13.5px; }
  .link-arrow { font-size: 13.5px; }
}

/* Notched-device safe areas */
@supports (padding: max(0px)) {
  .container {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }
  .nav__inner {
    padding-left: max(var(--pad), env(safe-area-inset-left));
    padding-right: max(var(--pad), env(safe-area-inset-right));
  }
}

/* Touch-device minimum tap targets */
@media (pointer: coarse) {
  .nav__menu a, .nav__cta, .btn, .link-arrow,
  .projects__btn, .circle-link, .hero__card-link {
    min-height: 44px;
  }
  .footer__cols a { padding: 4px 0; display: inline-block; }
}

/* Ultra-wide guard so hero/CTA don't stretch images */
@media (min-width: 1920px) {
  :root { --container: 1600px; }
  .hero__title { font-size: 7rem; }
  .section-title { font-size: 5.5rem; }
}

/* Force scrollbar gutter to prevent layout shift between pages */
@supports (scrollbar-gutter: stable) {
  html { scrollbar-gutter: stable; }
}

/* Prevent horizontal overflow at every breakpoint */
html, body { max-width: 100%; overflow-x: clip; }
section { overflow-x: clip; }

/* Tablet-portrait sweet-spot tweaks */
@media (min-width: 769px) and (max-width: 1024px) {
  :root { --section-pad-y: clamp(70px, 8vw, 110px); }
  .section-title { font-size: clamp(2.25rem, 5vw, 3.75rem); }
}

