:root {
  --bg: #f5f0e8;
  --bg-2: #efe7db;
  --oak: #e9dcc4;
  --espresso: #241a12;
  --ebony: #12100e;
  --gold: #b8935a;
  --gold-2: #d8b57a;
  --line: rgba(36, 26, 18, 0.14);
  --line-oak: rgba(233, 220, 196, 0.14);
  --serif: "Cormorant Garamond", serif;
  --sans: "Inter", system-ui, sans-serif;
  --hand: "Homemade Apple", cursive;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--bg);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}

/* Global noise */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 60;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* Typography */
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--espresso);
}
.h2 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36, 26, 18, 0.55);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow.gold {
  color: var(--gold);
}
.eyebrow .rule {
  display: inline-block;
  height: 1px;
  width: 48px;
  background: var(--gold);
}
.eyebrow.center {
  justify-content: center;
}
.lede {
  color: rgba(36, 26, 18, 0.7);
  max-width: 44ch;
  line-height: 1.75;
  font-size: 15px;
}
.lede.center {
  margin-inline: auto;
  text-align: center;
}
.wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

/* Section spacing */
section {
  padding: clamp(90px, 12vw, 180px) 0;
}

/* NAV — sticky with scroll-triggered overlay */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  box-shadow: 0 1px 0 rgba(233, 220, 196, 0);
  transition:
    background 0.5s ease,
    backdrop-filter 0.5s ease,
    box-shadow 0.5s ease;
}
.nav.scrolled {
  background: rgba(18, 16, 14, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow:
    0 12px 40px -20px rgba(0, 0, 0, 0.65),
    0 1px 0 rgba(233, 220, 196, 0.12);
}
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 26px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: padding 0.4s ease;
}
.nav.scrolled .nav-inner {
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.02em;
  color: var(--oak);
  font-weight: 600;
}
.brand span {
  color: var(--gold);
  font-weight: 500;
}
.nav-links {
  display: none;
  gap: 38px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(233, 220, 196, 0.8);
}
.nav-links a {
  transition: color 0.3s;
}
.nav-links a:hover {
  color: var(--gold);
}
.nav-call {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak);
  border: 1px solid rgba(184, 147, 90, 0.5);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition:
    background 0.3s,
    color 0.3s;
}
.nav-call:hover {
  background: var(--gold);
  color: var(--ebony);
}
.nav-call .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@media (min-width: 900px) {
  .nav-links,
  .nav-call {
    display: inline-flex;
  }
}

/* BUTTONS - angled cut corners */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: none;
  overflow: hidden;
  transition: color 0.4s ease;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn i {
  font-style: normal;
  transition: transform 0.4s ease;
  display: inline-block;
}
.btn:hover i {
  transform: translateX(6px);
}
.btn-primary {
  background: var(--ebony);
  color: var(--oak);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 0;
}
.btn-primary:hover {
  color: var(--ebony);
}
.btn-primary:hover::before {
  transform: translateY(0);
}
.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  color: rgba(233, 220, 196, 0.8);
  padding: 16px 8px;
}
.btn-ghost:hover {
  color: var(--gold);
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--ebony);
  color: var(--oak);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-media {
  position: absolute;
  inset: -6% 0 -6% 0;
  z-index: 1;
  will-change: transform;
}
.kenburns {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.kenburns img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
  animation: ken 24s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}
@keyframes ken {
  0% {
    transform: scale(1.06) translate(0, 0);
  }
  100% {
    transform: scale(1.18) translate(-2%, -1.5%);
  }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      var(--ebony) 0%,
      rgba(18, 16, 14, 0.55) 45%,
      rgba(18, 16, 14, 0.35) 100%
    ),
    linear-gradient(to right, rgba(18, 16, 14, 0.7), transparent 55%);
}
.hero-content {
  position: relative;
  z-index: 5;
  padding: 120px clamp(20px, 4vw, 56px) 80px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(46px, 9vw, 120px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 26px 0 0;
  color: var(--oak);
  max-width: 15ch;
}
.hero-title em {
  font-style: normal;
  color: var(--gold);
}
.hero-sub {
  margin: 32px 0 0;
  max-width: 56ch;
  color: rgba(233, 220, 196, 0.78);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 300;
}
.hero-cta {
  margin: 44px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
/* Stats */
.stats {
  margin-top: 90px;
  padding-top: 34px;
  border-top: 1px solid rgba(233, 220, 196, 0.14);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  position: relative;
  padding: 0 28px;
}
.stat:first-child {
  padding-left: 0;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(233, 220, 196, 0.16);
}
.stat .num {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1;
  color: var(--oak);
  letter-spacing: -0.01em;
}
.stat .num.static {
  color: var(--oak);
}
.stat .lbl {
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(233, 220, 196, 0.55);
}

/* Split words */
.split-words .w {
  display: inline-block;
  overflow: hidden;
  line-height: 1.02;
}
.split-words .w > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition:
    transform 1s cubic-bezier(0.2, 0.7, 0.1, 1),
    opacity 1s ease;
}
.split-words.on .w > span {
  transform: translateY(0);
  opacity: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s ease-out,
    transform 1s cubic-bezier(0.2, 0.7, 0.1, 1);
}
.reveal.on {
  opacity: 1;
  transform: none;
}
.reveal-clip {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.4s cubic-bezier(0.7, 0, 0.2, 1);
}
.reveal-clip.on {
  clip-path: inset(0 0 0 0);
}

/* SERVICES */
.services {
  background: var(--bg);
}
.section-head {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: space-between;
  margin-bottom: 70px;
}
@media (min-width: 900px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
  }
}
.section-head .eyebrow {
  margin-bottom: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
  }
  .svc-lg {
    grid-row: span 2;
  }
}
.svc {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  color: var(--oak);
  display: flex;
  align-items: flex-end;
  padding: 38px;
  isolation: isolate;
  background: #12100e;
  background-size: cover;
  background-position: center;
  clip-path: polygon(
    0 0,
    calc(100% - 18px) 0,
    100% 18px,
    100% 100%,
    18px 100%,
    0 calc(100% - 18px)
  );
  transition: transform 0.6s ease;
}
.svc-lg {
  min-height: 720px;
}
.svc::before {
  content: "";
  position: absolute;
  inset: -2%;
  background: inherit;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.1, 1);
  z-index: -2;
}
.svc-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 16, 14, 0.92) 0%,
    rgba(18, 16, 14, 0.5) 50%,
    rgba(18, 16, 14, 0.15) 100%
  );
  z-index: -1;
  transition: opacity 0.6s;
}
.svc-body {
  position: relative;
  transform: translateY(0);
  transition: transform 0.5s ease;
}
.svc:hover::before {
  transform: scale(1.06);
}
.svc:hover .svc-body {
  transform: translateY(-8px);
}
.svc h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.15;
  margin: 14px 0 12px;
}
.svc p {
  color: rgba(233, 220, 196, 0.8);
  max-width: 44ch;
  font-size: 14.5px;
  line-height: 1.7;
}

/* ABOUT */
.about {
  background: var(--ebony);
  color: var(--oak);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
  }
}
.about-media {
  position: relative;
}
/* .about-media-inner carries the reveal-clip scroll animation; kept separate
   from .founder-card so the card (which intentionally overhangs the image
   edge) isn't clipped away by the reveal animation's clip-path */
.about-media-inner {
  position: relative;
}
.about-media-inner img {
  width: 100%;
  height: clamp(420px, 60vw, 680px);
  object-fit: cover;
}
.founder-card {
  position: absolute;
  right: -14px;
  bottom: -18px;
  z-index: 2;
  background: var(--ebony);
  border: 1px solid rgba(184, 147, 90, 0.5);
  padding: 16px 22px;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
}
.founder-name {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 4px;
}
.about-copy .h2 {
  color: var(--oak);
}
.about-copy .h2 em {
  color: var(--gold);
}
/* Eyebrow text on dark sections must use the light variant, not the default
   dark-on-light color, or it becomes nearly invisible against --ebony */
.about .eyebrow:not(.gold) {
  color: rgba(233, 220, 196, 0.6);
}
.signature {
  font-family: var(--hand);
  font-size: 44px;
  color: var(--gold);
  margin: 22px 0 6px;
  line-height: 1;
  opacity: 0;
  transform: translateX(-16px);
  transition:
    opacity 1.2s ease 0.3s,
    transform 1.2s ease 0.3s;
}
.signature.on {
  opacity: 1;
  transform: none;
}
.prose {
  margin-top: 22px;
  max-width: 58ch;
}
.prose p {
  color: rgba(233, 220, 196, 0.75);
  line-height: 1.85;
  margin: 0 0 14px;
}
.pullquote {
  margin: 40px 0 0;
  padding: 24px 0;
  border-top: 1px solid rgba(233, 220, 196, 0.14);
  border-bottom: 1px solid rgba(233, 220, 196, 0.14);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--oak);
  max-width: 60ch;
}
.pullquote .q {
  color: var(--gold);
  font-size: 1.4em;
  line-height: 0;
  position: relative;
  top: 0.15em;
  margin: 0 0.1em;
}
.kv {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(233, 220, 196, 0.1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.kv div span {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(233, 220, 196, 0.5);
  display: block;
  margin-bottom: 8px;
}
.kv div b {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--gold);
}

/* PORTFOLIO */
.portfolio {
  background: var(--bg);
}
.meta {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36, 26, 18, 0.5);
}

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 16px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.tab {
  background: none;
  border: 0;
  padding: 6px 0;
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(36, 26, 18, 0.5);
  cursor: pointer;
  transition: color 0.3s;
  position: relative;
}
.tab.active {
  color: var(--espresso);
}
.tab:hover {
  color: var(--espresso);
}
.tab-indicator {
  position: absolute;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transition:
    transform 0.5s cubic-bezier(0.7, 0, 0.2, 1),
    width 0.5s cubic-bezier(0.7, 0, 0.2, 1);
  pointer-events: none;
}

.masonry {
  column-count: 1;
  column-gap: 20px;
}
@media (min-width: 700px) {
  .masonry {
    column-count: 2;
  }
}
@media (min-width: 1100px) {
  .masonry {
    column-count: 3;
  }
}
.m-item {
  break-inside: avoid;
  margin: 0 0 20px;
  position: relative;
  overflow: hidden;
  background: #e2d6bc;
  transition:
    box-shadow 0.6s ease,
    transform 0.6s ease;
}
.m-item:hover {
  box-shadow: 0 30px 60px -30px rgba(36, 26, 18, 0.35);
}
.m-img {
  overflow: hidden;
}
.m-item img {
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.1, 1);
  display: block;
}
.m-item.tall img {
  aspect-ratio: 3/4;
  object-fit: cover;
  height: auto;
}
.m-item:not(.tall):not(.wide) img {
  aspect-ratio: 4/5;
  object-fit: cover;
}
.m-item.wide img {
  aspect-ratio: 16/10;
  object-fit: cover;
}
.m-item:hover img {
  transform: scale(1.06);
}
.m-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px;
  color: var(--oak);
  background: linear-gradient(to top, rgba(18, 16, 14, 0.9), transparent);
  transform: translateY(30%);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1),
    opacity 0.5s;
}
.m-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}
.m-item .cat {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 6px;
}
.m-item .ttl {
  font-family: var(--serif);
  font-size: 22px;
}
.m-item.hide {
  display: none;
}

/* Custom cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ebony);
  pointer-events: none;
  z-index: 100;
  display: grid;
  place-items: center;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) scale(0);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.1, 1),
    opacity 0.3s;
  mix-blend-mode: normal;
  opacity: 0;
}
.cursor.on {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
@media (hover: none) {
  .cursor {
    display: none;
  }
}

/* CONTACT */
.contact {
  background: var(--bg-2);
}
.contact-wrap {
  max-width: 820px;
}
.form {
  margin-top: 56px;
  display: grid;
  gap: 34px;
}
.field label {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36, 26, 18, 0.55);
  margin-bottom: 14px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(36, 26, 18, 0.18);
  padding: 12px 0;
  font: inherit;
  color: var(--espresso);
  outline: none;
  transition: border-color 0.4s ease;
  font-size: 16px;
  font-family: inherit;
  resize: none;
}
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(36, 26, 18, 0.3);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid rgba(184, 147, 90, 0.4);
  outline-offset: 4px;
}
.form .btn {
  justify-self: start;
  margin-top: 14px;
}
.hint {
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(36, 26, 18, 0.45);
  margin-top: 6px;
}

/* FOOTER */
.footer {
  background: var(--ebony);
  color: rgba(233, 220, 196, 0.7);
  padding: 90px 0 120px;
}
@media (min-width: 900px) {
  .footer {
    padding-bottom: 60px;
  }
}
.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(233, 220, 196, 0.1);
}
@media (min-width: 900px) {
  .foot-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}
.foot-grid .brand.big {
  font-size: 26px;
  color: var(--oak);
}
.foot-grid p {
  margin: 10px 0 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.8;
}
.foot-grid a {
  display: block;
  font-size: 14px;
  margin-top: 6px;
  transition: color 0.3s;
}
.foot-grid a:hover {
  color: var(--gold);
}
.foot-grid .eyebrow {
  margin-bottom: 14px;
  color: rgba(233, 220, 196, 0.6);
}
.foot-bottom {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(233, 220, 196, 0.4);
}
@media (min-width: 700px) {
  .foot-bottom {
    flex-direction: row;
  }
}

/* Mobile bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--ebony);
  border-top: 1px solid rgba(184, 147, 90, 0.4);
}
.mobile-bar a {
  padding: 16px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--oak);
  border-right: 1px solid rgba(184, 147, 90, 0.25);
}
.mobile-bar a.gold {
  color: var(--gold);
  border-right: 0;
}
@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .kenburns img {
    animation: none;
  }
  .reveal,
  .reveal-clip,
  .signature,
  .split-words .w > span {
    transition: none;
    opacity: 1;
    transform: none;
    clip-path: inset(0 0 0 0);
  }
  html {
    scroll-behavior: auto;
  }
}
