:root {
  --black: #050505;
  --ink: #0d0c0a;
  --charcoal: #15130f;
  --paper: #f4efe6;
  --paper-2: #ded5c5;
  --muted: rgba(244, 239, 230, .66);
  --muted-dark: rgba(13, 12, 10, .62);
  --line: rgba(244, 239, 230, .16);
  --line-dark: rgba(13, 12, 10, .13);
  --accent: #c8a45d;
  --maxw: 1180px;
  --pad: clamp(1.2rem, 4vw, 4rem);
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .65, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  min-height: 100%;
  font-family: var(--font);
  color: var(--paper);
  background: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: var(--paper); color: var(--black); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(5rem, 10vw, 8rem); }
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 300;
  height: 2px;
  width: 0;
  background: var(--accent);
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem var(--pad);
  color: var(--paper);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), padding .25s var(--ease);
}
.nav.scrolled {
  background: rgba(5, 5, 5, .76);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
  padding-block: .8rem;
}
.brand {
  line-height: 1;
  font-size: 1rem;
}
.brand--image {
  display: inline-flex;
  align-items: center;
}
.brand--image img {
  width: clamp(122px, 11vw, 166px);
  height: auto;
}
.nav__links { display: none; align-items: center; gap: 1.7rem; }
.nav__links a {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, .72);
}
.nav__links a:hover { color: var(--paper); }
.nav__cta {
  border: 1px solid rgba(244, 239, 230, .55);
  padding: .68rem .9rem;
  color: var(--paper) !important;
}
.nav__toggle {
  display: grid;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: .35rem;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px;
  height: 2px;
  background: var(--paper);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.4rem var(--pad) 1.7rem;
  background: rgba(5, 5, 5, .96);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  padding: 7rem var(--pad) clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}
.hero__media,
.hero__image,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__media {
  z-index: 0;
  overflow: hidden;
}
.hero__image,
.hero__video {
  object-fit: cover;
  object-position: center;
  filter: saturate(.92) contrast(1.05) brightness(.84);
  transform: scale(1.02);
}
.hero__video {
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s var(--ease), filter .7s var(--ease);
}
.hero__video.can-play {
  opacity: 1;
  visibility: visible;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,5,5,.88), rgba(5,5,5,.48) 44%, rgba(5,5,5,.1) 100%),
    linear-gradient(180deg, rgba(5,5,5,.58), rgba(5,5,5,.10) 40%, rgba(5,5,5,.72) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}
.hero__brand {
  display: block;
  width: clamp(220px, 32vw, 460px);
  height: auto;
  margin-bottom: clamp(1.5rem, 5vw, 3.5rem);
  filter: drop-shadow(0 18px 60px rgba(0,0,0,.42));
}
.hero h1 {
  max-width: 760px;
  font-family: var(--font);
  font-size: clamp(3.2rem, 8vw, 7rem);
  line-height: .86;
  letter-spacing: -.07em;
  font-weight: 900;
}
.hero__copy {
  max-width: 520px;
  margin-top: 1.2rem;
  color: rgba(244, 239, 230, .78);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 500;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.hero__meta {
  margin-top: 1.2rem;
  color: rgba(244, 239, 230, .64);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero__meta a { color: var(--paper); }
.hero__scroll {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  bottom: 2rem;
  width: 1px;
  height: 64px;
  background: rgba(244, 239, 230, .48);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .86rem 1.18rem;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: var(--paper); color: var(--black); border-color: var(--paper); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { color: var(--paper); background: rgba(5, 5, 5, .18); border-color: rgba(244, 239, 230, .42); }
.btn--ghost:hover { border-color: var(--paper); background: rgba(244, 239, 230, .08); }

.section-label {
  margin-bottom: .8rem;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h2 {
  max-width: 820px;
  font-family: var(--font);
  font-size: clamp(2.1rem, 5.5vw, 5.1rem);
  line-height: .88;
  letter-spacing: -.065em;
  font-weight: 900;
}

.work-preview {
  position: relative;
  z-index: 2;
  background: var(--black);
  color: var(--paper);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}
.work-preview__head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.work-strip {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 36vw);
  gap: .9rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(244,239,230,.28) transparent;
}
.work-strip::-webkit-scrollbar {
  height: 8px;
}
.work-strip::-webkit-scrollbar-thumb {
  background: rgba(244,239,230,.22);
}
.work-card {
  position: relative;
  display: block;
  min-height: 360px;
  overflow: hidden;
  background: var(--charcoal);
  scroll-snap-align: start;
}
.work-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.work-card:hover img {
  transform: scale(1.025);
  filter: brightness(.92);
}
.work-card span {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--paper);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 8px 22px rgba(0,0,0,.6);
}
@media (min-width: 780px) {
  .work-preview__head { grid-template-columns: .36fr 1fr; align-items: end; }
  .work-strip { grid-auto-columns: minmax(260px, 27vw); }
  .work-card { min-height: 480px; }
  .work-card:nth-child(n+2) { min-height: 360px; align-self: end; }
  .work-card:first-child { min-width: min(460px, 34vw); }
}

.studio {
  background: var(--paper);
  color: var(--ink);
}
.studio__grid {
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.studio__media {
  overflow: hidden;
  background: var(--charcoal);
}
.studio__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
.studio__copy p:not(.section-label) {
  max-width: 610px;
  margin-top: 1.05rem;
  color: var(--muted-dark);
  font-size: clamp(1rem, 1.6vw, 1.13rem);
}
.studio__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2rem;
}
.studio__links a {
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
@media (min-width: 860px) {
  .studio__grid { grid-template-columns: .72fr 1fr; }
}

.estimate {
  background:
    linear-gradient(180deg, rgba(5,5,5,.82), rgba(5,5,5,.94)),
    url("assets/portfolio-fresh/dark-spa-bathroom.jpg") center / cover no-repeat;
  color: var(--paper);
}
.estimate__grid {
  display: grid;
  gap: clamp(2.2rem, 7vw, 6rem);
  align-items: start;
}
.estimate p:not(.section-label) {
  max-width: 520px;
  margin-top: 1.15rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}
.contact__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem 1rem;
  margin-top: 2rem;
  color: var(--paper);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .72rem;
}
.contact-form {
  display: grid;
  gap: .85rem;
}
.form-honeypot { display: none !important; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 239, 230, .24);
  background: rgba(5, 5, 5, .26);
  color: var(--paper);
  padding: 1rem;
  border-radius: 0;
  resize: vertical;
  backdrop-filter: blur(14px);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(244, 239, 230, .54); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--paper);
}
.contact-form .btn { width: 100%; margin-top: .25rem; }
.contact-form__note {
  min-height: 1.3em;
  color: var(--accent) !important;
  font-size: .9rem !important;
}
@media (min-width: 860px) {
  .estimate__grid { grid-template-columns: 1fr .82fr; }
}

.footer {
  background: var(--black);
  color: rgba(244, 239, 230, .62);
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
@media (min-width: 720px) {
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

.thanks-page {
  min-height: 100svh;
  background:
    radial-gradient(55% 45% at 50% 35%, rgba(244, 239, 230, .08), transparent 60%),
    var(--black);
}
.thanks {
  min-height: 100svh;
  width: min(760px, 100%);
  margin-inline: auto;
  padding: clamp(2rem, 7vw, 5rem) var(--pad);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.3rem;
}
.thanks .brand { margin-bottom: clamp(2rem, 8vw, 5rem); }
.thanks h1 {
  max-width: 720px;
  font-size: clamp(2.25rem, 6.4vw, 5rem);
  line-height: .9;
  letter-spacing: -.065em;
  font-weight: 900;
}
.thanks p:not(.section-label) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
}
.thanks p a {
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 239, 230, .5);
}
.thanks .btn { margin-top: 1rem; }

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 620px) {
  .hero {
    min-height: 92svh;
    padding: 6.5rem 1rem 4rem;
  }
  .hero__image,
  .hero__video { object-position: 58% center; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(5,5,5,.64), rgba(5,5,5,.30) 40%, rgba(5,5,5,.84)),
      linear-gradient(90deg, rgba(5,5,5,.86), rgba(5,5,5,.34));
  }
  .brand--image img { width: 138px; }
  .hero__brand {
    width: min(84vw, 380px);
    margin-bottom: 1.8rem;
  }
  .hero h1 {
    max-width: 22rem;
    font-size: clamp(2.45rem, 11vw, 3.8rem);
    letter-spacing: -.065em;
  }
  .hero__copy {
    max-width: 21rem;
    font-size: 1rem;
  }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__scroll { display: none; }
  .section { padding-block: 4.4rem; }
  .work-card,
  .work-card:nth-child(n+2) { min-height: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .hero__video {
    opacity: 0 !important;
    visibility: hidden !important;
  }
}


.services { position: relative; background: var(--black); color: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services__grid { display: grid; gap: clamp(2rem, 7vw, 5rem); align-items: start; }
.services__intro h2 { max-width: 560px; }
.services__list { display: grid; gap: 0; border-top: 1px solid rgba(244, 239, 230, .18); }
.services__list article { display: grid; grid-template-columns: 3.8rem 1fr; gap: 1rem; padding: 1.55rem 0; border-bottom: 1px solid rgba(244, 239, 230, .18); }
.services__list span { color: var(--accent); font-size: .7rem; font-weight: 900; letter-spacing: .16em; }
.services__list h3 { margin-bottom: .35rem; font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1; letter-spacing: -.045em; font-weight: 900; }
.services__list p { max-width: 520px; color: var(--muted); font-size: .98rem; }
@media (min-width: 860px) { .services__grid { grid-template-columns: .72fr 1fr; } }
@media (max-width: 620px) { .services__list article { grid-template-columns: 2.5rem 1fr; padding: 1.35rem 0; } }
