:root {
  --ink: #181310;
  --ink-soft: #463d37;
  --cream: #f6f0e8;
  --paper: #fffaf4;
  --rose: #7f3f47;
  --rose-dark: #5f2d34;
  --sand: #d4bd9d;
  --line: rgba(24, 19, 16, 0.15);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 19, 16, 0.16);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 9999;
  background: var(--ink); color: white; padding: .75rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(100% - 32px, 1240px);
  margin: 16px auto 0;
  padding: 10px 12px 10px 14px;
  min-height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  position: sticky; top: 12px; z-index: 100;
  background: rgba(246, 240, 232, .88);
  border: 1px solid rgba(24, 19, 16, .12);
  backdrop-filter: blur(14px);
  border-radius: 999px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }
.brand-mark {
  width: 42px; height: 42px; flex: 0 0 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--serif);
  letter-spacing: .04em;
}
.brand-copy { display: grid; line-height: 1.15; gap: 3px; }
.brand-copy strong { font-size: .82rem; letter-spacing: .12em; }
.brand-copy small { color: var(--ink-soft); font-size: .7rem; }

.site-nav { display: none; }
.menu-btn {
  width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); display: grid; place-content: center; gap: 5px; cursor: pointer;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: white; transition: .25s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.site-nav.is-open {
  display: grid; position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 12px;
  box-shadow: var(--shadow);
}
.site-nav a { min-height: 48px; display: flex; align-items: center; padding: 0 16px; border-radius: 14px; font-weight: 500; }
.site-nav a:hover { background: rgba(127, 63, 71, .07); }
.site-nav .nav-cta { background: var(--rose); color: white; }

.section { width: min(100% - 36px, 1180px); margin: 0 auto; padding: 86px 0; }
.hero { padding-top: 54px; display: grid; gap: 44px; align-items: center; min-height: calc(100vh - 98px); }
.eyebrow {
  margin: 0 0 18px; color: var(--rose-dark); font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .98; margin: 0; }
h1 { font-size: clamp(3.8rem, 15vw, 7.6rem); max-width: 8.4ch; }
h1 em, h2 em { color: var(--rose); font-style: normal; }
h2 { font-size: clamp(3.25rem, 10vw, 6rem); max-width: 10ch; }
.hero-lede { margin: 28px 0 0; max-width: 590px; color: var(--ink-soft); font-size: 1.06rem; }
.hero-lede strong { color: var(--ink); }

.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; cursor: pointer; transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--rose); color: white; }
.btn-primary:hover { background: var(--rose-dark); }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.35); }

.hero-meta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .82rem; }
.hero-meta span::before { content: "•"; color: var(--rose); margin-right: 8px; }

.hero-visual { position: relative; }
.hero-frame {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 18px 18px 92px 18px;
  box-shadow: var(--shadow);
  background: var(--ink);
  aspect-ratio: 4 / 5.2;
}
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(16,11,9,.72));
  pointer-events: none;
}
.hero-frame figcaption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2;
  color: white; display: flex; justify-content: space-between; align-items: end; gap: 16px;
}
.hero-frame figcaption span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .72; }
.hero-frame figcaption strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }

.hero-stamp {
  position: absolute; right: -13px; top: 34px;
  width: 92px; aspect-ratio: 1; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line);
  display: grid; place-content: center; text-align: center; gap: 1px;
  font-size: .55rem; letter-spacing: .13em; line-height: 1.35;
  transform: rotate(8deg);
  box-shadow: 0 12px 35px rgba(24,19,16,.12);
}

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 15px 0; background: var(--paper); }
.marquee-track { display: flex; align-items: center; width: max-content; gap: 24px; animation: marquee 24s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.02rem; letter-spacing: .06em; }
.marquee i { color: var(--rose); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section-head { display: grid; gap: 26px; margin-bottom: 42px; }
.section-intro { max-width: 460px; color: var(--ink-soft); margin: 0; }
.text-link {
  width: fit-content; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid currentColor; font-weight: 600; font-size: .9rem;
}

.work { padding-bottom: 56px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.work-card {
  appearance: none; border: 0; padding: 0; margin: 0;
  background: #ddd0c2; position: relative; overflow: hidden; border-radius: 16px;
  aspect-ratio: 4/5; cursor: zoom-in;
}
.work-card--wide { grid-column: span 2; aspect-ratio: 16/10; }
.work-card--portrait { grid-column: span 2; aspect-ratio: 16/11; }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.work-card:hover img { transform: scale(1.035); }
.work-label {
  position: absolute; left: 10px; bottom: 10px; z-index: 2; color: white;
  background: rgba(24,19,16,.72); backdrop-filter: blur(9px); border-radius: 999px; padding: 7px 10px;
  font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
}

.services { border-top: 1px solid var(--line); }
.service-list { border-top: 1px solid var(--line); }
.service-row {
  min-height: 148px; padding: 24px 0; display: grid; grid-template-columns: 42px 1fr 32px; gap: 14px;
  align-items: start; border-bottom: 1px solid var(--line);
}
.service-no { color: var(--rose); font-size: .72rem; font-weight: 600; padding-top: 7px; }
.service-row h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.65rem, 6vw, 2.5rem); margin: 0 0 9px; }
.service-row p { margin: 0; color: var(--ink-soft); max-width: 600px; font-size: .92rem; }
.service-arrow { font-size: 1.35rem; transition: transform .2s ease; }
.service-row:hover .service-arrow { transform: translate(4px,-4px); }

.about { display: grid; gap: 44px; align-items: center; }
.about-visual { position: relative; }
.about-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center top; border-radius: 92px 18px 18px 18px; box-shadow: var(--shadow); }
.about-note {
  position: absolute; left: 12px; bottom: 12px; background: var(--paper); padding: 9px 12px; border-radius: 999px;
  font-size: .62rem; letter-spacing: .12em; font-weight: 600;
}
.about-copy p:not(.eyebrow) { color: var(--ink-soft); max-width: 610px; font-size: 1.02rem; }
.about-copy .text-link { margin-top: 14px; }

.process { border-top: 1px solid var(--line); }
.process-grid { display: grid; gap: 10px; }
.process-card {
  background: var(--paper); border: 1px solid rgba(24,19,16,.1); border-radius: 18px; padding: 22px; min-height: 220px;
  display: flex; flex-direction: column;
}
.process-card span { color: var(--rose); font-size: .72rem; font-weight: 600; }
.process-card h3 { margin: auto 0 10px; font-family: var(--serif); font-size: 1.75rem; font-weight: 400; }
.process-card p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

.contact {
  background: var(--ink); color: white; width: min(100% - 20px, 1220px); border-radius: 28px;
  padding: 48px 18px; display: grid; gap: 38px; margin-bottom: 18px;
}
.contact .eyebrow { color: #e5b8be; }
.contact h2 em { color: #e5b8be; }
.contact-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); max-width: 520px; }
.contact-direct { margin-top: 28px; display: grid; gap: 7px; color: rgba(255,255,255,.7); }
.contact-direct a { font-family: var(--serif); font-size: 1.55rem; color: white; }

.inquiry-form { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 18px; }
.field, .field-row { display: grid; gap: 8px; }
.field { margin-bottom: 14px; }
.field-row { gap: 0; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.field input, .field select {
  width: 100%; min-height: 50px; border-radius: 12px; border: 1px solid rgba(24,19,16,.16);
  background: white; color: var(--ink); padding: 0 13px; outline: none;
}
.field input:focus, .field select:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(127,63,71,.12); }
.btn-full { width: 100%; border: 0; }
.form-note { text-align: center; font-size: .72rem; color: var(--ink-soft); margin: 10px 0 0; }

.footer { width: min(100% - 36px, 1180px); margin: 0 auto; padding: 42px 0 120px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand > div { display: grid; gap: 2px; }
.footer-brand strong { letter-spacing: .1em; font-size: .82rem; }
.footer-brand small { color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 18px; color: var(--ink-soft); font-size: .78rem; }

.floating-whatsapp {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #1f7a4a; color: white; box-shadow: 0 14px 36px rgba(0,0,0,.2);
}
.floating-whatsapp svg { width: 28px; height: 28px; fill: currentColor; }

.lightbox {
  width: min(92vw, 900px); max-height: 90vh; padding: 0; border: 0; background: transparent;
  overflow: visible;
}
.lightbox::backdrop { background: rgba(11,8,7,.9); backdrop-filter: blur(6px); }
.lightbox img { max-height: 86vh; margin: auto; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; right: 0; top: -48px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.35); color: white; font-size: 1.5rem; cursor: pointer;
}

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (min-width: 700px) {
  .site-header { width: min(100% - 48px, 1240px); padding-left: 18px; }
  .section { width: min(100% - 64px, 1180px); padding: 108px 0; }
  .hero { grid-template-columns: 1.06fr .94fr; gap: 60px; padding-top: 70px; }
  h1 { font-size: clamp(4.8rem, 8.7vw, 8rem); }
  .hero-frame { aspect-ratio: 4/5.4; }
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
  .section-intro { align-self: end; max-width: 440px; }
  .work-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 190px; gap: 12px; }
  .work-card { aspect-ratio: auto; }
  .work-card--wide { grid-column: span 7; grid-row: span 2; }
  .work-card:nth-child(2) { grid-column: span 5; grid-row: span 2; }
  .work-card:nth-child(3) { grid-column: span 4; grid-row: span 2; }
  .work-card:nth-child(4) { grid-column: span 4; grid-row: span 2; }
  .work-card--portrait { grid-column: span 4; grid-row: span 2; }
  .about { grid-template-columns: .9fr 1.1fr; gap: 90px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { width: min(100% - 36px, 1220px); padding: 74px; grid-template-columns: 1fr 1fr; gap: 72px; }
  .field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer { padding-bottom: 72px; }
}

@media (min-width: 930px) {
  .menu-btn { display: none; }
  .site-nav { display: flex; align-items: center; gap: 2px; }
  .site-nav a { min-height: 44px; padding: 0 15px; font-size: .84rem; }
  .site-nav .nav-cta { padding-inline: 18px; }
  .process-grid { grid-template-columns: repeat(4, 1fr); }
  .service-row { grid-template-columns: 64px 1fr 40px; align-items: center; min-height: 154px; }
  .service-no { padding-top: 0; }
  .footer { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
  .footer-links { margin: 0; justify-content: end; }
  .footer-bottom { grid-column: 1/-1; }
}

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