:root {
  --bg: #0f0c09;
  --bg-2: #17120f;
  --bg-3: #1e1814;
  --paper: #f1e8d8;
  --paper-2: #ded3c0;
  --text: #f5efe3;
  --muted: #8f8578;
  --line: rgba(245, 239, 227, .1);
  --line-soft: rgba(32, 25, 20, .14);
  --accent: #c8a96e;
  --accent-2: #a68a54;
  --max: 1380px;
  --nav-h: 72px;
  --radius: 18px;
  --shadow: 0 18px 60px rgba(0, 0, 0, .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .08), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, .03), transparent 24%),
    linear-gradient(180deg, #0b0907 0%, var(--bg) 20%, #080604 100%);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 128px 128px;
  opacity: .16;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 70%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: rgba(200, 169, 110, .28); color: #fff; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  transform: translateY(-140%);
  background: var(--accent);
  color: #111;
  padding: .7rem 1rem;
  border-radius: 999px;
  z-index: 300;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(var(--max), calc(100% - clamp(1.2rem, 4vw, 3.5rem) * 2));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  min-height: var(--nav-h);
  background: rgba(15, 12, 9, .72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header.is-scrolled {
  background: rgba(15, 12, 9, .9);
}
.site-header__inner {
  height: var(--nav-h);
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.site-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--nav-h);
  flex: 0 0 auto;
  overflow: visible;
}
.site-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a,
.site-footer__nav a {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(241, 232, 216, .64);
  transition: color .2s var(--ease);
}
.site-nav a:hover,
.site-footer__nav a:hover,
.site-nav a.is-active {
  color: var(--text);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.theme-toggle,
.whatsapp-pill,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border-radius: 999px;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.theme-toggle {
  min-height: 2.85rem;
  padding: 0 1rem 0 .9rem;
  border: 1px solid rgba(241, 232, 216, .12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.theme-toggle__icon {
  position: relative;
  width: 1rem;
  height: 1rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  flex: 0 0 auto;
}
.theme-toggle__icon::before,
.theme-toggle__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  transition: opacity .2s var(--ease), transform .2s var(--ease), background .2s var(--ease);
}
.theme-toggle__icon::before {
  width: .38rem;
  height: .38rem;
  background: currentColor;
  opacity: .9;
}
.theme-toggle__icon::after {
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid currentColor;
  opacity: 0;
  transform: translate(-38%, -50%);
}
.theme-toggle__label {
  line-height: 1;
}
.whatsapp-pill {
  min-height: 2.85rem;
  padding: 0 1.25rem;
  border: 1px solid rgba(200, 169, 110, .9);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.whatsapp-pill:hover,
.button:hover,
.menu-toggle:hover {
  transform: translateY(-1px);
}
.whatsapp-pill:active,
.button:active,
.menu-toggle:active {
  transform: translateY(0) scale(.98);
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(241, 232, 216, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  padding: .72rem;
}
.menu-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  margin: .32rem 0;
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 190;
  background: rgba(11, 9, 7, .96);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  gap: .9rem;
}
.mobile-menu[hidden] {
  display: none !important;
}
.mobile-menu a {
  padding: .85rem 1rem;
  border: 1px solid rgba(241, 232, 216, .08);
  border-radius: 14px;
  color: var(--text);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .8rem;
}
.mobile-menu__wa {
  border-color: rgba(200, 169, 110, .42) !important;
  color: var(--accent) !important;
}

.section-shell { position: relative; }
.section {
  padding-block: clamp(4rem, 7vw, 6rem);
}

.hero {
  padding-top: clamp(2rem, 4vw, 4rem);
  padding-bottom: 0;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  min-height: clamp(640px, calc(100svh - var(--nav-h) - 1rem), 820px);
}
.hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 4.5vw, 4.4rem) clamp(1.2rem, 3vw, 2rem) clamp(2.2rem, 4vw, 4rem) 0;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero__eyebrow {
  display: block;
  max-width: 16ch;
  font-size: .78rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: rgba(241, 232, 216, .35);
}
.hero__title {
  margin: 1.25rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(4.4rem, 7.5vw, 8rem);
  line-height: .87;
  letter-spacing: -.05em;
  font-weight: 300;
  color: #f6efe1;
  text-wrap: balance;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__body {
  max-width: 24rem;
  margin: 0 0 2rem;
  color: rgba(241, 232, 216, .52);
  font-size: .95rem;
  line-height: 1.9;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
}
.button {
  min-height: 3rem;
  padding: 0 1.35rem;
  border: 1px solid rgba(241, 232, 216, .16);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.button--solid {
  background: var(--accent);
  color: #111;
  border-color: transparent;
}
.button--ghost {
  color: var(--text);
  background: transparent;
}
.button--ghost--light {
  border-color: rgba(17, 17, 17, .12);
  color: #111;
}
.button--submit {
  width: 100%;
}

.hero__visual {
  position: relative;
  padding: clamp(1rem, 2vw, 1.5rem) 0 clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
}
.placeholder,
.project-card__media {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  box-shadow: var(--shadow);
}
.media-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.placeholder::before,
.project-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.36)),
    radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 28%);
}
.placeholder::after,
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: .18;
}
.placeholder__label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  font-size: .73rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
}
.placeholder--hero {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(61, 47, 36, .95), rgba(18, 14, 11, .7)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, rgba(255,255,255,.02) 12px 24px);
}
.placeholder--about {
  min-height: 100%;
  background:
    linear-gradient(145deg, rgba(44, 35, 28, .96), rgba(20, 15, 12, .7)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,.02) 12px 24px);
}
.hero__stamp {
  position: absolute;
  left: 0;
  bottom: 1.1rem;
  padding: .8rem 1rem;
  border-top: 1px solid rgba(241, 232, 216, .08);
  border-right: 1px solid rgba(241, 232, 216, .08);
  background: rgba(10, 8, 6, .88);
  color: var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
}

.ticker {
  overflow: hidden;
  background: var(--accent);
  color: #111;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.ticker__track {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  min-width: max-content;
  padding: .9rem 0;
  animation: ticker 34s linear infinite;
}
.ticker__track span {
  font-size: .75rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}
.section-head--light .section-head__title,
.section-head--light .section-head__note,
.section-head--light .section-head__eyebrow {
  color: rgba(245, 239, 227, .92);
}
.section-head__eyebrow {
  display: block;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
}
.section-head__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 3vw, 4.3rem);
  font-weight: 300;
  letter-spacing: -.04em;
  line-height: .95;
}
.section-head__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
}
.section-head__count {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  font-style: italic;
  line-height: .85;
  color: rgba(200, 169, 110, .22);
}
.section-head__note {
  max-width: 20ch;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.4;
  text-align: right;
}

.projects {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .08), transparent 34%),
    linear-gradient(180deg, #120f0b 0%, #0d0a08 100%);
}
.filters {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .95rem;
}
.filter {
  min-height: 2.5rem;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(241, 232, 216, .08);
  background: rgba(255,255,255,.02);
  color: rgba(241, 232, 216, .66);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: transform .18s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.filter.is-active {
  background: rgba(255,255,255,.06);
  border-color: rgba(200, 169, 110, .35);
  color: var(--text);
}
.projects__status {
  margin: 0 0 1.5rem;
  color: rgba(241, 232, 216, .42);
  font-size: .86rem;
  letter-spacing: .08em;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: .8rem;
}
.project-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.project-card--hero { grid-column: span 6; grid-row: span 2; }
.project-card--tall { grid-column: span 3; grid-row: span 2; }
.project-card--wide { grid-column: span 6; }
.project-card--square { grid-column: span 3; }
.project-card.is-hidden { display: none; }
.project-card__media {
  min-height: 16rem;
  border: 1px solid rgba(255,255,255,.08);
  cursor: zoom-in;
}
.project-card--hero .project-card__media { min-height: 31rem; }
.project-card--tall .project-card__media { min-height: 31rem; }
.project-card--wide .project-card__media { min-height: 15rem; }
.project-card--square .project-card__media { min-height: 15rem; }
.project-card__meta {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1rem .2rem .2rem;
}
.project-card__tag {
  color: var(--accent);
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.project-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 1.5vw, 2.05rem);
  font-weight: 400;
  line-height: 1.05;
}
.project-card p {
  margin: 0;
  color: rgba(241, 232, 216, .56);
  font-size: .94rem;
  line-height: 1.72;
  max-width: 32ch;
}
.project-card__open {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.project-card__open:hover {
  color: #fff;
}
.project-card__media--kitchen {
  background:
    linear-gradient(135deg, rgba(42, 31, 24, .98), rgba(13, 10, 8, .72)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px);
}
.project-card__media--closet {
  background:
    linear-gradient(135deg, rgba(58, 49, 37, .98), rgba(15, 11, 8, .7)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,.02) 12px 24px);
}
.project-card__media--vanity {
  background:
    linear-gradient(135deg, rgba(45, 36, 29, .98), rgba(13, 10, 8, .7)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 10px, rgba(255,255,255,.02) 10px 20px);
}
.project-card__media--desk {
  background:
    linear-gradient(135deg, rgba(39, 28, 24, .98), rgba(15, 11, 8, .7)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 11px, rgba(255,255,255,.02) 11px 22px);
}
.project-card__media--storage {
  background:
    linear-gradient(135deg, rgba(50, 39, 30, .98), rgba(15, 11, 8, .7)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 13px, rgba(255,255,255,.02) 13px 26px);
}
.project-card__media--kitchen-alt {
  background:
    linear-gradient(135deg, rgba(62, 51, 39, .98), rgba(15, 11, 8, .72)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, rgba(255,255,255,.02) 14px 28px);
}
.section-footer {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}
.section-link {
  border: none;
  background: transparent;
  color: var(--text);
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(241, 232, 216, .35);
  padding: .25rem 0;
}

.about {
  background: linear-gradient(180deg, #13100d 0%, #16110e 100%);
}
.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
}
.about__media {
  min-height: 34rem;
}
.about__copy {
  padding: clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,.08);
}
.about__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 3vw, 4rem);
  font-weight: 300;
  line-height: 1.04;
}
.about__body {
  margin: 0 0 1rem;
  max-width: 48ch;
  color: rgba(241, 232, 216, .55);
  font-size: .98rem;
  line-height: 1.86;
}
.about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: .6rem 0 1.4rem;
}
.about__facts span {
  padding: .6rem .85rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(241, 232, 216, .7);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.process {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .05), transparent 26%),
    linear-gradient(180deg, #0d0a08 0%, #100d0b 100%);
  border-top: 1px solid rgba(255,255,255,.07);
}
.process__lede {
  margin: 0;
  max-width: 32ch;
  color: rgba(241, 232, 216, .48);
  font-size: .96rem;
  line-height: 1.7;
  text-align: right;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.1);
}
.process-step {
  padding: 2.1rem 1.75rem 0 0;
  border-right: 1px solid rgba(255,255,255,.08);
  min-height: 18rem;
}
.process-step:last-child { border-right: none; }
.process-step__num {
  display: block;
  margin-bottom: 1.35rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 4vw, 5rem);
  line-height: .9;
  color: rgba(241, 232, 216, .11);
}
.process-step__title {
  margin: 0 0 .65rem;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.process-step__text {
  margin: 0;
  max-width: 24ch;
  color: rgba(241, 232, 216, .5);
  font-size: .93rem;
  line-height: 1.8;
}

.contact {
  background: linear-gradient(180deg, #120f0b 0%, #0f0c09 100%);
  border-top: 1px solid rgba(255,255,255,.06);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 2rem;
}
.contact__info {
  padding-right: 1rem;
}
.contact__title {
  margin: 0 0 .9rem;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 3.4vw, 4.6rem);
  font-weight: 300;
  line-height: 1.02;
}
.contact__body {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  color: rgba(241, 232, 216, .56);
  line-height: 1.82;
}
.contact__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
}
.contact-item {
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.02);
}
.contact-item__label {
  display: block;
  margin-bottom: .35rem;
  color: rgba(200, 169, 110, .85);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.contact-item__value {
  color: rgba(241, 232, 216, .76);
  font-size: .96rem;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  background: rgba(255,255,255,.02);
  box-shadow: var(--shadow);
}
.field {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.field span {
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(241, 232, 216, .54);
}
.field--full { grid-column: 1 / -1; }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: .95rem 1rem;
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 8.5rem; }
.field input::placeholder,
.field textarea::placeholder {
  color: rgba(241, 232, 216, .32);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(200, 169, 110, .55);
  background: rgba(0,0,0,.26);
}
.contact-form__hint {
  grid-column: 1 / -1;
  margin: -.15rem 0 0;
  color: rgba(241, 232, 216, .42);
  font-size: .82rem;
  line-height: 1.5;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.gallery-modal[hidden] {
  display: none !important;
}
.gallery-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 6, 5, .82);
  backdrop-filter: blur(10px);
}
.gallery-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  display: grid;
  gap: 1rem;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 28px;
  background: rgba(15, 12, 9, .96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.gallery-modal__close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
}
.gallery-modal__header {
  display: grid;
  gap: .3rem;
  padding-right: 3rem;
}
.gallery-modal__eyebrow,
.gallery-modal__count {
  margin: 0;
  color: rgba(241, 232, 216, .48);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.gallery-modal__title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
}
.gallery-modal__figure {
  margin: 0;
  min-height: 0;
  display: grid;
  gap: .8rem;
}
.gallery-modal__image {
  width: 100%;
  height: min(70vh, 760px);
  object-fit: contain;
  object-position: center center;
  border-radius: 20px;
  background: #0b0907;
}
.gallery-modal__caption {
  margin: 0;
  color: rgba(241, 232, 216, .6);
  font-size: .92rem;
  line-height: 1.6;
}
.gallery-modal__controls {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
}
.gallery-modal__nav {
  min-height: 2.8rem;
  padding: 0 1rem;
  border: 1px solid rgba(241, 232, 216, .12);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  color: var(--text);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .74rem;
}

.site-footer {
  padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.06);
  background: #0a0806;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.site-footer__logo {
  height: 48px;
  width: auto;
  opacity: 1;
}
.site-footer__nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .08), transparent 28%),
    radial-gradient(circle at top right, rgba(23, 18, 14, .03), transparent 24%),
    linear-gradient(180deg, #faf7f1 0%, #f4ede2 20%, #ece4d6 100%);
  color: #17120e;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .mobile-menu,
html[data-theme="light"] .site-footer {
  background: rgba(250, 247, 241, .92);
  border-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .site-header.is-scrolled {
  background: rgba(250, 247, 241, .98);
}

html[data-theme="light"] .site-nav a,
html[data-theme="light"] .site-footer__nav a {
  color: rgba(23, 18, 14, .58);
}

html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .site-nav a.is-active,
html[data-theme="light"] .site-footer__nav a:hover {
  color: #17120e;
}

html[data-theme="light"] .theme-toggle,
html[data-theme="light"] .menu-toggle {
  border-color: rgba(23, 18, 14, .12);
  background: rgba(255,255,255,.68);
  color: #17120e;
}

html[data-theme="light"] .whatsapp-pill {
  border-color: rgba(200, 169, 110, .9);
  color: #8c6b2f;
  background: rgba(255,255,255,.55);
}

html[data-theme="light"] .menu-toggle span {
  background: #17120e;
}

html[data-theme="light"] .mobile-menu a {
  border-color: rgba(23, 18, 14, .08);
  color: #17120e;
  background: rgba(255,255,255,.6);
}

html[data-theme="light"] .mobile-menu__wa {
  border-color: rgba(200, 169, 110, .35) !important;
  color: #8c6b2f !important;
}

html[data-theme="light"] .hero__copy {
  border-right-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .hero__eyebrow,
html[data-theme="light"] .section-head__eyebrow,
html[data-theme="light"] .contact-item__label,
html[data-theme="light"] .about__facts span,
html[data-theme="light"] .projects__status {
  color: rgba(23, 18, 14, .48);
}

html[data-theme="light"] .hero__title,
html[data-theme="light"] .section-head__title,
html[data-theme="light"] .about__title,
html[data-theme="light"] .process-step__title,
html[data-theme="light"] .contact__title {
  color: #17120e;
}

html[data-theme="light"] .hero__body,
html[data-theme="light"] .section-head__note,
html[data-theme="light"] .project-card p,
html[data-theme="light"] .about__body,
html[data-theme="light"] .process__lede,
html[data-theme="light"] .process-step__text,
html[data-theme="light"] .contact__body,
html[data-theme="light"] .contact-item__value,
html[data-theme="light"] .contact-form__hint {
  color: rgba(23, 18, 14, .62);
}

html[data-theme="light"] .hero__title em,
html[data-theme="light"] .section-head__count,
html[data-theme="light"] .project-card__tag {
  color: #8c6b2f;
}

html[data-theme="light"] .button--ghost {
  color: #17120e;
  border-color: rgba(23, 18, 14, .14);
  background: rgba(255,255,255,.46);
}

html[data-theme="light"] .hero__visual {
  border-left-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .placeholder--hero,
html[data-theme="light"] .placeholder--about,
html[data-theme="light"] .project-card__media {
  box-shadow: 0 18px 60px rgba(23, 18, 14, .1);
}

html[data-theme="light"] .placeholder--hero {
  background:
    linear-gradient(145deg, rgba(224, 214, 194, .95), rgba(245, 240, 233, .75)),
    repeating-linear-gradient(135deg, rgba(23, 18, 14, .04) 0 12px, rgba(23, 18, 14, .02) 12px 24px);
}

html[data-theme="light"] .placeholder--about {
  background:
    linear-gradient(145deg, rgba(232, 223, 204, .96), rgba(247, 242, 234, .75)),
    repeating-linear-gradient(45deg, rgba(23, 18, 14, .045) 0 12px, rgba(23, 18, 14, .02) 12px 24px);
}

html[data-theme="light"] .placeholder__label {
  color: rgba(23, 18, 14, .42);
}

html[data-theme="light"] .placeholder::before,
html[data-theme="light"] .project-card__media::before {
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(23, 18, 14, .08)),
    radial-gradient(circle at top right, rgba(23, 18, 14, .06), transparent 28%);
}

html[data-theme="light"] .placeholder::after,
html[data-theme="light"] .project-card__media::after {
  background-image:
    linear-gradient(rgba(23, 18, 14, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 18, 14, .03) 1px, transparent 1px);
  opacity: .22;
}

html[data-theme="light"] .hero__stamp {
  background: rgba(250, 247, 241, .92);
  color: #8c6b2f;
  border-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .ticker {
  color: #17120e;
}

html[data-theme="light"] .projects,
html[data-theme="light"] .about,
html[data-theme="light"] .process,
html[data-theme="light"] .contact {
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.42));
}

html[data-theme="light"] .projects {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .08), transparent 34%),
    linear-gradient(180deg, #f6f0e7 0%, #efe7db 100%);
}

html[data-theme="light"] .about {
  background: linear-gradient(180deg, #f4ede3 0%, #eee4d5 100%);
}

html[data-theme="light"] .process {
  background:
    radial-gradient(circle at top left, rgba(200, 169, 110, .05), transparent 26%),
    linear-gradient(180deg, #f7f1e7 0%, #f1eadf 100%);
}

html[data-theme="light"] .contact {
  background: linear-gradient(180deg, #f5efe5 0%, #ede4d6 100%);
}

html[data-theme="light"] .projects-grid,
html[data-theme="light"] .process-grid {
  border-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .filters .filter {
  border-color: rgba(23, 18, 14, .1);
  background: rgba(255,255,255,.55);
  color: rgba(23, 18, 14, .62);
}

html[data-theme="light"] .filters .filter.is-active {
  background: rgba(200, 169, 110, .12);
  border-color: rgba(200, 169, 110, .42);
  color: #17120e;
}

html[data-theme="light"] .project-card__media {
  border-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .project-card__media--kitchen,
html[data-theme="light"] .project-card__media--closet,
html[data-theme="light"] .project-card__media--vanity,
html[data-theme="light"] .project-card__media--desk,
html[data-theme="light"] .project-card__media--storage,
html[data-theme="light"] .project-card__media--kitchen-alt {
  background:
    linear-gradient(135deg, rgba(232, 223, 205, .98), rgba(246, 241, 234, .76)),
    repeating-linear-gradient(45deg, rgba(23, 18, 14, .04) 0 12px, rgba(23, 18, 14, .02) 12px 24px);
}

html[data-theme="light"] .section-link {
  color: #17120e;
  border-bottom-color: rgba(23, 18, 14, .35);
}

html[data-theme="light"] .about__copy {
  border-left-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .about__facts span {
  border-color: rgba(23, 18, 14, .08);
  background: rgba(255,255,255,.38);
}

html[data-theme="light"] .process-step {
  border-right-color: rgba(23, 18, 14, .08);
}

html[data-theme="light"] .process-step__num {
  color: rgba(23, 18, 14, .12);
}

html[data-theme="light"] .contact-item {
  border-color: rgba(23, 18, 14, .08);
  background: rgba(255,255,255,.52);
}

html[data-theme="light"] .contact-form {
  border-color: rgba(23, 18, 14, .08);
  background: rgba(255,255,255,.58);
}

html[data-theme="light"] .field span {
  color: rgba(23, 18, 14, .48);
}

html[data-theme="light"] .field input,
html[data-theme="light"] .field select,
html[data-theme="light"] .field textarea {
  border-color: rgba(23, 18, 14, .12);
  background: rgba(255,255,255,.72);
  color: #17120e;
}

html[data-theme="light"] .field input::placeholder,
html[data-theme="light"] .field textarea::placeholder {
  color: rgba(23, 18, 14, .36);
}

html[data-theme="light"] .site-footer__logo {
  opacity: 1;
}

html[data-theme="light"] .theme-toggle__icon::after {
  opacity: .18;
}

html[data-theme="light"] .theme-toggle__icon::before {
  opacity: .65;
}

html[data-theme="light"] .site-brand img {
  height: 50px !important;
  width: auto !important;
  display: block;
  object-position: center center;
}

html[data-theme="light"] .site-brand {
  display: flex;
  align-items: center;
  height: 72px;
  width: auto;
  flex-basis: auto;
  margin-top: 0;
  overflow: visible;
}

@media (min-width: 821px) {
  html[data-theme="light"] .site-brand img {
    align-self: center;
    position: static;
    transform: none;
    margin-top: 0;
    margin-left: 0;
  }
}

html[data-theme="light"] .site-footer__logo {
  height: 48px;
  width: auto;
}

html[data-theme="light"] .project-card__open {
  color: #8c6b2f;
}

html[data-theme="light"] .project-card__open:hover {
  color: #17120e;
}

html[data-theme="light"] .gallery-modal__dialog {
  background: rgba(250, 247, 241, .96);
  border-color: rgba(23, 18, 14, .12);
}

html[data-theme="light"] .gallery-modal__backdrop {
  background: rgba(245, 239, 227, .78);
}

html[data-theme="light"] .gallery-modal__close,
html[data-theme="light"] .gallery-modal__nav {
  border-color: rgba(23, 18, 14, .12);
  background: rgba(255,255,255,.65);
  color: #17120e;
}

html[data-theme="light"] .gallery-modal__eyebrow,
html[data-theme="light"] .gallery-modal__count {
  color: rgba(23, 18, 14, .48);
}

html[data-theme="light"] .gallery-modal__title {
  color: #17120e;
}

html[data-theme="light"] .gallery-modal__caption {
  color: rgba(23, 18, 14, .64);
}

html[data-theme="light"] .gallery-modal__image {
  background: #f7f2e8;
}

.reveal {
  opacity: 1;
  transform: translateY(12px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.is-visible {
  transform: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track,
  .reveal {
    animation: none;
    transition: none;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (min-width: 1400px) {
  :root {
    --max: 1440px;
  }
  .hero__copy {
    padding-right: 2.3rem;
  }
  .hero__body {
    max-width: 28rem;
    font-size: 1.02rem;
  }
  .project-card__meta p {
    max-width: 34ch;
  }
}

@media (min-width: 1700px) {
  :root {
    --max: 1540px;
  }
  .hero__title {
    font-size: clamp(5rem, 6vw, 8.6rem);
  }
  .section-head__title {
    font-size: clamp(3.2rem, 2.8vw, 4.8rem);
  }
  .project-card--hero .project-card__media,
  .project-card--tall .project-card__media {
    min-height: 35rem;
  }
}

@media (max-width: 1200px) {
  .section-head,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head,
  .process__lede {
    text-align: left;
  }
  .section-head__aside {
    align-items: flex-start;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__copy {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-right: 0;
  }
  .hero__visual {
    padding-left: 0;
    padding-top: 1rem;
  }
  .projects-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .project-card,
  .project-card--hero,
  .project-card--tall,
  .project-card--wide,
  .project-card--square {
    grid-column: span 3;
    grid-row: auto;
  }
  .project-card--hero .project-card__media,
  .project-card--tall .project-card__media {
    min-height: 19rem;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-footer__inner {
    flex-wrap: wrap;
  }
  .site-footer__nav {
    margin-left: 0;
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  :root {
    --nav-h: 66px;
  }
  .site-brand img {
    height: 42px;
  }
  html[data-theme="light"] .site-brand img {
    height: 54px;
    width: 54px;
  }
  .site-footer__logo {
    height: 42px;
  }
  html[data-theme="light"] .site-footer__logo {
    height: 42px;
    width: auto;
  }
  .site-nav,
  .whatsapp-pill {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
  }
  .hero {
    padding-top: 1rem;
  }
  .hero__inner,
  .about__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }
  .hero__copy,
  .about__copy {
    padding: 1.25rem 0 0;
    border-right: none;
    border-left: none;
  }
  .hero__title {
    font-size: clamp(3.2rem, 15vw, 4.6rem);
  }
  .hero__visual {
    padding: 1rem 0 0;
    min-height: clamp(22rem, 84vw, 34rem);
  }
  .hero__visual .placeholder--hero {
    min-height: clamp(22rem, 84vw, 34rem);
  }
  .hero__visual .media-photo {
    object-position: center 38%;
  }
  .hero__stamp {
    font-size: .95rem;
  }
  .section {
    padding-block: 3.5rem;
  }
  .section-head,
  .section-footer {
    margin-bottom: 1.25rem;
  }
  .section-head__title {
    font-size: clamp(2.3rem, 12vw, 3rem);
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card,
  .project-card--hero,
  .project-card--tall,
  .project-card--wide,
  .project-card--square {
    grid-column: auto;
  }
  .project-card__media,
  .project-card--hero .project-card__media,
  .project-card--tall .project-card__media,
  .project-card--wide .project-card__media,
  .project-card--square .project-card__media {
    min-height: 16rem;
  }
  .about__media {
    min-height: 20rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .contact__list {
    grid-template-columns: 1fr;
  }
  .contact-form {
    grid-template-columns: 1fr;
  }
  .site-footer__inner {
    align-items: flex-start;
  }
  .gallery-modal {
    padding: .5rem;
  }
  .gallery-modal__dialog {
    width: calc(100vw - 1rem);
    max-height: calc(100vh - 1rem);
    padding: .85rem;
  }
  .gallery-modal__image {
    height: min(60vh, 70vw);
  }
  .gallery-modal__controls {
    flex-direction: column;
  }
}
