/* ==========================================================================
   DRISHYA DESIGN: LIGHT EDITORIAL THEME (loaded last on every page)
   Warm ivory + sand surfaces, charcoal text, one bronze accent.
   Photography is the hero; the interface stays quiet around it.
   Sections: 1 tokens/base  2 header  3 buttons  4 editorial overrides
             5 heroes (split, no text-over-photo)  6 components  7 forms
             8 inner pages  9 accessibility/motion
   ========================================================================== */

/* metric-matched fallbacks: text keeps its size while the web fonts load (reduces layout shift) */
@font-face { font-family: "Cormorant Fallback"; src: local("Georgia"); size-adjust: 85%; ascent-override: 108%; descent-override: 34%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"); size-adjust: 102%; ascent-override: 97%; descent-override: 30%; line-gap-override: 0%; }

:root {
  /* palette taken from the Drishya Designs business card */
  --ivory: #f5f2ec;      /* card cream: page background */
  --sand: #ece6da;       /* deeper cream: alternate sections */
  --stone: #cfc6b6;      /* input borders */
  --paper: #fbfaf7;      /* raised surfaces */
  --ink: #2f2f2f;        /* card charcoal: text */
  --ink-2: #474540;
  --ink-3: #625e57;
  --bronze: #7a6200;     /* card olive-gold: the single accent */
  --bronze-d: #5e4b00;
  --line: #dcd5c8;
  --header-h: 80px;
  --radius: 0;
  --font-display: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, serif;
  --font-body: 'DM Sans', 'DM Sans Fallback', system-ui, sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body.editorial-page,
body.inner-page {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
}
::selection { background: var(--bronze); color: #fff; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- 2. Header: solid ivory, quiet, always legible ---------- */
.site-header,
.site-header.scrolled,
.editorial-page .site-header,
.editorial-page .site-header.scrolled {
  background: var(--ivory) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: none !important;
  padding: 14px 0 !important;
}
.navbar__logo img, .site-header.scrolled .navbar__logo img, .editorial-page .navbar__logo img { height: 34px; width: auto; }
.navbar__container { gap: 28px; }
.navbar__menu { margin-left: auto; gap: 34px !important; }
.navbar__link, .editorial-page .navbar__link {
  color: var(--ink) !important;
  font-size: 12.5px; letter-spacing: .16em; font-weight: 500;
}
.navbar__link::after { background: var(--bronze); height: 2px; }
.navbar__link:hover, .navbar__link.active { color: var(--bronze) !important; }
.navbar__cta { padding: 13px 22px !important; min-height: 0 !important; }

.mobile-menu, .editorial-page .mobile-menu { background: var(--ivory) !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding-top: 96px; }
.mobile-menu__list a, .editorial-page .mobile-menu__list a { color: var(--ink) !important; font-size: 2rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mobile-menu__footer { gap: 10px; }
.navbar__hamburger .hamburger-line { width: 26px; left: 11px; background: var(--ink); }
.navbar__hamburger .hamburger-line:nth-child(1) { top: 14px; }
.navbar__hamburger .hamburger-line:nth-child(3) { bottom: 14px; }
.navbar__hamburger .hamburger-line:nth-child(2) { width: 18px; left: 19px; }
.navbar__hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
@media (max-width: 1024px) { .navbar__logo { margin-right: auto; } }

.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 10000;
  background: var(--ink); color: #fff; padding: 10px 18px; font-size: 13px;
  transition: top .25s ease;
}
.skip-link:focus { top: 12px; }
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 10001;
  transform-origin: 0 50%; transform: scaleX(0); background: var(--bronze); pointer-events: none;
}

/* ---------- 3. Buttons ---------- */
.btn { border-radius: var(--radius); font-weight: 500; letter-spacing: .14em; }
.btn-primary { background: var(--bronze) !important; border-color: var(--bronze) !important; color: #fff !important; }
.btn-primary:hover { background: var(--bronze-d) !important; border-color: var(--bronze-d) !important; box-shadow: none; transform: none; letter-spacing: .14em; }
.btn-outline, .btn-outline-white {
  background: transparent !important; color: var(--ink) !important; border: 1px solid var(--ink) !important;
}
.btn-outline:hover, .btn-outline-white:hover { background: var(--ink) !important; color: var(--ivory) !important; transform: none; box-shadow: none; }
.btn-ghost { color: var(--bronze) !important; }

/* ---------- 4. Convert editorial.css (light-on-dark) to dark-on-light ---------- */
body.editorial-page main :is(h1, h2, h3, h4, strong) { color: var(--ink); }
body.editorial-page main :is(p, li, span, address, small, figcaption) { color: var(--ink-2); }
body.editorial-page main a:not(.btn) { color: inherit; }
body.editorial-page main :is(.link-list a, .btn-ghost) { color: var(--bronze); }
body.editorial-page main em { color: var(--bronze); font-style: italic; }

.section-kicker, body.editorial-page main .section-kicker { color: var(--bronze); letter-spacing: .22em; font-weight: 500; }
.section-kicker::before { background: var(--bronze); opacity: .7; }
.display-title { letter-spacing: -.025em; line-height: 1.04; font-weight: 400; }
.section-title { letter-spacing: -.02em; font-weight: 400; }
.lead-copy { color: var(--ink-2) !important; }

.dark-section { background: var(--ivory); }
.sand-section { background: var(--sand); }
.soft-section { background: var(--paper); }

.eyebrow-list li, .signature-item { border-top-color: var(--line); }
.eyebrow-list strong, .signature-item strong { color: var(--ink); }
.eyebrow-list span, .story-grid__caption, .service-slab__meta { color: var(--ink-3) !important; }

.media-frame, .service-slab__media, .portfolio-tile { border-color: var(--line); background: var(--sand); }
.media-frame { min-height: 0; max-width: 100%; }
.media-frame::after { display: none; }
.media-frame img, .portfolio-tile img, .service-slab__media img { transition: transform 1s cubic-bezier(.22,1,.36,1); }
.media-frame:hover img, .portfolio-tile:hover img, .service-slab:hover img { transform: scale(1.03); }

/* captions that sit on photos keep light text over a soft bottom gradient only */
.portfolio-tile::after { background: rgba(20, 16, 12, .38); }
body.editorial-page main .portfolio-tile__caption :is(span, strong) { color: #fff !important; }
.portfolio-tile__caption span { opacity: .85; }

/* CTA panel: calm sand block, photo beside the text rather than behind it */
.cta-panel { background: var(--sand); border: 1px solid var(--line); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding: clamp(28px, 5vw, 64px); }
.cta-panel__bg { position: relative; inset: auto; opacity: 1; order: 2; aspect-ratio: 4 / 5; max-height: 460px; overflow: hidden; }
.cta-panel__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cta-panel__content { max-width: none; }
body.editorial-page main .cta-panel__info span { color: var(--ink-3); }
@media (max-width: 820px) { .cta-panel { grid-template-columns: 1fr; } .cta-panel__bg { order: -1; aspect-ratio: 16 / 10; } }

/* ---------- 5. Heroes: photograph and text side by side, never text over the photo ---------- */
.poster-hero, .service-poster {
  min-height: 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--ivory); isolation: auto; align-items: stretch;
}
.poster-hero__media, .service-poster__media {
  position: relative; inset: auto; z-index: 0; grid-column: 2; grid-row: 1;
  min-height: clamp(540px, 86vh, 900px); overflow: hidden; background: var(--sand);
}
.poster-hero__media::before, .poster-hero__media::after,
.service-poster__media::before, .service-poster__media::after { display: none !important; }
.poster-hero__media img, .service-poster__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  animation: none !important;
}
.poster-hero__layout, .service-poster__layout {
  grid-column: 1; grid-row: 1; max-width: none; width: auto; margin: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 36px;
  padding: calc(var(--header-h) + 56px) clamp(24px, 5vw, 88px) 64px clamp(24px, 6vw, 112px);
}
.poster-hero__content, .service-poster__content { max-width: 600px; }
.poster-hero__brand { display: none; }
.poster-hero__headline, .service-poster__headline {
  font-size: clamp(2.3rem, 3.7vw, 4.1rem); text-shadow: none; margin: 18px 0 20px;
}
.poster-hero__copy, .service-poster__copy { color: var(--ink-2) !important; font-size: 1.06rem; line-height: 1.75; max-width: 54ch; }
.poster-hero__actions, .service-poster__actions { margin-top: 28px; }
.poster-hero__facts, .service-poster__note {
  border-left: 0; padding: 22px 0 0; border-top: 1px solid var(--line); gap: 14px;
  grid-template-columns: 1fr; max-width: 520px; background: transparent !important;
}
.fact-block span, .service-poster__note span { color: var(--bronze) !important; font-size: 10.5px; margin-bottom: 4px; }
.fact-block strong, .service-poster__note strong { font-size: 1.02rem; font-family: var(--font-body); font-weight: 400; line-height: 1.5; color: var(--ink-2) !important; }
@media (max-width: 960px) {
  .poster-hero, .service-poster { grid-template-columns: 1fr; }
  .poster-hero__media, .service-poster__media { grid-column: 1; grid-row: 1; min-height: 0; aspect-ratio: 4 / 3; margin-top: var(--header-h); }
  .poster-hero__layout, .service-poster__layout { grid-column: 1; grid-row: 2; padding: 36px 24px 52px; }
}

/* ---------- 6. Components ---------- */
.page-intro { padding: calc(var(--header-h) + 72px) 0 24px; }
.page-intro .display-title { margin: 16px 0 18px; max-width: 18ch; font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
.page-intro .lead-copy { max-width: 62ch; }

.service-rows { display: grid; gap: clamp(56px, 8vw, 110px); }
.service-row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.22,1,.36,1); }
.service-row:hover .service-row__media img { transform: scale(1.03); }
.service-row__body { display: grid; gap: 14px; align-content: center; }
.service-row__body .section-title { margin: 6px 0 4px; }
.service-row__body p strong { color: var(--ink); font-weight: 600; }
.link-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 4px 0 10px; }
.link-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--stone); }
.link-list a:hover { text-decoration-color: var(--bronze); }
.service-row__body .btn { justify-self: start; margin-top: 6px; }
@media (max-width: 860px) { .service-row { grid-template-columns: 1fr; } .service-row--flip .service-row__media { order: 0; } }

.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.process-steps li { padding: 28px 22px 8px; border-right: 1px solid var(--line); }
.process-steps li:first-child { padding-left: 0; }
.process-steps li:last-child { border-right: 0; }
.process-steps li > span { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--bronze) !important; line-height: 1; margin-bottom: 14px; }
.process-steps h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 8px; }
.process-steps p { font-size: .95rem; }
@media (max-width: 960px) { .process-steps { grid-template-columns: 1fr; } .process-steps li { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; } }

.cta-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--sand); border: 1px solid var(--line); padding: clamp(28px, 5vw, 60px); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band__actions { justify-content: flex-start; } }

.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-row > div { padding: 30px 26px; border-left: 1px solid var(--line); }
.fact-row > div:first-child { border-left: 0; padding-left: 0; }
.fact-row strong { display: block; font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 500; line-height: 1.15; margin-bottom: 8px; color: var(--ink); }
.fact-row span { font-size: .92rem; color: var(--ink-3); }
@media (max-width: 900px) { .fact-row { grid-template-columns: repeat(2, 1fr); } .fact-row > div:nth-child(3) { border-left: 0; padding-left: 0; } .fact-row > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.areas a, .areas span { padding: 9px 16px; font-size: 13px; letter-spacing: .04em; color: var(--ink) !important; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .25s, background .25s; }
.areas a:hover { border-color: var(--bronze); background: var(--ivory); }
.areas .areas__home { border-color: var(--bronze); color: var(--bronze) !important; }

.split-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split-feature > * { min-width: 0; }
.split-feature__media, .media-frame.split-feature__media { aspect-ratio: 5 / 4; min-height: 0; width: 100%; overflow: hidden; position: relative; }
.split-feature__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .split-feature { grid-template-columns: 1fr; } }

.faq-teaser { border-top: 1px solid var(--line); }
.faq-teaser details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq-teaser summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 24px; font-family: var(--font-display); font-size: clamp(1.2rem, 1.9vw, 1.5rem); color: var(--ink); }
.faq-teaser summary::-webkit-details-marker { display: none; }
.faq-teaser summary::after { content: "+"; color: var(--bronze); font-size: 1.6rem; line-height: 1; transition: transform .3s; }
.faq-teaser details[open] summary::after { transform: rotate(45deg); }
.faq-teaser details p { margin-top: 12px; max-width: 70ch; }

/* FAQ accordion */
.faq-hero { padding: calc(var(--header-h) + 72px) 0 36px; text-align: center; background: var(--ivory); }
.accordion { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); gap: 0 !important; }
.accordion-item { border: 0 !important; border-bottom: 1px solid var(--line) !important; background: transparent !important; }
.accordion-header { width: 100%; display: flex !important; justify-content: space-between; align-items: center; gap: 24px; text-align: left; padding: 24px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.3; color: var(--ink); cursor: pointer; min-height: 0 !important; }
.accordion-header:hover { color: var(--bronze); }
.accordion-icon { color: var(--bronze); font-size: 1.8rem; line-height: 1; flex: none; transition: transform .3s; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.22,1,.36,1); }
.accordion-content p { padding: 0 4px 26px; max-width: 70ch; color: var(--ink-2); }

/* gallery */
.masonry-grid .portfolio-card { width: 100% !important; border: 1px solid var(--line); }
.masonry-grid .portfolio-card:hover .portfolio-card__image { transform: scale(1.04); }
.masonry-grid .portfolio-card { aspect-ratio: auto !important; border: 0 !important; overflow: visible; }
.masonry-grid .portfolio-card__image-wrap { height: auto; display: block; }
.masonry-grid .portfolio-card__image { aspect-ratio: 4 / 5; height: auto; display: block; }
.portfolio-card__overlay { position: static !important; background: none !important; padding: 12px 0 0 !important; display: flex; justify-content: space-between; align-items: baseline; text-align: left; }
.portfolio-card__expand { display: none !important; }
.portfolio-card__title { color: var(--ink) !important; }
.portfolio-card__category { color: var(--ink-3) !important; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.portfolio-card__title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; line-height: 1.2; margin: 4px 0 0; }
.filter-btn { color: var(--ink); border-color: var(--line); border-radius: 999px; }
.filter-btn:hover, .filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

/* ---------- 7. Forms ---------- */
body.editorial-page .form-field :is(input, select, textarea) {
  background: var(--paper); color: var(--ink); border: 1px solid var(--stone); border-radius: var(--radius);
  padding: 14px 16px; font: inherit; width: 100%;
}
body.editorial-page .form-field :is(input, select, textarea):focus { border-color: var(--bronze); outline: 2px solid rgba(122, 98, 0, .25); outline-offset: 0; }
body.editorial-page .form-field ::placeholder { color: #8a8176; }
body.editorial-page .form-field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); display: block; margin-bottom: 8px; }
body.editorial-page .contact-review strong { color: var(--ink); }
body.editorial-page .contact-review span { color: var(--ink-3); }
.optional { text-transform: none; letter-spacing: 0; color: var(--ink-3); }
.required { color: var(--bronze) !important; }
.field-error { display: none; margin-top: 6px; font-size: 13px; color: #a3321f !important; }
.form-field.error .field-error { display: block; }
.form-field.error :is(input, select, textarea) { border-color: #a3321f; }
.form-success { margin-top: 24px; padding: 22px 24px; background: var(--sand); border-left: 3px solid var(--bronze); text-align: left; }
.form-success[hidden] { display: none; }
.form-success a { color: var(--bronze) !important; text-decoration: underline; text-underline-offset: 3px; }
.form-reassure { font-size: 13px; color: var(--ink-3) !important; margin-top: 14px; max-width: 60ch; }
.form-reassure a { text-decoration: underline; }
.contact-form-shell { background: var(--paper) !important; border: 1px solid var(--line) !important; }
.contact-form-shell::before { display: none !important; }
.contact-review, .contact-list__item { border-color: var(--line) !important; }
.contact-list__item span { color: var(--ink-3) !important; }
.contact-list__item strong, .contact-list__item a { color: var(--ink) !important; }

/* ---------- 8. Inner pages (About, Locations, Blog, FAQ, legal) ---------- */
body.inner-page { --color-text-dark: var(--ink); --color-text-mid: var(--ink-2); --color-cream: var(--ivory); }
body.inner-page .page-hero { text-align: center; padding-bottom: 64px; margin-bottom: 48px; background: var(--sand); padding-top: calc(var(--header-h) + 72px); border-bottom: 1px solid var(--line); }
body.inner-page .page-hero__title { font-size: clamp(2.4rem, 4.6vw, 4.2rem); letter-spacing: -.02em; line-height: 1.05; }
body.inner-page .page-hero__subtitle { max-width: 640px; margin: 18px auto 0; color: var(--ink-2); font-size: 1.1rem; }
body.inner-page .value-card, body.inner-page .blog-card, body.inner-page .portfolio-card[style] {
  background: var(--paper) !important; border: 1px solid var(--line) !important; box-shadow: none !important;
}
body.inner-page .portfolio-card[style] h3 { color: var(--ink) !important; }
body.inner-page .portfolio-card[style] p { color: var(--ink-2) !important; }
body.inner-page .portfolio-card[style] span, body.inner-page .portfolio-card[style] a { color: var(--bronze) !important; }
body.inner-page .value-card__title { font-family: var(--font-display); font-size: 1.5rem; }
body.inner-page .philosophy { background: var(--ink); }
body.inner-page .philosophy__quote { color: var(--ivory); }
body.inner-page [style*="background-color: var(--color-white)"] { background: var(--paper) !important; }
body.inner-page .breadcrumb, body.inner-page .breadcrumb a { color: var(--ink-3); }
body.inner-page .breadcrumb-nav { margin-top: var(--header-h) !important; }
body.inner-page .breadcrumb-nav a { color: var(--ink-2) !important; }
body.inner-page .breadcrumb-nav [aria-current] { color: var(--bronze) !important; }
body.inner-page .stat-counter__number { color: var(--bronze); }

@media (min-width: 900px) { body.inner-page .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; } }
body.inner-page .blog-card__image-container { padding-top: 56%; }
body.inner-page .blog-card__content { text-align: left; align-items: flex-start; padding: 28px; gap: 10px; }
body.inner-page .blog-card__title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
body.inner-page .blog-card__meta, body.inner-page .blog-card__link { color: var(--bronze); }
body.inner-page article p, body.inner-page article li { color: var(--ink-2); }

/* ---------- Mobile/tablet recomposition for editorial grids ---------- */
.story-grid__visuals > *, .story-grid__visuals--stack > *, .portfolio-grid > * { min-width: 0; }
@media (max-width: 900px) {
  .story-grid { display: block; }
  .story-grid__text { position: static; }
  .story-grid__visuals { margin-top: 32px; }
  .story-grid__visuals--stack { grid-template-columns: 1fr; }
  .story-grid__visuals--stack .media-frame { aspect-ratio: 4 / 3 !important; }
  .portfolio-band__layout { display: block; }
  .portfolio-grid { margin-top: 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .portfolio-tile--tall, .portfolio-tile--large, .portfolio-tile--wide, .portfolio-tile--square { grid-column: span 1; grid-row: span 1; }
  .service-pair { grid-template-columns: 1fr; }
  .service-slab__media { aspect-ratio: 4 / 3; }
  .signature-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) { .signature-strip { grid-template-columns: 1fr; } }

/* mobile sticky bar: accessible contrast */
.mobile-cta-bar__btn--whatsapp { background: #0d6b3a !important; color: #fff !important; }
.mobile-cta-bar__btn { color: #fff; }

/* ---------- 9. Accessibility / motion ---------- */
:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--bronze) !important; outline-offset: 3px !important; }
.site-footer :focus-visible, .h-studio :focus-visible { outline-color: #d9c27a !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
}


/* ==========================================================================
   v3 BRAND SYSTEM (approved brief): card palette, DD monogram, stronger type,
   no scroll-reveal fades, no gradients, captions beside/below photos.
   ========================================================================== */

/* images always paint (animations.css set content-visibility:auto on every img) */
img { content-visibility: visible !important; }

/* content is always visible: no fade-in on scroll */
.reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
.scroll-progress { display: none !important; }

/* ---- type scale ---- */
body.editorial-page, body.inner-page { font-size: 17px; line-height: 1.65; }
body.editorial-page main p, body.inner-page main p { font-size: 1rem; }
.display-title, .h-hero__title, .page-intro .display-title { font-weight: 500; }
.section-title, .h-title { font-size: clamp(2rem, 3.6vw, 3.25rem); line-height: 1.08; font-weight: 500; letter-spacing: -.015em; }
.section-kicker, .h-label { font-size: 13px !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--bronze); font-weight: 500; }
.section-kicker::before { display: none; }
.lead-copy { font-size: 1.125rem !important; line-height: 1.7; }

/* ---- header: monogram + wordmark ---- */
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--bronze); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; flex: none; color: var(--bronze); }
.brand__name { font-family: var(--font-display); font-weight: 500; font-size: 1.32rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.site-header, .site-header.scrolled, .editorial-page .site-header, .editorial-page .site-header.scrolled { padding: 10px 0 !important; }
.navbar__link, .editorial-page .navbar__link { font-size: 15px !important; letter-spacing: .02em !important; text-transform: none !important; font-weight: 500; }
.navbar__link::after { bottom: -4px; height: 1px; }
.navbar__cta { font-size: 14px !important; }
.btn { font-size: 14px !important; letter-spacing: .04em !important; text-transform: none !important; padding: 15px 26px; min-height: 48px; }
.btn-outline-light { background: transparent; color: var(--ivory) !important; border: 1px solid rgba(245,242,236,.7) !important; }
.btn-outline-light:hover { background: var(--ivory); color: var(--ink) !important; }
@media (max-width: 420px) { .brand__name { font-size: 1.05rem; letter-spacing: .14em; } .brand__mark { width: 34px; height: 34px; } }

/* ---- footer: charcoal like the back of the card ---- */
.site-footer { background: var(--ink) !important; color: rgba(245,242,236,.78); }
.site-footer .brand__mark { width: 56px; height: 56px; color: #b39433; }
.site-footer .brand__name { color: var(--ivory); }
.site-footer a { color: rgba(245,242,236,.86); }
.site-footer a:hover { color: #d9c27a; }
.footer-col__title { color: #d9c27a !important; font-size: 13px !important; letter-spacing: .14em; text-transform: uppercase; }

/* ---- signature: the square frame from the monogram, around key photos ---- */
.framed { position: relative; }
.framed::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--bronze); pointer-events: none; z-index: 0; }
.framed img { position: relative; z-index: 1; }

/* ==== HOME (v3) ==== */
.home-v3 main { overflow: clip; }
.h-label { margin: 0 0 18px; }
.h-section { padding: clamp(72px, 9vw, 128px) 0; }
.h-section--sand { background: var(--sand); }
.h-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px 32px; margin-bottom: clamp(32px, 4vw, 56px); }
.h-head .h-label { grid-column: 1 / -1; margin: 0; }
.h-title { margin: 0; color: var(--ink); max-width: 20ch; }
.h-link { color: var(--bronze) !important; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; white-space: nowrap; }
.h-link:hover { color: var(--bronze-d) !important; }
/* larger tap area for text links without moving the layout */
.h-link, .h-enquire__list a { display: inline-block; padding-block: 11px; margin-block: -11px; }
.h-link--light { color: #d9c27a !important; }
.h-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.h-note { margin-top: 20px; font-size: 14px !important; color: var(--ink-3) !important; }

/* 1. hero */
.h-hero { position: relative; display: grid; padding-bottom: clamp(48px, 6vw, 80px) !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: 1280px; margin: 0 auto; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) clamp(16px, 4vw, 48px) clamp(64px, 8vw, 112px); }
.h-lanterns { position: absolute; top: var(--header-h); left: clamp(16px, 4vw, 48px); width: 92px; height: auto; color: var(--bronze); opacity: .9; }
.h-hero__text { padding-top: 96px; }
.h-hero__title { font-size: clamp(2.75rem, 5.6vw, 5.25rem); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 24px; color: var(--ink); }
.h-hero__title em { color: var(--bronze); font-style: italic; font-weight: 500; }
.h-hero__lead { font-size: 1.15rem !important; max-width: 46ch; color: var(--ink-2); margin: 0; }
.h-hero__media { margin: 14px 0 0 14px; }
.h-hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.h-hero__media .framed img { display: block; }
.h-hero__media figcaption { margin-top: 24px; font-size: 13px; letter-spacing: .04em; color: var(--ink-3); text-align: right; }

/* 2. selected work: one lead image + four */
.h-work { display: grid; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: auto auto; gap: clamp(16px, 2vw, 28px); }
.h-work__item { margin: 0; min-width: 0; }
.h-work__item--lead { grid-row: span 2; }
.h-work__item img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 4 / 5; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.h-work__item a { display: block; overflow: hidden; }
.h-work__item--lead { display: flex; flex-direction: column; }
.h-work__item--lead a { flex: 1 1 auto; min-height: 420px; position: relative; }
.h-work__item--lead img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.h-work__item a:hover img { transform: scale(1.03); }
.h-work__item figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.h-work__item figcaption strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.h-work__item figcaption span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.h-work__item:nth-child(n+2) img { aspect-ratio: 4 / 3; }

/* 3. services: heading column + editorial list */
.h-services { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.h-services__head p { margin: 20px 0 28px; max-width: 42ch; }
.h-services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.h-services__list li { border-bottom: 1px solid var(--line); }
.h-services__list a { display: grid; grid-template-columns: 148px 1fr auto; gap: 24px; align-items: center; padding: 22px 0; color: inherit; text-decoration: none; }
.h-services__list a::after { content: "→"; color: var(--bronze); font-size: 1.4rem; transition: transform .3s; }
.h-services__list a:hover::after { transform: translateX(6px); }
.h-services__list img { width: 148px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.h-services__body { display: grid; gap: 6px; }
.h-services__body strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; line-height: 1.15; color: var(--ink); }
.h-services__body > span { color: var(--ink-2); font-size: 1rem; }

/* 5. studio: charcoal panel with the large monogram */
.h-studio { background: var(--ink); color: rgba(245,242,236,.82); padding: clamp(72px, 9vw, 128px) 0; }
.h-studio__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.h-studio__mark { color: #b39433; max-width: 360px; width: 100%; justify-self: center; }
.h-studio__mark svg { width: 100%; height: auto; display: block; }
body.editorial-page main .h-studio :is(h2, strong) { color: var(--ivory); }
body.editorial-page main .h-studio p { color: rgba(245,242,236,.82); max-width: 58ch; }
body.editorial-page main .h-studio .h-label { color: #d9c27a; }
.h-studio__text .h-title { margin-bottom: 24px; }
.h-studio__text p + p { margin-top: 14px; }

/* 6. FAQ + enquiry */
.h-close { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.h-close .faq-teaser { margin: 28px 0 24px; }
.h-enquire { background: var(--paper); border: 1px solid var(--line); padding: clamp(24px, 3vw, 40px); position: sticky; top: calc(var(--header-h) + 24px); }
.h-enquire__title { font-size: 2rem; font-weight: 500; margin: 0 0 10px; color: var(--ink); }
.h-enquire .btn { width: 100%; margin: 20px 0 8px; }
.h-enquire__list { margin: 16px 0 0; display: grid; gap: 0; }
.h-enquire__list div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.h-enquire__list dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.h-enquire__list dd { margin: 0; color: var(--ink); overflow-wrap: break-word; }
body.editorial-page main .h-enquire__list a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--stone); }

/* ---- home responsive ---- */
@media (max-width: 960px) {
  .h-hero { grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 24px); }
  .h-hero__media { order: -1; margin: 14px 0 0 14px; }
  .h-hero__media img { aspect-ratio: 4 / 3; }
  .h-hero__text { padding-top: 8px; }
  .h-lanterns { display: none; }
  .h-work { grid-template-columns: 1fr 1fr; }
  .h-work__item--lead { grid-column: 1 / -1; grid-row: auto; }
  .h-work__item--lead a { min-height: 0; flex: none; }
  .h-work__item--lead img { position: static; height: auto; aspect-ratio: 4 / 3; }
  .h-services, .h-studio__grid, .h-close { grid-template-columns: 1fr; }
  .h-studio__mark { max-width: 200px; justify-self: start; }
  .h-enquire { position: static; }
}
@media (max-width: 600px) {
  .h-head { grid-template-columns: 1fr; }
  .h-work { grid-template-columns: 1fr; }
  .h-services__list a { grid-template-columns: 96px 1fr; gap: 16px; }
  .h-services__list a::after { display: none; }
  .h-services__list img { width: 96px; }
  .h-actions .btn { width: 100%; }
  .framed::before { inset: -10px 10px 10px -10px; }
}


/* ==== v3.1 UI fixes ==== */

/* footer contact: label sits directly above its value (no stray <br> gap) */
.footer-contact-details p { margin: 0 0 20px; line-height: 1.6; }
.footer-contact-details strong { display: block; margin: 0 0 2px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #d9c27a; }
.footer-contact-details strong + br { display: none; }
.footer-contact-details a { color: rgba(245,242,236,.92); }

/* gallery cards: caption left-aligned under the photo, title first */
.masonry-grid .portfolio-card__info { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 2px; text-align: left; }
.masonry-grid .portfolio-card__title { margin: 0; }
.masonry-grid .portfolio-card__info { opacity: 1 !important; transform: none !important; }
.masonry-grid .portfolio-card, .masonry-grid .portfolio-card:hover { background: transparent !important; box-shadow: none !important; transform: none !important; }

/* "Ask about this design": small chip on the photo's top-right, clear of captions */
.image-inquiry-trigger {
  top: 14px; right: 14px; bottom: auto !important;
  background: var(--paper); color: var(--ink) !important; border: 1px solid var(--line);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; letter-spacing: .02em; text-transform: none;
  box-shadow: none;
}
.image-inquiry-trigger:hover { background: var(--ink); color: var(--ivory) !important; border-color: var(--ink); box-shadow: none; transform: none; }
.image-inquiry-trigger:focus-visible { opacity: 1; transform: none; }
.masonry-grid .portfolio-card__image-wrap { position: relative; }
.masonry-grid .image-inquiry-trigger { top: 14px; }

/* WhatsApp chat: light card in the brand, label never clipped */
.whatsapp-concierge-container { right: 24px; bottom: 24px; }
.whatsapp-concierge-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 18px 40px rgba(47, 47, 47, .14); width: 300px; padding: 22px;
}
.concierge-header { border-bottom: 1px solid var(--line); gap: 14px; }
.concierge-avatar { width: 46px; height: 46px; border-radius: 0; border: 0; display: inline-flex; color: var(--bronze); flex: none; }
.concierge-avatar svg { width: 100%; height: 100%; }
.concierge-name { color: var(--ink); font-size: 1.15rem; }
.concierge-role { color: var(--ink-3); font-size: 12px; letter-spacing: .06em; text-transform: none; }
.concierge-body { color: var(--ink-2); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }
.concierge-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: #0d6b3a !important; color: #fff !important; border: 0 !important; outline: 0;
  border-radius: 0; padding: 14px 16px; font-size: 14px; letter-spacing: .02em; text-transform: none; box-shadow: none !important;
}
.concierge-btn:hover { background: #0a5530 !important; transform: none; }
.whatsapp-concierge-container .whatsapp-float { background: #0d6b3a; color: #fff; animation: none; box-shadow: 0 8px 24px rgba(13, 107, 58, .28); }
.whatsapp-concierge-container .whatsapp-float:hover,
.whatsapp-concierge-container.active .whatsapp-float { width: auto; padding: 0 22px 0 14px; border-radius: 28px; }
.whatsapp-concierge-container .whatsapp-float__label { font-size: 15px; color: #fff; }
@media (max-width: 1024px) { .whatsapp-concierge-container { display: none; } }
