:root {
  --ink: #1c2230;
  --ink-soft: #4a5468;
  --berry: #b0245c;
  --berry-dark: #8c1a47;
  --sage: #2f5f52;
  --sage-soft: #e3efe9;
  --blush: #fdf0f3;
  --haze: #eef3fa;
  --line: #e7e1e7;
  --white: #fff;
  --radius: 24px;
  --shadow: 0 14px 40px rgba(28, 34, 48, .10);
  --shadow-lift: 0 22px 50px rgba(28, 34, 48, .18);
  --max: 1180px;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Hoefler Text", Baskerville, "Baskerville Old Face", "Iowan Old Style", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--berry-dark); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; color: var(--ink); font-weight: 600; }
h1 { font-size: clamp(2.5rem, 7vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); letter-spacing: -.005em; }
h3 { font-size: 1.35rem; }
h1 em, h2 em { font-style: italic; color: var(--berry); font-weight: 500; }
p { margin: 0 0 1em; max-width: 66ch; }

:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 10px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--berry-dark); margin: 0 0 .8em; }
.lede { font-size: 1.15rem; color: var(--ink-soft); }
.section { padding: 76px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 112px 0; } }
.section.blush { background: var(--blush); }
.section.haze { background: var(--haze); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .5em 0 0; }
.intro { max-width: 640px; }

.wave { display: block; width: 100%; height: 64px; }
@media (min-width: 900px) { .wave { height: 96px; } }
.wave-wrap { line-height: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px; background: var(--berry); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid var(--berry); font-size: 1rem; cursor: pointer; font-family: inherit; transition: background .2s ease-out, transform .2s ease-out, box-shadow .2s ease-out, color .2s ease-out; }
.btn:hover { background: var(--berry-dark); border-color: var(--berry-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(176, 36, 92, .28); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: 0 12px 24px rgba(28, 34, 48, .2); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: var(--blush); border-color: var(--blush); box-shadow: 0 12px 24px rgba(0, 0, 0, .2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.arrow::after { content: "\2192"; transition: transform .2s ease-out; }
.btn:hover .arrow::after, a:hover > .arrow::after { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .2s ease-out; }
.site-header.scrolled { box-shadow: 0 8px 30px rgba(28, 34, 48, .10); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { text-decoration: none; color: var(--ink); line-height: 1.1; display: flex; flex-direction: column; min-height: 44px; justify-content: center; }
.brand b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: .005em; }
.brand small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; transition: background .2s ease-out; }
.nav a:hover { background: var(--blush); }
.nav a[aria-current="page"] { color: var(--berry-dark); }
.nav .btn { margin-left: 10px; color: #fff; padding: 10px 22px; }
.nav .btn:hover { background: var(--berry-dark); }
.menu-btn { display: none; min-width: 44px; min-height: 44px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-size: 1rem; font-weight: 600; color: var(--ink); padding: 0 18px; cursor: pointer; font-family: inherit; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 18px; box-shadow: 0 20px 30px rgba(28, 34, 48, .10); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 16px; border-radius: 14px; }
  .nav .btn { margin: 10px 0 0; justify-content: center; }
}

/* Hero */
.hero { position: relative; background: linear-gradient(165deg, var(--blush) 0%, #f7f1f8 45%, var(--haze) 100%); overflow: hidden; isolation: isolate; }
.hero .blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); }
.blob.b1 { width: 520px; height: 520px; right: -140px; top: -120px; background: radial-gradient(circle at 30% 30%, rgba(176, 36, 92, .22), rgba(176, 36, 92, 0) 70%); }
.blob.b2 { width: 460px; height: 460px; left: -160px; bottom: -140px; background: radial-gradient(circle at 60% 40%, rgba(47, 95, 82, .22), rgba(47, 95, 82, 0) 70%); }
.hero-grid { display: grid; gap: 36px; padding: 40px 0 28px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; padding: 72px 0 48px; } }
.hero h1 { margin-bottom: .35em; }
.hero .lede { max-width: 50ch; margin-bottom: 1.4em; }
.quick { margin-top: 30px; display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 640px; }
@media (min-width: 560px) { .quick { grid-template-columns: repeat(3, 1fr); } }
.quick a { display: flex; flex-direction: column; gap: 2px; background: rgba(255, 255, 255, .85); border: 1px solid #fff; border-radius: 20px; padding: 14px 18px; text-decoration: none; color: var(--ink); min-height: 64px; justify-content: center; box-shadow: 0 8px 22px rgba(28, 34, 48, .07); transition: transform .2s ease-out, box-shadow .2s ease-out; }
.quick a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.quick strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.quick span { font-size: .85rem; color: var(--ink-soft); }
.portrait { position: relative; width: min(100%, 400px); margin: 0 auto; padding-bottom: 8px; }
.portrait .ring { position: absolute; inset: 22px -10px -14px 22px; border: 2px solid var(--berry); border-radius: 999px 999px 40px 40px; opacity: .45; }
.portrait .arch { position: relative; border-radius: 999px 999px 36px 36px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--haze); box-shadow: var(--shadow-lift); }
.portrait .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.chip { position: absolute; background: #fff; border-radius: 18px; padding: 10px 16px; box-shadow: var(--shadow); font-size: .86rem; line-height: 1.3; }
.chip strong { display: block; font-family: var(--font-display); font-size: 1rem; }
.chip.c1 { left: -6px; bottom: 34px; }
.chip.c2 { right: -4px; top: 56px; background: var(--sage); color: #fff; font-weight: 600; }
@media (min-width: 900px) { .portrait .ring { inset: 22px -18px -14px 22px; } .chip.c1 { left: -34px; } .chip.c2 { right: -26px; } }

/* Services */
.cards { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease-out, box-shadow .25s ease-out; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card .ico { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--blush); color: var(--berry); }
.card:nth-child(2) .ico { background: var(--sage-soft); color: var(--sage); }
.card:nth-child(3) .ico { background: var(--haze); color: #2c4f86; }
.card:nth-child(4) .ico { background: #fbf1e2; color: #9a5b06; }
.card .ico svg { width: 26px; height: 26px; }
.card h3 { margin: 6px 0 0; }
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.card .more { margin-top: auto; padding-top: 10px; font-weight: 700; text-decoration: none; color: var(--berry-dark); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }

/* Work rail */
.rail-ctl { display: flex; gap: 10px; }
.rail-ctl button { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); font-size: 1.2rem; cursor: pointer; font-family: inherit; transition: background .2s ease-out, color .2s ease-out; }
.rail-ctl button:hover { background: var(--ink); color: #fff; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 16px 28px; margin: 0 -16px; scroll-padding: 0 16px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.proj { position: relative; flex: none; width: min(78vw, 340px); border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; box-shadow: var(--shadow); background: var(--ink); aspect-ratio: 4 / 5; margin: 0; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.proj:hover img { transform: scale(1.05); }
.proj figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 20px 18px; color: #fff; background: linear-gradient(180deg, rgba(14, 18, 28, 0), rgba(14, 18, 28, .82)); }
.proj figcaption strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.proj figcaption span { font-size: .88rem; opacity: .9; }
.proj .tag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); color: var(--ink); border-radius: 999px; padding: 4px 12px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.grid-proj { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .grid-proj { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-proj { grid-template-columns: repeat(3, 1fr); } }
.grid-proj .proj { width: auto; aspect-ratio: 4 / 5; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.chips button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .2s ease-out; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Split blocks */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.flip > :first-child { order: 2; } }
.shape { position: relative; }
.shape img { border-radius: 38% 62% 55% 45% / 45% 40% 60% 55%; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow-lift); }
.shape.round-rect img { border-radius: 32px 32px 140px 32px; aspect-ratio: 4 / 3.4; }
.shape.sold img { border-radius: 28px; aspect-ratio: auto; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Reviews */
.review-panel { text-align: center; background: #fff; border-radius: 36px; padding: 48px 20px; box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.review-panel h2 { margin-bottom: .3em; }
.review-panel p { margin-left: auto; margin-right: auto; }
.review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.review-links a[hidden] { display: none; }
@media (min-width: 700px) { .review-panel { padding: 64px 56px; } }

/* Contact */
.contact-grid { display: grid; gap: 20px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.tile { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.tile h3 { font-size: 1.1rem; margin-bottom: .3em; }
.tile p { margin: 0 0 .4em; color: var(--ink-soft); }
.tile a { font-weight: 600; word-break: break-word; display: inline-flex; align-items: center; min-height: 44px; }
.tile .big { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); text-decoration: none; display: inline-block; min-height: 44px; }
.cta-band { background: var(--ink); color: #fff; border-radius: 36px; padding: 44px 24px; text-align: center; margin-top: 28px; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(176, 36, 92, .55), rgba(176, 36, 92, 0) 70%); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 18px; }
.cta-band .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.cta-band .btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Page head (inner pages) */
.page-head { background: linear-gradient(165deg, var(--blush), var(--haze)); padding: 56px 0 40px; }
.page-head p { color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 100px; font-size: .94rem; }
@media (min-width: 900px) { .site-footer { padding-bottom: 56px; } }
.site-footer a { color: #fff; text-underline-offset: 3px; }
.site-footer .row { display: grid; gap: 28px; }
@media (min-width: 760px) { .site-footer .row { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-footer p { margin: 0 0 .5em; }
.site-footer .links a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 18px; }
.site-footer .fine { font-size: .8rem; opacity: .7; margin-top: 18px; }

/* Mobile action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 -10px 30px rgba(28, 34, 48, .12); }
.action-bar .btn { flex: 1; min-height: 48px; padding: 8px 14px; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease-out, transform .7s ease-out; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
