:root {
  --ink: #111311;
  --ink-soft: #1b1e1b;
  --paper: #f1f0ea;
  --paper-2: #e6e4dc;
  --white: #fff;
  --accent: #d5a253;
  --line: rgba(17, 19, 17, 0.16);
  --muted: #656861;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.subpage {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
.subpage a { color: inherit; text-decoration: none; }
.subpage img, .subpage video { display: block; max-width: 100%; }
.subpage button, .subpage input, .subpage select, .subpage textarea { font: inherit; }
.page-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.page-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--accent); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-eyebrow::before { width: 34px; height: 1px; background: currentColor; content: ""; }

.page-header { position: fixed; inset: 0 0 auto; z-index: 30; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s ease, backdrop-filter .3s ease; }
.page-header.scrolled { background: rgba(13,15,14,.88); backdrop-filter: blur(18px); }
.page-header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.page-brand { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; letter-spacing: .12em; }
.page-brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.5); color: var(--accent); font-family: Georgia, serif; font-size: 1rem; letter-spacing: -.08em; }
.page-brand small { display: block; margin-top: -5px; color: rgba(255,255,255,.58); font-size: .58rem; font-weight: 600; letter-spacing: .26em; }
.page-nav { display: flex; align-items: center; gap: 28px; font-size: .84rem; font-weight: 650; }
.page-nav a { transition: color .2s ease; }
.page-nav a:hover, .page-nav a[aria-current="page"] { color: var(--accent); }
.page-nav-cta { padding: 11px 17px; border: 1px solid rgba(255,255,255,.45); }
.page-menu { display: none; border: 0; padding: 8px; background: none; color: #fff; }

.page-hero { min-height: 590px; display: flex; align-items: end; padding: 170px 0 82px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(213,162,83,.13), transparent 45%), linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, 78px 78px, 78px 78px; content: ""; }
.page-hero::after { position: absolute; right: -3vw; bottom: -8vw; content: "SNY"; color: rgba(255,255,255,.025); font-family: Georgia, serif; font-size: 29vw; line-height: .8; letter-spacing: -.08em; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr .65fr; gap: 70px; align-items: end; }
.page-hero h1 { max-width: 900px; margin: 0; font-family: Georgia, serif; font-size: clamp(3.8rem, 8vw, 8rem); font-weight: 400; line-height: .88; letter-spacing: -.06em; }
.page-hero h1 i { color: var(--accent); font-weight: 400; }
.page-hero-copy { max-width: 410px; margin: 0 0 12px; color: rgba(255,255,255,.65); }

.filters { position: sticky; top: 84px; z-index: 15; background: rgba(241,240,234,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.filter-row { display: flex; gap: 9px; padding: 17px 0; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.filter-button { flex: 0 0 auto; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink); font-size: .78rem; font-weight: 750; cursor: pointer; transition: .2s ease; }
.filter-button:hover, .filter-button.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.projects-wrap { padding: 86px 0 120px; }
.projects-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; margin-bottom: 58px; }
.projects-intro h2 { max-width: 820px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.5rem, 5vw, 5.2rem); font-weight: 400; line-height: 1; letter-spacing: -.045em; }
.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.portfolio-item { grid-column: span 4; position: relative; min-height: 430px; margin: 0; overflow: hidden; background: #d8d6ce; transition: opacity .25s ease, transform .25s ease; }
.portfolio-item.wide { grid-column: span 8; }
.portfolio-item.tall { min-height: 620px; }
.portfolio-item.hidden { display: none; }
.portfolio-item img, .portfolio-item video { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.65,.25,1); }
.portfolio-item:hover img, .portfolio-item:hover video { transform: scale(1.035); }
.portfolio-item::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,8,7,.85), transparent 55%); content: ""; pointer-events: none; }
.portfolio-caption { position: absolute; inset: auto 0 0; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 25px; color: #fff; }
.portfolio-caption small { color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.portfolio-caption h3 { margin: 3px 0 0; font-family: Georgia, serif; font-size: 1.8rem; font-weight: 400; line-height: 1; }
.media-badge { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 99px; background: rgba(7,8,7,.35); color: #fff; font-size: .66rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.media-badge::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ""; }

.contact-main { background: var(--paper); padding: 110px 0 125px; }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.contact-heading { position: sticky; top: 125px; }
.contact-heading h2 { margin: 0 0 25px; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5.4rem); font-weight: 400; line-height: .98; letter-spacing: -.05em; }
.contact-heading p { max-width: 440px; color: var(--muted); }
.contact-links { display: grid; gap: 12px; margin-top: 35px; }
.contact-link { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 19px 0; border-top: 1px solid var(--line); font-weight: 750; }
.contact-link:last-child { border-bottom: 1px solid var(--line); }
.contact-link span:last-child { color: var(--accent); }
.contact-form { padding: 38px; background: var(--ink); color: #fff; }
.contact-form h3 { margin: 0 0 30px; font-family: Georgia, serif; font-size: 2.2rem; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: rgba(255,255,255,.58); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; padding: 12px 0; outline: 0; background: transparent; color: #fff; }
.field select { color-scheme: dark; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.submit-button { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 28px; padding: 18px 20px; border: 0; background: var(--accent); color: var(--ink); font-weight: 850; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.submit-button:hover { transform: translateY(-2px); background: #e1b264; }
.form-note { margin: 14px 0 0; color: rgba(255,255,255,.45); font-size: .76rem; }

.page-footer { background: var(--ink); color: #fff; }
.page-footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: end; padding: 72px 0 34px; }
.page-footer h2 { max-width: 720px; margin: 0; font-family: Georgia, serif; font-size: clamp(2.6rem, 5.6vw, 5.6rem); font-weight: 400; line-height: .95; letter-spacing: -.05em; }
.page-footer h2 i { color: var(--accent); font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: .78rem; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; display: flex; align-items: center; justify-content: flex-start; width: 58px; height: 58px; overflow: hidden; border-radius: 999px; background: #25d366; color: #07180d !important; box-shadow: 0 14px 40px rgba(0,0,0,.28); transition: width .35s cubic-bezier(.2,.75,.25,1), transform .2s ease; }
.whatsapp-float:hover { width: 208px; transform: translateY(-3px); }
.whatsapp-icon { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 58px; }
.whatsapp-icon svg { width: 27px; height: 27px; fill: currentColor; }
.whatsapp-label { padding-right: 20px; white-space: nowrap; font-size: .84rem; font-weight: 850; }

@media (max-width: 880px) {
  .page-shell { width: min(calc(100% - 32px), var(--max)); }
  .page-header-inner { min-height: 72px; }
  .page-menu { display: block; }
  .page-nav { position: absolute; top: 72px; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 16px 24px 24px; background: rgba(17,19,17,.98); border-bottom: 1px solid rgba(255,255,255,.16); }
  .page-nav.open { display: flex; }
  .page-nav a { width: 100%; padding: 13px 0; }
  .page-nav-cta { border: 0; }
  .page-hero { min-height: 540px; padding-top: 145px; }
  .page-hero-inner, .projects-intro, .contact-layout, .page-footer-inner { grid-template-columns: 1fr; gap: 35px; }
  .filters { top: 72px; }
  .portfolio-item, .portfolio-item.wide { grid-column: span 6; }
  .portfolio-item.tall { min-height: 500px; }
  .contact-heading { position: static; }
}

@media (max-width: 560px) {
  .page-brand small { display: none; }
  .page-hero h1 { font-size: clamp(3.4rem, 17vw, 5.2rem); }
  .projects-wrap, .contact-main { padding-block: 74px; }
  .projects-grid { display: block; }
  .portfolio-item, .portfolio-item.wide, .portfolio-item.tall { min-height: 430px; margin-bottom: 14px; }
  .contact-form { padding: 27px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .page-footer-inner { padding-top: 58px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float, .whatsapp-float:hover { right: 15px; bottom: 15px; width: 56px; height: 56px; transform: none; }
  .whatsapp-icon { width: 56px; height: 56px; flex-basis: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
