:root {
  --ink: #201d19;
  --ink-soft: #5f5a52;
  --paper: #f5f1e9;
  --paper-deep: #ebe4d8;
  --white: #fffdf9;
  --accent: #9a7a4f;
  --accent-dark: #735937;
  --line: rgba(32, 29, 25, .14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --shadow: 0 24px 64px rgba(58, 47, 32, .12);
  --container: 1180px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: #d8c5a9; color: var(--ink); }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 14px; background: var(--ink); color: white; border-radius: 10px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 241, 233, .86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 28px rgba(32, 29, 25, .05); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; font-family: var(--serif); font-size: 22px; font-style: italic; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.brand-copy small { margin-top: 5px; color: var(--ink-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .13em; }
.desktop-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.desktop-nav a { font-size: 14px; color: var(--ink-soft); transition: color .2s ease; }
.desktop-nav a:hover { color: var(--ink); }

.btn { min-height: 50px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 650; font-size: 14px; border: 1px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid rgba(154, 122, 79, .42); outline-offset: 3px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-small { min-height: 42px; padding-inline: 17px; }
.btn-dark { background: var(--ink); color: white; }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 12px 26px rgba(115, 89, 55, .18); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { border-color: rgba(32, 29, 25, .34); }
.btn-outline:hover { border-color: var(--ink); background: rgba(255,255,255,.35); }
.btn-light { background: var(--white); color: var(--ink); }

.hero { padding: 56px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(48px, 6vw, 92px); }
.eyebrow { margin: 0 0 18px; color: var(--accent-dark); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .16em; }
.hero h1, .section-heading h2, .gallery-head h2, .process h2, .contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
}
.hero h1 { font-size: clamp(54px, 5.6vw, 84px); max-width: 8.6ch; }
.hero h1 em { color: var(--accent-dark); font-weight: 400; }
.hero-text { max-width: 560px; margin: 28px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.text-link { font-size: 14px; font-weight: 650; border-bottom: 1px solid rgba(32,29,25,.32); padding-bottom: 3px; }
.text-link span { margin-left: 4px; }
.hero-details { display: flex; gap: 34px; padding-top: 34px; margin-top: 36px; border-top: 1px solid var(--line); }
.hero-details div { display: grid; gap: 4px; }
.hero-details span { color: var(--ink-soft); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.hero-details strong { font-size: 13px; font-weight: 650; }
.hero-media { position: relative; padding: 0 18px 22px 0; }
.hero-photo { margin: 0; overflow: hidden; border-radius: 180px 180px 28px 28px; box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; background: var(--paper-deep); }
.hero-photo img { height: 100%; object-fit: cover; object-position: 49% center; }
.hero-media::before { content: ''; position: absolute; inset: 34px 0 0 34px; border: 1px solid rgba(154,122,79,.44); border-radius: 180px 180px 28px 28px; z-index: -1; }
.hero-note { position: absolute; left: -42px; bottom: 0; width: 220px; padding: 20px 22px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); }
.hero-note span { display: block; color: var(--accent-dark); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 750; }
.hero-note strong { display: block; margin-top: 8px; font-family: var(--serif); font-size: 19px; font-weight: 400; line-height: 1.2; }

.intro-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.strip-inner { min-height: 68px; display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--ink-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }
.strip-inner p { margin: 0; }
.strip-inner span { color: var(--accent); }

.section { padding: 116px 0; }
.section-heading, .gallery-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.section-heading h2, .gallery-head h2, .process h2, .contact h2 { font-size: clamp(40px, 4.3vw, 64px); }
.section-heading > p, .gallery-head > p { max-width: 440px; margin: 0 0 4px; color: var(--ink-soft); line-height: 1.7; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-card { min-height: 340px; padding: 34px 28px 28px 0; border-right: 1px solid var(--line); }
.service-card + .service-card { padding-left: 28px; }
.service-card:last-child { border-right: 0; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--paper-deep); }
.service-icon svg { width: 32px; height: 32px; fill: none; stroke: var(--ink); stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 92px 0 12px; font-family: var(--serif); font-weight: 400; font-size: 27px; letter-spacing: -.025em; }
.service-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; font-size: 15px; max-width: 330px; }

.gallery { background: var(--ink); color: var(--white); }
.gallery .eyebrow { color: #c3a880; }
.gallery-head > p { color: rgba(255,255,255,.62); }
.gallery-grid { display: grid; grid-template-columns: 1.35fr .65fr .9fr; grid-auto-rows: 240px; gap: 16px; }
.gallery-item { margin: 0; border-radius: 18px; overflow: hidden; background: #332f2a; }
.gallery-item img { height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-wide { grid-column: span 2; }
.gallery-tall { grid-row: span 2; }

.process { background: var(--paper-deep); }
.process-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; align-items: start; }
.process-copy { position: sticky; top: 126px; }
.process-copy p:not(.eyebrow) { max-width: 520px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; margin: 24px 0 30px; }
.steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(32,29,25,.18); }
.steps li { display: grid; grid-template-columns: 78px 1fr; gap: 18px; padding: 32px 0; border-bottom: 1px solid rgba(32,29,25,.18); }
.steps li > span { color: var(--accent-dark); font-family: var(--serif); font-size: 18px; font-style: italic; }
.steps h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 400; letter-spacing: -.02em; }
.steps p { margin: 0; color: var(--ink-soft); max-width: 520px; }

.contact { padding-top: 90px; }
.contact-card { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; background: var(--accent-dark); color: white; box-shadow: var(--shadow); }
.contact-copy { padding: clamp(42px, 6vw, 78px); }
.contact-copy .eyebrow { color: #d9c4a5; }
.contact-copy h2 { max-width: 8.5ch; }
.contact-copy > p:not(.eyebrow) { max-width: 510px; margin: 24px 0 30px; color: rgba(255,255,255,.72); font-size: 17px; }
.contact-info { padding: clamp(36px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; background: rgba(0,0,0,.12); }
.contact-info > div { padding: 23px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.contact-info > div:last-child { border-bottom: 0; }
.contact-info span { display: block; margin-bottom: 7px; color: rgba(255,255,255,.58); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.contact-info a { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 27px); line-height: 1.3; }

.site-footer { padding: 36px 0 42px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.brand-footer .brand-mark { width: 36px; height: 36px; font-size: 18px; }
.brand-footer .brand-copy strong { font-size: 17px; }
.footer-inner > p { margin: 0; color: var(--ink-soft); font-size: 12px; text-align: center; }
.footer-inner .viavite { text-align: right; }
.viavite strong { color: var(--ink); }

.floating-whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: white; box-shadow: 0 14px 30px rgba(0,0,0,.2); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.03); }
.floating-whatsapp svg { width: 27px; height: 27px; fill: currentColor; }

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

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { padding-top: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { max-width: 740px; }
  .hero h1 { max-width: 10ch; }
  .hero-media { max-width: 680px; margin-inline: auto; }
  .section-heading, .gallery-head, .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .process-copy { position: static; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: auto; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; }
  .footer-inner .viavite { text-align: center; }
}

@media (max-width: 720px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { display: none; }
  .site-header .btn-small { padding-inline: 14px; font-size: 12px; min-height: 40px; }
  .hero { padding: 30px 0 58px; }
  .hero-grid { gap: 44px; }
  .hero h1 { font-size: clamp(46px, 13vw, 66px); }
  .hero-text { font-size: 16px; margin-top: 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .text-link { width: fit-content; }
  .hero-details { gap: 22px; flex-direction: column; }
  .hero-media { padding-right: 10px; }
  .hero-photo { border-radius: 110px 110px 22px 22px; aspect-ratio: 1 / 1.08; }
  .hero-media::before { inset: 22px 0 0 22px; border-radius: 110px 110px 22px 22px; }
  .hero-note { left: 12px; bottom: -20px; width: 190px; }
  .strip-inner { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-inline: 2px; }
  .section { padding: 82px 0; }
  .section-heading, .gallery-head { margin-bottom: 34px; }
  .section-heading h2, .gallery-head h2, .process h2, .contact h2 { font-size: clamp(38px, 10vw, 52px); }
  .service-grid { grid-template-columns: 1fr; }
  .service-card, .service-card + .service-card { min-height: 0; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-card h3 { margin-top: 38px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-wide { grid-column: auto; }
  .gallery-item:first-child { grid-row: span 2; }
  .process-grid { gap: 48px; }
  .steps li { grid-template-columns: 50px 1fr; }
  .contact { padding-top: 68px; }
  .contact-card { border-radius: 26px; }
  .contact-copy, .contact-info { padding: 34px 26px; }
  .contact-info a { font-size: 20px; }
  .floating-whatsapp { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

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