
/* Shared site refinements — responsive header, legal shell, journal and media */
:root {
  --font-size-2xl: clamp(1.45rem, 1.3rem + 0.7vw, 1.75rem);
  --font-size-3xl: clamp(1.75rem, 1.55rem + 0.9vw, 2.2rem);
  --font-size-4xl: clamp(2.15rem, 1.9rem + 1.3vw, 3rem);
  --font-size-base: 0.95rem;
}
img { max-width: 100%; height: auto; }
.hero-title { font-size: var(--font-size-4xl); }
.section-title { font-size: var(--font-size-3xl); }
html { scroll-behavior: smooth; }
html,body { margin:0; max-width:100%; }
body { font-family:var(--font-family-body); }
*,*::before,*::after { box-sizing: border-box; }
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible { outline: 3px solid #ba915e; outline-offset: 3px; }
.iv-site-header { position:sticky; top:0; z-index:1090; width:100%; background:#232a27; }
.iv-top-nav { position:relative; z-index:auto; width:100%; }
.iv-header-bar { display:flex; align-items:center; justify-content:space-between; gap:1.6rem; min-height:80px; padding: 0 clamp(1.1rem,3.3vw,4rem); border-bottom:1px solid rgba(255,255,255,.15); background:#242c29; }
.iv-header-logo { display:inline-flex; align-items:center; gap:.62rem; flex-shrink:0; color:#f5f2ec; font-family:var(--font-family-heading); font-weight:600; font-size:clamp(1.25rem,1.65vw,1.8rem); line-height:1; text-decoration:none; }
.iv-brand-icon { width:34px; height:34px; color:#c8ae90; flex:none; }
.iv-header-links { display:flex; align-items:center; justify-content:center; gap:clamp(.7rem,1.4vw,1.65rem); flex:1 1 auto; }
.iv-header-link { position:relative; color:#f5f2ec; font-family:var(--font-family-body); font-size:clamp(.67rem,.8vw,.8rem); letter-spacing:.095em; font-weight:500; text-transform:uppercase; white-space:nowrap; text-decoration:none; transition:color .2s ease; }
.iv-header-link:hover,.iv-header-link.is-active { color:#dbb897; }
.iv-header-link.is-active::after { content:''; position:absolute; left:0;right:0;bottom:-9px;height:1px;background:#dbb897; }
.iv-header-actions { display:flex; gap:1rem; align-items:center; }
.iv-header-cta { padding:.78rem 1.3rem; background:#987d61; color:#fffaf3; white-space:nowrap; text-transform:uppercase; font-weight:600; font-size:.74rem; letter-spacing:.1em; text-decoration:none; border:1px solid #aa8d71; transition:background .2s ease,transform .2s ease; }
.iv-header-cta:hover { background:#80684e; color:#fff; transform:translateY(-1px); }
.iv-header-cta span { margin-left:.45rem; }
.iv-menu-toggle { display:none; width:44px; height:44px; padding:10px; border:1px solid #9e9d90; background:transparent; border-radius:3px; cursor:pointer; flex-direction:column; align-items:center; justify-content:center; gap:5px; }
.iv-menu-toggle span { display:block; width:21px; height:2px; background:#f5f2ec; transition:transform .2s,opacity .2s; }
.iv-menu-toggle[aria-expanded="true"] span:first-child {transform:translateY(7px) rotate(45deg)}
.iv-menu-toggle[aria-expanded="true"] span:nth-child(2) {opacity:0}
.iv-menu-toggle[aria-expanded="true"] span:last-child {transform:translateY(-7px) rotate(-45deg)}
.iv-mobile-navigation { display:none; }
.iv-mobile-navigation[hidden] { display:none!important; }
.iv-legal-identity { margin-top:1.8rem; padding:1.1rem 1.3rem; border:1px solid rgba(158,144,124,.35); background:rgba(152,125,97,.07); color:inherit; font-size:.81rem; line-height:1.7; overflow-wrap:anywhere; }
.iv-legal-identity-title {font-family:var(--font-family-heading);font-size:1.35rem;font-weight:600;letter-spacing:.02em;margin:0 0 .45rem;}
.iv-legal-identity p { margin:.2rem 0; }
.iv-legal-identity a,.iv-legal-identity a:visited { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.iv-footer-root .iv-legal-identity { margin-top:2.2rem; color:#e9e2d7; max-width:var(--content-max-width); margin-left:auto; margin-right:auto; }
.iv-footer-root .iv-footer-links-group { display:flex; flex-wrap:wrap; }
.iv-footer-root .iv-footer-nav-link { color:inherit; }
.iv-footer-root a:hover .iv-footer-nav-link {color:#d6b998;}
.iv-footer-root a:visited {color:inherit;}
.iv-legal-main { width:100%; background:var(--color-surface); color:var(--color-on-surface); padding:clamp(3rem,6vw,6.5rem) 0; }
.iv-legal-inner { width:min(calc(100% - 2.5rem), 800px); margin:0 auto; }
.iv-legal-eyebrow,.iv-journal-eyebrow { font-size:.75rem; text-transform:uppercase; font-weight:600; letter-spacing:.18em; color:#806c43; }
.iv-legal-main h1,.iv-journal-hero h1 { margin: .6rem 0 1rem; font-family:var(--font-family-heading); font-size:clamp(2.35rem,5.1vw,4.5rem); line-height:1.04; }
.iv-legal-main h2 { margin: 2.1rem 0 .6rem; font-family:var(--font-family-heading); font-size:var(--font-size-3xl); line-height:1.2; }
.iv-legal-main p,.iv-legal-main li { line-height:1.85; font-size:var(--font-size-base); }
.iv-legal-main ul { padding-left:1.5rem; }
.iv-legal-main a,.iv-legal-main a:visited,.iv-journal-main a,.iv-journal-main a:visited {color:#705539;text-decoration:underline;text-underline-offset:3px;}
.iv-legal-main a:hover,.iv-journal-main a:hover {color:#3b2e20;}
.iv-legal-main .iv-legal-identity { border-color:#c7b9a3; }
.iv-legal-main .iv-legal-identity a {color:#705539;}
.iv-legal-intro { max-width:70ch; }
.iv-journal-main { width:100%; background:var(--color-surface);color:var(--color-on-surface); }
.iv-journal-hero { padding:clamp(4rem,8vw,8rem) clamp(1rem,5vw,4rem); background:#eae5db; text-align:center; }
.iv-journal-hero p {max-width:65ch;margin:0 auto;line-height:1.8;}
.iv-journal-content { max-width:var(--content-max-width);margin:auto;padding:4rem 1.2rem 6rem; }
.iv-journal-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.6rem;}
.iv-journal-card {background:#fffdf8;border:1px solid #ded6c8;overflow:hidden;}
.iv-journal-card img {width:100%;height:240px;object-fit:cover;display:block;}
.iv-journal-card-body {padding:1.4rem;}
.iv-journal-card h2 {font-family:var(--font-family-heading);font-size:1.85rem;line-height:1.15;margin:.5rem 0;}
.iv-journal-card p {line-height:1.7;font-size:.94rem;}
.iv-journal-card a {font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;}
.iv-journal-article {margin:3rem 0;padding:2.5rem; background:#fffdf8;border-left:3px solid #987d61;scroll-margin-top:150px;}
.iv-journal-article h2 {font-family:var(--font-family-heading);font-size:var(--font-size-3xl);margin:.3rem 0 1rem;}
.iv-journal-article p {line-height:1.85;max-width:85ch;}
.iv-journal-article h3 {font-size:1.12rem;margin:1.6rem 0 .3rem;}
.iv-journal-guide-links {display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:2.4rem;}
#iv-enquiry-status {display:block;margin-top:.7rem;font-size:.83rem;line-height:1.5;}
@media(max-width:1090px){
  .iv-header-links {display:none;}
  .iv-menu-toggle {display:flex;}
  .iv-mobile-navigation:not([hidden]) {display:block;position:absolute;top:100%;left:0;right:0;z-index:1098;background:#242c29;color:#f5f2ec;box-shadow:0 14px 25px #0005;max-height:calc(100dvh - 90px);overflow:auto;padding:1.4rem clamp(1rem,4vw,3rem) 2rem;}
  .iv-mobile-links {display:grid;grid-template-columns:1fr 1fr;gap:.4rem 1rem;}
  .iv-mobile-link {display:block;color:#f5f2ec!important;text-decoration:none!important;border-bottom:1px solid #ffffff25;padding:.9rem 0;font-family:var(--font-family-heading);font-size:1.5rem;}
  .iv-mobile-link.is-active {color:#dbb897!important;}
  .iv-mobile-tagline {font-size:.8rem;letter-spacing:.07em;text-transform:uppercase;color:#ccb49a;margin-top:1.8rem;}
}
@media(max-width:767px){
 .hero-section,.hero-title,.section-title { overflow-wrap:anywhere;word-break:break-word;white-space:normal; }
 .iv-header-bar {min-height:70px;gap:.5rem;padding:0 1rem;}
 .iv-brand-icon {width:25px;height:25px;}
 .iv-header-logo {font-size:1.26rem;}
 .iv-header-cta {display:none;}
 .iv-mobile-links {grid-template-columns:1fr;}
 .iv-journal-grid {grid-template-columns:1fr;}
 .iv-journal-card img {height:220px;}
 .iv-journal-content {padding:3rem 1rem;}
 .iv-journal-article {padding:1.3rem;}
 .iv-legal-inner {width:calc(100% - 2rem);}
 .iv-footer-root .iv-legal-identity {margin-left:1rem;margin-right:1rem;}
 .iv-legal-sep {display:none;}
}
@media(min-width:768px) and (max-width:1100px){.iv-journal-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.iv-design-notes {background:#eae5db;color:#252723;padding:clamp(3.5rem,6vw,6rem) 1.1rem;}
.iv-design-notes-inner {max-width:var(--content-max-width);margin:0 auto;}
.iv-design-notes-heading {max-width:60ch;margin-bottom:2.7rem;}
.iv-design-notes-heading span {font-size:.74rem;letter-spacing:.16em;font-weight:650;color:#806c43;}
.iv-design-notes-heading h2 {font-family:var(--font-family-heading);font-size:var(--font-size-3xl);line-height:1.2;margin:.8rem 0;}
.iv-design-notes-heading p {line-height:1.7;}
.iv-design-notes-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 3rem;}
.iv-design-note {border-top:1px solid #bdb3a4;padding-top:1rem;}
.iv-design-note h3 {font-family:var(--font-family-heading);font-size:1.6rem;line-height:1.2;margin:0 0 .7rem;}
.iv-design-note p {font-size:.94rem;line-height:1.85;margin:0;}
.iv-notes-link,.iv-notes-link:visited {display:inline-block;margin-top:2.5rem;color:#705539;font-weight:600;text-underline-offset:4px;}
@media(max-width:767px){.iv-design-notes-grid{grid-template-columns:1fr;gap:1.5rem}}

.iv-email-draft-link,.iv-email-draft-link:visited {display:inline-block;margin:.7rem .65rem 0 0;background:#806c43;color:#fffaf3!important;padding:.5rem .8rem;text-decoration:none!important;border-radius:3px;}
.iv-email-draft-link:hover {background:#675634;color:#fff!important;}
.iv-copy-draft-btn {font:inherit;font-size:.78rem;padding:.5rem .8rem;border:1px solid #806c43;background:transparent;color:#252723;cursor:pointer;border-radius:3px;}
