:root {
  --ivory: #f8f1eb;
  --cream: #efe2d8;
  --rose: #d8c3b8;
  --coffee: #2f160e;
  --cocoa: #68402e;
  --copper: #9b4d25;
  --white: #fffaf6;
  --line: rgba(47, 22, 14, 0.18);
  --shadow: 0 28px 80px rgba(47, 22, 14, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--coffee);
  background: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 0; left: 1rem; z-index: 999; transform: translateY(-120%); padding: .65rem 1rem; color: white; background: var(--coffee); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 4.5rem);
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, height .35s;
}
.site-header.scrolled { height: 72px; background: rgba(248, 241, 235, .92); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; z-index: 2; }
.brand-logo { width: 64px; height: 64px; object-fit: contain; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--coffee); border-radius: 50%; font: 1rem var(--serif); letter-spacing: -.12em; }
.brand-name { font: 1.2rem var(--serif); text-transform: uppercase; letter-spacing: .08em; line-height: 1; }
.brand-name small { display: block; margin-top: .32rem; font: .57rem var(--sans); letter-spacing: .27em; }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); font-size: .82rem; letter-spacing: .08em; }
.main-nav > a:not(.nav-cta) { position: relative; padding: .5rem 0; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: .2rem; width: 100%; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: .65rem 1rem; border: 1px solid var(--coffee); border-radius: 100px; transition: color .25s, background .25s; }
.nav-cta:hover { color: var(--ivory); background: var(--coffee); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; z-index: 3; }
.menu-toggle > span:not(.sr-only) { position: absolute; left: 8px; width: 28px; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.menu-toggle > span:first-child { top: 17px; }
.menu-toggle > span:nth-child(2) { top: 26px; }
.menu-toggle[aria-expanded="true"] > span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

.hero { display: grid; grid-template-columns: 1fr; background: radial-gradient(circle at 15% 20%, #fffaf6 0, var(--ivory) 52%, var(--cream) 100%); }
.hero-copy { min-height: clamp(620px, 68vh, 760px); padding: 10.5rem clamp(1.5rem, 7vw, 8rem) 4rem; display: flex; flex-direction: column; justify-content: center; position: relative; }
.hero-copy::before { content: "AB"; position: absolute; inset: 11% auto auto 4%; color: rgba(104, 64, 46, .045); font: clamp(14rem, 31vw, 30rem)/.75 var(--serif); letter-spacing: -.2em; pointer-events: none; }
.eyebrow { margin: 0 0 1.4rem; text-transform: uppercase; letter-spacing: .28em; font-size: .72rem; font-weight: 600; color: var(--copper); }
h1, h2, h3, p { position: relative; }
h1, h2 { margin: 0; font: 500 clamp(3.6rem, 7vw, 7.5rem)/.98 var(--serif); letter-spacing: -.03em; }
h1 em, h2 em { font-weight: 400; }
.hero h1 em { font-size: .59em; display: inline-block; margin-top: 1.2rem; letter-spacing: -.02em; }
.hero-intro { max-width: 35rem; margin: 2rem 0; color: rgba(47, 22, 14, .72); font-size: clamp(1rem, 1.25vw, 1.18rem); }
.hero-actions { display: flex; align-items: center; gap: 1.8rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.35rem; border: 1px solid transparent; border-radius: 100px; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; transition: transform .25s, box-shadow .25s, background .25s, color .25s; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(47, 22, 14, .15); }
.button-primary { color: var(--white); background: var(--coffee); }
.button-outline { border-color: currentColor; }
.button-outline:hover { color: var(--ivory); background: var(--coffee); }
.text-link { display: inline-flex; gap: .7rem; align-items: center; border-bottom: 1px solid var(--line); padding: .5rem 0; font-size: .84rem; text-transform: uppercase; letter-spacing: .1em; }
.text-link span { transition: transform .25s; }
.text-link:hover span { transform: translateY(3px); }
.hero-note { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: .55rem 1.3rem; color: rgba(47, 22, 14, .6); font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-note span:not(:last-child)::after { content: "·"; margin-left: 1.3rem; color: var(--copper); }
.hero-visual { position: relative; overflow: hidden; margin: 0; aspect-ratio: 880 / 535; background: var(--cream); }
.hero-visual > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(47,22,14,.03), rgba(47,22,14,.24)); }
.hero-seal { position: absolute; z-index: 2; width: clamp(110px, 11vw, 165px); height: auto; aspect-ratio: 1; object-fit: contain; right: clamp(1.5rem, 4vw, 4rem); bottom: clamp(2rem, 5vw, 5rem); filter: drop-shadow(0 18px 24px rgba(47,22,14,.28)); transform: rotate(8deg); }
.hero-visual p { position: absolute; z-index: 2; left: 3rem; bottom: 3rem; color: var(--white); font: 1.3rem/1.3 var(--serif); }

.marquee { overflow: hidden; padding: 1rem 0; color: var(--ivory); background: var(--coffee); }
.marquee > div { width: max-content; display: flex; align-items: center; gap: 2rem; padding-left: 2rem; animation: drift 28s linear infinite alternate; }
.marquee span { text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; white-space: nowrap; }
.marquee i { width: 5px; height: 5px; background: var(--copper); border-radius: 50%; }
@keyframes drift { to { transform: translateX(-12%); } }

.section { padding: clamp(5.5rem, 10vw, 10rem) clamp(1.5rem, 6vw, 7rem); }
.experience { display: grid; grid-template-columns: minmax(290px, .75fr) 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.experience-image { position: relative; max-width: 480px; }
.experience-image::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid var(--line); border-radius: 190px 190px 24px 24px; }
.experience-image img { position: relative; width: 100%; border-radius: 180px 180px 18px 18px; box-shadow: var(--shadow); }
.image-caption { display: block; margin-top: 1.1rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.experience h2, .section-heading h2, .founder h2, .result h2, .contact h2 { font-size: clamp(3rem, 5.5vw, 6.3rem); }
.experience-copy > p:not(.eyebrow) { max-width: 42rem; margin: 2rem 0 2.8rem; color: rgba(47,22,14,.7); font-size: 1.08rem; }
.principles { border-top: 1px solid var(--line); }
.principles article { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.principles article > span { color: var(--copper); font: 1.2rem var(--serif); }
.principles h3 { margin: 0 0 .25rem; font: 1.35rem var(--serif); }
.principles p { margin: 0; color: rgba(47,22,14,.65); }

.services { background: var(--coffee); color: var(--ivory); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading > p { max-width: 25rem; margin: 0; color: rgba(47,22,14,.62); }
.services .section-heading > p { color: rgba(248,241,235,.6); }
.service-tabs { display: flex; gap: 0; overflow-x: auto; border-bottom: 1px solid rgba(248,241,235,.2); scrollbar-width: none; }
.service-tab { flex: 0 0 auto; padding: 1rem 1.5rem; color: rgba(248,241,235,.54); background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.service-tab:hover, .service-tab.active { color: var(--white); }
.service-tab.active { border-color: var(--copper); }
.service-panel { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(248,241,235,.2); }
.service-panel[hidden] { display: none; }
.service-panel article { min-height: 330px; padding: 3rem clamp(1.4rem, 3vw, 3rem); border-right: 1px solid rgba(248,241,235,.2); animation: panelIn .45s ease both; }
.service-panel article:last-child { border-right: 0; }
.service-panel span { display: block; color: var(--copper); font: 1.2rem var(--serif); }
.service-panel h3 { margin: 4.5rem 0 1rem; font: clamp(1.8rem, 2.6vw, 3rem)/1 var(--serif); }
.service-panel p { color: rgba(248,241,235,.62); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }

.founder { display: grid; grid-template-columns: 1fr .85fr; gap: 5vw; align-items: stretch; background: linear-gradient(135deg, #eadbd2, var(--ivory) 58%); }
.founder-copy { padding: 2rem 0; align-self: center; }
.founder-copy > p:not(.eyebrow) { max-width: 39rem; margin: 2rem 0; color: rgba(47,22,14,.7); }
blockquote { margin: 2.5rem 0; padding-left: 1.5rem; border-left: 1px solid var(--copper); font: italic clamp(1.5rem, 2.4vw, 2.3rem)/1.3 Georgia, serif; max-width: 35rem; }
.founder-image { position: relative; min-height: 620px; overflow: hidden; border-radius: 250px 250px 20px 20px; }
.founder-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.55); transform-origin: center 65%; }

.team .section-heading { margin-bottom: 4rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.team-photo { aspect-ratio: .78; overflow: hidden; background: var(--cream); }
.team-card:nth-child(2) .team-photo { margin-top: 3rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.team-card:hover img { transform: scale(1.025); }
.team-card:first-child .team-photo img { transform: scale(1.35); transform-origin: center 65%; }
.team-card:first-child:hover .team-photo img { transform: scale(1.39); }
.team-card > p { margin: 1.1rem 0 .25rem; color: var(--copper); text-transform: uppercase; letter-spacing: .16em; font-size: .67rem; }
.team-card h3 { margin: 0; font: clamp(1.6rem, 2.4vw, 2.6rem) var(--serif); }

.result { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(3rem, 7vw, 7rem); color: var(--ivory); background: var(--cocoa); }
.result-image { position: relative; overflow: hidden; cursor: zoom-in; }
.result-image img { width: 100%; aspect-ratio: 1.18; object-fit: cover; transition: transform .6s; }
.result-image:hover img { transform: scale(1.025); }
.result-image span { position: absolute; right: 1rem; bottom: 1rem; padding: .5rem .8rem; color: var(--coffee); background: rgba(255,250,246,.88); border-radius: 100px; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.result-copy p:not(.eyebrow) { color: rgba(248,241,235,.72); margin: 2rem 0; }
.result .button-outline { color: var(--ivory); }
.result .button-outline:hover { color: var(--coffee); background: var(--ivory); }

.contact { text-align: center; background: radial-gradient(circle at center, #fffaf6, var(--ivory) 65%); }
.contact-intro img { width: 118px; height: auto; aspect-ratio: 1; object-fit: contain; margin: 0 auto 1rem; filter: drop-shadow(0 12px 18px rgba(47,22,14,.2)); }
.contact h2 { max-width: 820px; margin: 0 auto; }
.contact-grid { max-width: 1050px; margin: 4rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; border: 1px solid var(--line); }
.contact-grid a { min-height: 150px; padding: 2rem; border-right: 1px solid var(--line); transition: background .25s; }
.contact-grid a:last-child { border-right: 0; }
.contact-grid a:hover { background: var(--cream); }
.contact-grid span { display: block; color: var(--copper); text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; margin-bottom: 1.5rem; }
.contact-grid strong { font: 1.25rem/1.4 var(--serif); }

footer { padding: 2.5rem clamp(1.5rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; color: var(--ivory); background: var(--coffee); }
footer p { margin: 0; font-size: .72rem; letter-spacing: .08em; }
footer p:last-child { text-align: right; color: rgba(248,241,235,.55); }
.footer-brand .brand-logo { width: 56px; height: 56px; }
.floating-whatsapp { position: fixed; z-index: 80; right: 1.2rem; bottom: 1.2rem; padding: .8rem 1rem; border-radius: 100px; color: white; background: var(--copper); box-shadow: 0 12px 35px rgba(47,22,14,.25); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; transition: transform .25s; }
.floating-whatsapp:hover { transform: translateY(-3px); }

.lightbox { width: min(92vw, 1050px); max-width: none; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(24,10,5,.9); backdrop-filter: blur(8px); }
.lightbox img { max-height: 86vh; margin: auto; box-shadow: 0 20px 80px rgba(0,0,0,.45); }
.lightbox button { position: absolute; right: 0; top: -3rem; width: 42px; height: 42px; color: white; background: transparent; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; cursor: pointer; font-size: 1.5rem; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 7rem 2rem 3rem; color: var(--ivory); background: var(--coffee); transform: translateX(100%); transition: transform .4s cubic-bezier(.7,0,.2,1); }
  .main-nav.open { transform: none; }
  .main-nav a { font: 2.2rem var(--serif); letter-spacing: 0; }
  .main-nav .nav-cta { margin-top: 1rem; font: .8rem var(--sans); letter-spacing: .12em; border-color: var(--ivory); }
  .menu-toggle[aria-expanded="true"] { color: var(--ivory); }
  .hero-copy { min-height: 82vh; padding-top: 9rem; }
  .hero-visual { min-height: 0; }
  .hero-visual > img:first-child { object-position: center 26.5%; }
  .hero-seal { width: 72px; right: 1rem; bottom: .75rem; }
  .experience, .founder, .result { grid-template-columns: 1fr; }
  .experience-image { max-width: 610px; margin: auto; }
  .founder-image { min-height: 760px; }
  .service-panel { grid-template-columns: 1fr; }
  .service-panel article { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(248,241,235,.2); }
  .service-panel h3 { margin-top: 2rem; }
  .result-copy { padding-bottom: 1rem; }
}

@media (max-width: 720px) {
  .site-header { height: 72px; padding-inline: 1rem; }
  .brand-name { font-size: 1rem; }
  .brand-logo { width: 54px; height: 54px; }
  .hero-copy { min-height: 88vh; padding: 8.5rem 1.25rem 3rem; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .hero-visual { min-height: 0; }
  .hero-visual p { left: 1.25rem; bottom: 1.25rem; font-size: 1.05rem; }
  .hero-seal { right: .65rem; bottom: .5rem; width: 58px; }
  .hero-note span:not(:last-child)::after { display: none; }
  .section { padding: 5.5rem 1.25rem; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 2.5rem; }
  .experience-image::before { inset: -12px 12px 12px -12px; }
  .experience h2, .section-heading h2, .founder h2, .result h2, .contact h2 { font-size: clamp(3rem, 14vw, 4.4rem); }
  .service-tab { padding-inline: 1rem; }
  .founder-image { min-height: 560px; }
  .team-grid { grid-template-columns: 1fr; gap: 3rem; }
  .team-card:nth-child(2) .team-photo { margin-top: 0; }
  .team-photo { aspect-ratio: .9; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid a { min-height: 125px; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-grid a:last-child { border-bottom: 0; }
  footer { grid-template-columns: 1fr; text-align: center; }
  footer .brand { justify-content: center; }
  footer p:last-child { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
