/* Targeted responsive corrections. No new horizontal clipping or page translation. */
html[data-tamaruva-layout="14"]{
  --tamaruva-header-height:72px;
  --tamaruva-mobile-gutter:max(24px,env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));
  scroll-padding-top:calc(var(--tamaruva-header-height) + 16px);
}
html[data-tamaruva-layout="14"] main [id]{scroll-margin-top:calc(var(--tamaruva-header-height) + 16px);}
html[data-tamaruva-layout="14"] main :is(h1,h2,h3,h4,p,li,dd,dt){overflow-wrap:break-word;}
html[data-tamaruva-layout="14"] main .grid>*{min-width:0;}
html[data-tamaruva-layout="14"] :is(
  [code-path="src/components/PageHero.tsx:49:7"],
  [code-path="src/pages/ArticlePage.tsx:78:9"],
  [code-path="src/pages/Transfers.tsx:187:9"]
){box-sizing:border-box;min-width:0;padding-top:calc(var(--tamaruva-header-height) + 28px);}
html[data-tamaruva-layout="14"] [code-path="src/pages/Signature.tsx:80:7"]{
  padding-top:calc(var(--tamaruva-header-height) + 32px);padding-bottom:40px;
}
html[data-tamaruva-layout="14"] [code-path="src/pages/ArticlePage.tsx:75:7"]{height:auto;min-height:max(420px,62svh);}
html[data-tamaruva-layout="14"] [code-path="src/pages/ArticlePage.tsx:78:9"]{height:auto;min-height:max(420px,62svh);}
html[data-tamaruva-layout="14"] :is(
  [code-path="src/pages/Contact.tsx:160:7"],
  [code-path="src/pages/Corridor.tsx:8:5"]
){padding-top:var(--tamaruva-header-height);}
/* Stop CSS/inline photo transforms without disturbing Leaflet's positioned map images. */
html[data-tamaruva-layout="14"] main img[code-path],
html[data-tamaruva-layout="14"] main img[data-editorial-media],
html[data-tamaruva-layout="14"] main [data-media-static],
html[data-tamaruva-layout="14"] main [data-parallax],
html[data-tamaruva-layout="14"] main .hero-stable-frame,
html[data-tamaruva-layout="14"] main .hero-grow{
  transform:none!important;animation:none!important;will-change:auto!important;
  transition-property:opacity,filter!important;
}
/* Signature: real photographs in ordinary document flow, with no weather simulation. */
html[data-tamaruva-layout="14"] [data-rain-passage="natural"]{position:relative;background:var(--forest-950);}
html[data-tamaruva-layout="14"] .rp-natural-intro{
  max-width:1000px;margin-inline:auto;padding:clamp(32px,6vw,72px) 24px 36px;text-align:center;
}
html[data-tamaruva-layout="14"] .rp-natural-intro h2{
  margin:0;font-size:clamp(2.4rem,6vw,5.4rem);line-height:1.05;
}
html[data-tamaruva-layout="14"] .rp-natural-audio{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:48px;max-width:100%;padding:10px 14px;margin:26px auto 0;
  border:1px solid rgba(200,168,90,.45);color:var(--ivory);font-size:10px;letter-spacing:.22em;text-transform:uppercase;
}
html[data-tamaruva-layout="14"] .rp-natural-audio:focus-visible{outline:2px solid var(--gold);outline-offset:5px;}
html[data-tamaruva-layout="14"] .rp-natural-audio-icon{display:inline-flex;align-items:center;width:16px;min-width:16px;}
html[data-tamaruva-layout="14"] .rp-natural-frame{margin:0;}
html[data-tamaruva-layout="14"] .rp-natural-image{
  display:block;width:100%;height:auto;aspect-ratio:24/10;object-fit:cover;
}
html[data-tamaruva-layout="14"] .rp-natural-caption{
  padding:28px 24px 38px;text-align:center;color:var(--ivory);font-size:clamp(1.5rem,3.2vw,2.6rem);line-height:1.3;
}
html[data-tamaruva-layout="14"] .rp-natural-caption p{margin:0;}
@media(max-width:767px){
  /* Match the existing 24px content gutter; fix overflowing children at their source. */
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/components/Navigation.tsx:43:9"],
    [code-path="src/components/Navigation.tsx:95:9"],
    [code-path="src/components/Navigation.tsx:116:11"]
  ){padding-inline:var(--tamaruva-mobile-gutter);}
  html[data-tamaruva-layout="14"] main[class~="px-6"],
  html[data-tamaruva-layout="14"] main [class~="px-6"]{padding-inline:var(--tamaruva-mobile-gutter);}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:118:15"]{gap:12px;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:127:17"]{min-width:0;overflow-wrap:anywhere;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:133:17"]{flex-shrink:0;}
  html[data-tamaruva-layout="14"] :is(main,[role="dialog"]) :is(.btn-t,.btn-gold){
    box-sizing:border-box;min-width:0;max-width:100%;height:auto;
    min-height:48px;padding:14px 16px;white-space:normal;overflow-wrap:anywhere;
    line-height:1.5;text-align:center;
  }
  html[data-tamaruva-layout="14"] main .t-eyebrow{line-height:1.8;letter-spacing:.22em;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Home.tsx:48:9"]{
    padding-top:max(104px,calc(var(--tamaruva-header-height) + 24px));
  }
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/pages/Home.tsx:58:11"],
    [code-path="src/components/PageHero.tsx:62:9"]
  ){display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0;}
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/pages/Home.tsx:58:11"],
    [code-path="src/components/PageHero.tsx:62:9"]
  )>.btn-t{width:100%;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Signature.tsx:97:9"]{
    flex-wrap:wrap;column-gap:14px;row-gap:10px;line-height:1.8;letter-spacing:.2em;
  }
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:206:11"]{gap:12px;min-width:0;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:214:13"]{
    flex:1;min-width:0;max-width:280px;gap:clamp(4px,1.7vw,10px);
  }
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:214:13"]>span{flex:1;min-width:0;width:auto;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:219:13"]{flex-shrink:0;white-space:nowrap;letter-spacing:.16em;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:692:11"]{grid-template-columns:minmax(0,1fr) minmax(0,2fr);}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:692:11"]>*{grid-column:auto;min-width:0;overflow-wrap:anywhere;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Experiences.tsx:169:13"]{gap:12px;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Experiences.tsx:169:13"]>*:first-child{min-width:0;}
  html[data-tamaruva-layout="14"] [code-path="src/pages/Experiences.tsx:169:13"]>button{flex-shrink:0;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Postcard.tsx:132:9"]{
    display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;
  }
  html[data-tamaruva-layout="14"] [code-path="src/components/Postcard.tsx:132:9"]>button{min-width:0;max-width:100%;white-space:normal;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Postcard.tsx:132:9"]>button:last-child{grid-column:1/-1;justify-self:center;}
  html[data-tamaruva-layout="14"] .rp-natural-intro{padding-inline:var(--tamaruva-mobile-gutter);}
  html[data-tamaruva-layout="14"] .rp-natural-image{aspect-ratio:4/3;}
  html[data-tamaruva-layout="14"] .rp-natural-caption{padding-inline:var(--tamaruva-mobile-gutter);}
}
@media(prefers-reduced-motion:reduce){
  html[data-tamaruva-layout="14"]{scroll-behavior:auto;}
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/components/DayCycle.tsx:123:5"],
    [code-path="src/components/CanopyDescent.tsx:92:5"]
  ){height:100svh;min-height:640px;}
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/components/DayCycle.tsx:124:7"],
    [code-path="src/components/CanopyDescent.tsx:93:7"]
  ){position:relative;top:auto;height:100%;}
  html[data-tamaruva-layout="14"] :is(
    [code-path="src/components/DayCycle.tsx:156:9"],
    [code-path="src/components/DayCycle.tsx:167:9"]
  ){display:none;}
}

/* R15 navigation: nine readable destinations; compact menu below1600px.
   Scoped to the principal navigation, without changing global breakpoints. */
@media(max-width:1599.98px){
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:52:11"]{display:none!important;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:72:11"]{display:flex!important;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:86:7"]{display:block!important;}
}
@media(min-width:1600px){
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:52:11"]{display:flex!important;gap:20px;}
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:72:11"],
  html[data-tamaruva-layout="14"] [code-path="src/components/Navigation.tsx:86:7"]{display:none!important;}
}
/* Transfers service information is an explicit light surface. These rules must
   outrank the palette utilities, which include an html+attribute selector. */
html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:292:7"]{
  --preview-text:#12372c;--preview-text-rgb:18 55 44;--ivory:#12372c;
  --gold-light:#806b35;--gold:#806b35;
  color:#12372c;background:#f5f5f1;
}
html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:292:7"] :is(p,li,dd,dt){color:#52665b!important;}
html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:292:7"] :is(span,strong,a){color:#12372c!important;}
html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:292:7"] .t-eyebrow,
html[data-tamaruva-layout="14"] [code-path="src/pages/Transfers.tsx:292:7"] [class*="text-[var(--gold-light)]"]{color:#806b35!important;}

/* Footer and legal review20 */
/* Footer marks keep the exact original identities on a quiet light surface. */
.t-footer-marks{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;max-width:340px;gap:16px;margin-top:24px;padding:16px;border:1px solid rgba(200,168,90,.22);border-radius:2px;background:#f6f4ee}
.t-footer-marks .t-footer-marks__item{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-width:0;height:72px;padding:4px}
.t-footer-marks .t-footer-marks__item img{display:block;width:auto;height:auto;max-width:min(100%,135px);max-height:64px;object-fit:contain;filter:none}
/* Legal information is readable porcelain, independent of image palette roles. */
html[data-tamaruva-layout="14"] .t-legal-intro{padding:calc(var(--tamaruva-header-height) + 64px) max(24px,calc((100vw - 880px)/2)) 40px;background:#f5f5f1;color:#12372c}
html[data-tamaruva-layout="14"] .t-legal-intro h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.6rem,5vw,4rem);font-weight:400;line-height:1.08;margin:18px 0}
html[data-tamaruva-layout="14"] .t-legal-intro p{font-size:14px;line-height:1.8;color:#52665b!important}
html[data-tamaruva-layout="14"] .t-legal-intro .t-eyebrow{color:#806b35!important}
html[data-tamaruva-layout="14"] .t-legal-intro nav{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:26px;font-size:13px}
html[data-tamaruva-layout="14"] .t-legal-intro a{color:#12372c!important;text-decoration:underline;text-underline-offset:4px}
html[data-tamaruva-layout="14"] [data-legal-page="true"]{background:#f5f5f1!important;color:#12372c!important;padding-top:24px;padding-bottom:80px}
html[data-tamaruva-layout="14"] [data-legal-page="true"] :is(h2,h3){color:#12372c!important}
html[data-tamaruva-layout="14"] [data-legal-page="true"] :is(p,li){color:#52665b!important;font-size:15px;line-height:1.9}
html[data-tamaruva-layout="14"] [data-legal-page="true"] a{color:#725d29!important;text-decoration:underline;text-underline-offset:4px}
html[data-tamaruva-layout="14"] [data-legal-page="true"] h2>span{color:#806b35!important}
.t-legal-translation{border-top:1px solid #d7ddd6;padding-top:26px}
.t-legal-translation summary{cursor:pointer;font-size:15px;color:#12372c;min-height:44px;display:list-item;line-height:2}
.t-legal-translation h2{margin:28px 0;font:36px/1.2 'Cormorant Garamond',serif}
.t-legal-translation h3{font:26px/1.3 'Cormorant Garamond',serif;margin:26px 0 14px}
.t-legal-translation p{margin-bottom:16px}
.t-legal-fallback{max-width:880px;margin:32px auto;padding:24px;background:#f5f5f1;color:#12372c;font:16px/1.8 sans-serif}
.t-legal-fallback h2{margin-top:32px}.t-legal-fallback a{color:#12372c;text-decoration:underline}
@media(max-width:767px){html[data-tamaruva-layout="14"] .t-legal-intro{padding-top:calc(var(--tamaruva-header-height) + 32px)}.t-footer-marks{max-width:340px}}

/* Footer native links R21 */
/* Compact adaptation of Our Seal's Website / Instagram links. */
.t-footer-marks .t-footer-marks__item--linked{height:auto;min-width:0;display:grid;grid-template-rows:72px auto;gap:2px;padding:0}
:is(#footer,footer) .t-footer-marks a{box-sizing:border-box;color:#12372c;letter-spacing:0;text-transform:none;text-decoration:none}
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo{display:flex;align-items:center;justify-content:center;width:100%;height:72px;min-height:44px;border-radius:2px;transition:background-color .2s ease}
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo:hover{background:rgba(200,168,90,.1)}
:is(#footer,footer) .t-footer-marks a:focus-visible{outline:2px solid #806b35;outline-offset:3px}
.t-footer-marks .t-footer-marks__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:0 8px;min-width:0}
:is(#footer,footer) .t-footer-marks .t-footer-marks__actions a{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:32px;padding:2px 0;color:#52665b;font:400 10px/1.4 Inter,Arial,sans-serif;white-space:normal}
:is(#footer,footer) .t-footer-marks .t-footer-marks__actions a:hover{color:#12372c;text-decoration:underline;text-underline-offset:3px}
@media(prefers-reduced-motion:reduce){:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo{transition:none}}

/* Footer original colours R22 */
/* Original partner colours; open footer composition, no shared light box. */
.t-footer-marks{padding:0;border:0;border-radius:0;background:transparent}
.t-footer-marks .t-footer-marks__item img{filter:none;opacity:1;transition:none}
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo,
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo:hover{background:transparent;transition:none;box-shadow:none}
:is(#footer,footer) .t-footer-marks a:focus-visible{outline-color:#e0c77f}
:is(#footer,footer) .t-footer-marks .t-footer-marks__actions a{color:#cbd3cd}
:is(#footer,footer) .t-footer-marks .t-footer-marks__actions a:hover{color:#e0c77f}
/* Only Selva Green needs a small quiet surface to preserve its dark lettering. */
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo[href="https://www.selvagreen.com/"],
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo[href="https://www.selvagreen.com/"]:hover{width:112px;max-width:100%;height:72px;margin-inline:auto;padding:6px;border:0;border-radius:2px;background:#f6f4ee;box-shadow:none}
:is(#footer,footer) .t-footer-marks a.t-footer-marks__logo[href="https://www.selvagreen.com/"] img{max-width:100%;max-height:60px}

/* Gallery system cursor R23 */
/* Native modal galleries occupy the browser top layer, above the decorative
   magnetic cursor. Restore the system pointer only inside an open gallery. */
:is(dialog.t-transfer-lightbox,dialog#lightbox.lightbox)[open],
:is(dialog.t-transfer-lightbox,dialog#lightbox.lightbox)[open] *,
:is(dialog.t-transfer-lightbox,dialog#lightbox.lightbox)[open]::backdrop{cursor:auto!important}
:is(dialog.t-transfer-lightbox,dialog#lightbox.lightbox)[open] :is(button,a,[role="button"]),
:is(dialog.t-transfer-lightbox,dialog#lightbox.lightbox)[open] :is(button,a,[role="button"]) *{cursor:pointer!important}
