:root {
  --cream: #f6f3ec;
  --paper: #fcfaf5;
  --petrol: #123a3b;
  --petrol-deep: #0b2d2e;
  --sage: #a8b7a1;
  --sage-pale: #dce3d8;
  --stone: #d8cec0;
  --clay: #b78168;
  --ink: #173738;
  --muted: #667573;
  --line: rgba(18, 58, 59, 0.16);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --shell: min(1280px, calc(100vw - 80px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::selection { background: var(--sage); color: var(--petrol-deep); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: border-color 250ms ease, background 250ms ease;
}
.site-header:hover { border-bottom-color: var(--line); }
.header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.brand { display: flex; flex-direction: column; line-height: 1; flex: none; }
.brand-name { font-size: 28px; letter-spacing: .25em; font-weight: 500; }
.brand-role { margin-top: 11px; color: #6f806c; font-size: 12px; letter-spacing: .29em; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.1vw, 36px); }
.desktop-nav a { position: relative; padding: 13px 0; font-size: 15px; font-weight: 500; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 4px;
  height: 2px;
  background: var(--petrol);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; font-weight: 600; letter-spacing: .05em; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary span,
.mobile-nav summary span::before,
.mobile-nav summary span::after {
  content: ""; display: inline-block; width: 22px; height: 1.5px; background: var(--petrol); margin-right: 10px; vertical-align: middle;
}
.mobile-nav summary span { position: relative; }
.mobile-nav summary span::before { position: absolute; top: -6px; left: 0; }
.mobile-nav summary span::after { position: absolute; top: 6px; left: 0; }
.mobile-nav nav {
  position: absolute; right: 0; top: 42px; width: min(320px, calc(100vw - 40px));
  padding: 18px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 22px 60px rgba(18,58,59,.15);
  display: grid;
}
.mobile-nav nav a { padding: 11px 8px; border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  color: #6f806c;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.light { color: #ccd7c8; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 0 30px;
  border: 1px solid var(--petrol);
  border-radius: 7px;
  background: var(--petrol);
  color: white;
  font-weight: 650;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(18, 58, 59, .12);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}
.button:hover { transform: translateY(-2px); background: #245152; box-shadow: 0 17px 36px rgba(18, 58, 59, .18); }
.button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--clay); outline-offset: 4px; }
.button-light { background: var(--cream); color: var(--petrol); border-color: var(--cream); }
.button-light:hover { background: white; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  color: var(--clay);
  border-bottom: 1px solid currentColor;
  font-weight: 600;
}
.text-link span { transition: transform 220ms ease; }
.text-link:hover span { transform: translateX(5px); }

.home-hero { overflow: hidden; background: var(--cream); }
.home-hero-grid { display: grid; grid-template-columns: 52% 48%; min-height: 645px; }
.hero-copy { position: relative; z-index: 2; padding: 80px 64px 56px 6px; }
.hero-eyebrow { margin-bottom: 22px; }
.hero-copy h1,
.page-intro h1,
.article-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero-copy h1 { max-width: 740px; font-size: clamp(60px, 6.4vw, 93px); }
.hero-copy > p { max-width: 520px; margin: 29px 0 29px; font-size: 21px; line-height: 1.7; }
.hero-location { margin-top: 34px; color: var(--muted); font-size: 14px; }
.hero-location i { margin-right: 10px; color: #74896f; font-size: 22px; font-style: normal; }
.hero-visual { position: relative; min-width: 0; overflow: hidden; border-radius: 180px 0 0 0; }
.hero-visual::before { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(246,243,236,.5), transparent 18%); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); animation: heroImage 1200ms cubic-bezier(.22,1,.36,1) both; }
.botanical { position: absolute; z-index: 3; background: rgba(168,183,161,.25); filter: blur(.1px); transform-origin: bottom center; }
.botanical-one { left: -9%; bottom: -12%; width: 220px; height: 390px; border-radius: 90% 8% 90% 8%; transform: rotate(-28deg); }
.botanical-two { left: 6%; bottom: 3%; width: 135px; height: 260px; border-radius: 90% 8% 90% 8%; transform: rotate(24deg); background: rgba(216,206,192,.3); }
.trust-strip { border-top: 1px solid rgba(18,58,59,.08); background: rgba(255,255,255,.26); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { min-height: 132px; padding: 28px 42px; display: flex; align-items: center; gap: 20px; border-right: 1px solid var(--line); }
.trust-grid > div:first-child { padding-left: 0; }
.trust-grid > div:last-child { border-right: 0; }
.trust-grid span { width: 55px; height: 55px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--sage-pale); font-size: 25px; }
.trust-grid p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.trust-grid strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 16px; }

.section { padding-block: 120px; }
.section-heading { display: grid; grid-template-columns: 1.2fr .75fr; gap: 100px; align-items: end; margin-bottom: 62px; }
.section-heading h2,
.about-copy h2,
.contact-band h2,
.site-footer h2,
.contact-details h2 {
  margin: 13px 0 0;
  white-space: pre-line;
  font-family: var(--serif);
  font-size: clamp(46px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.section-heading-aside { padding-bottom: 7px; }
.section-heading-aside p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; min-height: 330px; padding: 38px 42px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background 300ms ease, transform 300ms ease; }
.service-card:hover { z-index: 2; background: var(--sage-pale); }
.service-card > span { color: #7c8c78; font-size: 12px; letter-spacing: .18em; }
.service-card h3 { max-width: 440px; margin: 46px 0 18px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.15; }
.service-card p { max-width: 500px; margin: 0; color: var(--muted); }
.service-card > a { position: absolute; right: 36px; bottom: 32px; width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform 250ms ease, background 250ms ease; }
.service-card:hover > a { transform: rotate(45deg); background: var(--petrol); color: white; }

.about-feature { padding-block: 105px; background: #e5e6dc; overflow: hidden; }
.about-feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.about-portrait { position: relative; min-height: 570px; display: grid; place-items: center; background: var(--sage); border-radius: 52% 48% 12px 12px; overflow: hidden; }
.about-portrait::before,
.about-portrait::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(246,243,236,.55); }
.about-portrait::before { width: 380px; height: 380px; }
.about-portrait::after { width: 520px; height: 520px; }
.portrait-monogram { position: relative; z-index: 1; font-family: var(--serif); font-size: 170px; color: var(--petrol); letter-spacing: -.25em; transform: translateX(-20px); }
.portrait-monogram span { color: var(--cream); }
.about-portrait p { position: absolute; z-index: 2; right: 32px; bottom: 22px; padding: 16px 20px; background: var(--cream); font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.about-copy { max-width: 610px; }
.about-copy h3 { margin: 12px 0 32px; color: #70806d; font-size: 13px; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.about-copy p { color: #4f6664; font-size: 17px; }
.about-copy .text-link { margin-top: 14px; }

.books-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.book-card { min-width: 0; }
.book-cover { aspect-ratio: 4 / 5.2; padding: 34px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, var(--sage-pale), #ece7dd); transition: transform 320ms ease, box-shadow 320ms ease; }
.book-cover:hover { transform: translateY(-7px); box-shadow: 0 28px 55px rgba(18,58,59,.13); }
.book-cover img { width: 78%; height: 100%; object-fit: contain; filter: drop-shadow(0 15px 17px rgba(18,58,59,.2)); }
.book-cover > span { font-family: var(--serif); font-size: 88px; color: rgba(18,58,59,.25); }
.post-date { display: block; margin-top: 25px; color: #788575; font-size: 11px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.book-card h3, .post-card h3 { margin: 9px 0 12px; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.2; }
.book-card h3 a:hover, .post-card h3 a:hover { color: var(--clay); }
.book-card p, .post-card p { margin: 0; color: var(--muted); }

.event-section { padding-block: 72px; background: var(--petrol); color: var(--cream); }
.event-grid { display: grid; grid-template-columns: 170px 1fr auto; gap: 60px; align-items: center; }
.event-date { padding-right: 45px; border-right: 1px solid rgba(255,255,255,.2); font-family: var(--serif); font-size: 66px; line-height: .65; text-align: center; }
.event-date small { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .24em; }
.event-date em { font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: .18em; }
.event-grid h2 { margin: 8px 0 0; font-family: var(--serif); font-size: clamp(42px, 5vw, 70px); font-weight: 500; line-height: 1; }
.event-grid p { margin: 9px 0 0; color: var(--sage-pale); font-size: 18px; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 28px; }
.post-card-image { aspect-ratio: 1.55; display: block; overflow: hidden; background: var(--sage-pale); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform 650ms cubic-bezier(.22,1,.36,1), filter 350ms ease; }
.post-card-image:hover img { transform: scale(1.045); filter: saturate(.95); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 72% 18%, #f7f1e7 0 18%, transparent 19%), linear-gradient(135deg, #dce3d8, #c8d1c1); }
.image-placeholder i { font-family: var(--serif); font-size: 68px; font-style: normal; color: rgba(18,58,59,.22); }
.post-card-body { padding-right: 10px; }
.post-card p { min-height: 52px; font-size: 14px; }
.post-card .text-link { margin-top: 14px; font-size: 14px; }

.contact-band { padding-block: 95px; background: var(--petrol); color: var(--cream); }
.contact-band-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; }
.contact-band h2 { max-width: 740px; font-size: clamp(48px, 5.6vw, 78px); }
.contact-band p { margin: 0 0 24px; color: #ced9ce; font-size: 17px; }
.light-link { color: #e5d5c9; }

.site-footer { padding: 88px 0 25px; background: var(--petrol-deep); color: #e9eee6; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .55fr .8fr; gap: 90px; padding-bottom: 80px; }
.site-footer h2 { max-width: 640px; margin-bottom: 34px; font-size: clamp(40px, 4vw, 60px); }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; padding-top: 6px; }
.footer-column h3 { margin: 0 0 14px; color: #91a48c; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.footer-column a:hover { color: white; text-decoration: underline; text-underline-offset: 5px; }
.footer-column span { color: #aab7ab; }
.footer-bottom { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: #8fa094; font-size: 12px; letter-spacing: .08em; }

.page-intro { position: relative; padding: 95px 0 105px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-intro-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .45fr 1.55fr; gap: 60px; align-items: start; }
.page-intro h1 { font-size: clamp(68px, 8vw, 118px); }
.page-intro p { max-width: 690px; margin: 28px 0 0; color: var(--muted); font-size: 20px; }
.leaf-shape { position: absolute; z-index: 1; border-radius: 90% 8% 90% 8%; background: rgba(168,183,161,.2); }
.leaf-a { right: 9%; top: -55px; width: 210px; height: 370px; transform: rotate(30deg); }
.leaf-b { right: -3%; bottom: -110px; width: 280px; height: 470px; transform: rotate(65deg); background: rgba(216,206,192,.22); }
.content-section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 60px; padding-block: 95px 120px; }
.content-lead-image { max-height: 540px; overflow: hidden; }
.content-lead-image img { width: 100%; height: 100%; object-fit: cover; }
.wp-content { max-width: 920px; margin-inline: auto; color: #405958; font-family: var(--serif); font-size: 20px; line-height: 1.85; }
.wp-content > *:first-child { margin-top: 0; }
.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4 {
  margin: 2.2em 0 .65em; color: var(--petrol); font-family: var(--serif); font-weight: 500; line-height: 1.16;
}
.wp-content h1 { font-size: 48px; }
.wp-content h2 { font-size: 40px; }
.wp-content h3 { font-size: 30px; }
.wp-content p { margin: 1.15em 0; }
.wp-content strong { color: var(--petrol); font-weight: 700; }
.wp-content ul, .wp-content ol { padding-left: 1.25em; }
.wp-content li { margin: .55em 0; }
.wp-content blockquote { margin: 2em 0; padding: 24px 32px; border-left: 3px solid var(--clay); background: var(--paper); font-size: 25px; }
.wp-content img { width: auto; max-width: 100%; height: auto; margin: 35px auto; }
.wp-content figure { max-width: 100% !important; margin: 35px auto; }
.wp-content figcaption { color: var(--muted); font-family: var(--sans); font-size: 13px; text-align: center; }
.wp-content .content-link { color: var(--clay); text-decoration: underline; text-underline-offset: 4px; }
.wp-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; }
.wp-content td, .wp-content th { padding: 12px; border: 1px solid var(--line); }

.article-hero { padding: 70px 0 85px; background: #e6eadf; }
.article-hero-inner { max-width: 960px; }
.back-link { display: inline-block; margin-bottom: 60px; color: var(--muted); font-size: 14px; }
.article-hero h1 { max-width: 1000px; margin-top: 14px; font-size: clamp(56px, 7vw, 96px); }
.article-hero time { display: block; margin-top: 28px; color: var(--muted); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 100px; align-items: start; padding-block: 95px 125px; }
.article-content { margin: 0; }
.article-aside { position: sticky; top: 145px; padding: 30px; background: var(--sage-pale); }
.article-aside h2 { margin: 12px 0 25px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.2; }
.article-aside .button { min-height: 52px; padding-inline: 18px; font-size: 14px; }

.archive-meta { display: flex; justify-content: space-between; align-items: end; margin-bottom: 48px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); }
.archive-meta p { margin: 0; }
.archive-meta strong { color: var(--petrol); font-family: var(--serif); font-size: 44px; font-weight: 500; }
.archive-grid { row-gap: 70px; }
.publication-intro { max-width: 850px; margin: 0 auto 95px; font-family: var(--serif); font-size: 23px; line-height: 1.75; }
.dropcap::first-letter { float: left; margin: 10px 10px 0 0; color: var(--clay); font-size: 92px; line-height: .7; }
.books-archive { row-gap: 85px; }
.books-archive .book-card .text-link { margin-top: 14px; font-size: 14px; }

.contact-page { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; padding-block: 100px 125px; }
.contact-details { padding: 35px 40px 35px 0; }
.contact-details h2 { font-size: 56px; }
.contact-details > p { color: var(--muted); }
.contact-list { margin-top: 45px; border-top: 1px solid var(--line); }
.contact-list a { display: flex; flex-direction: column; gap: 4px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.contact-list small { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.contact-list strong { font-weight: 550; }
.contact-form { padding: 52px; background: var(--paper); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 24px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #a9b2aa; background: transparent; color: var(--petrol); font-size: 16px; outline: none; text-transform: none; transition: border-color 200ms ease, background 200ms ease; }
.contact-form input { height: 48px; }
.contact-form textarea { padding-top: 12px; border: 1px solid #b8c0b8; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--petrol); background: rgba(220,227,216,.25); }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.reveal { animation: reveal 650ms cubic-bezier(.22,1,.36,1) both; animation-delay: var(--delay, 0ms); }
@supports (animation-timeline: view()) {
  .reveal { animation-timeline: view(); animation-range: entry 5% cover 32%; animation-delay: 0ms; }
}
@keyframes reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroImage { from { opacity: 0; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 50px, 980px); }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .home-hero-grid { grid-template-columns: 56% 44%; }
  .hero-copy { padding-top: 62px; }
  .trust-grid > div { padding-inline: 24px; }
  .section-heading { gap: 50px; }
  .about-feature-grid { gap: 60px; }
  .footer-grid { grid-template-columns: 1.3fr .6fr .85fr; gap: 45px; }
  .article-layout { gap: 55px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 36px); }
  .header-inner { min-height: 85px; }
  .brand-name { font-size: 21px; }
  .brand-role { margin-top: 8px; font-size: 9px; }
  .mobile-nav summary { font-size: 13px; }
  .home-hero-grid { width: 100%; grid-template-columns: 1fr; }
  .hero-copy { padding: 58px 18px 48px; }
  .hero-copy h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-copy > p { font-size: 18px; }
  .hero-visual { min-height: 440px; border-radius: 100px 0 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div, .trust-grid > div:first-child { min-height: auto; padding: 22px 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 42px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 290px; padding: 30px 26px; }
  .about-feature { padding-block: 70px; }
  .about-feature-grid { grid-template-columns: 1fr; gap: 55px; }
  .about-portrait { min-height: 450px; }
  .portrait-monogram { font-size: 135px; }
  .books-grid, .posts-grid { grid-template-columns: 1fr; gap: 60px; }
  .book-cover { max-height: 520px; }
  .event-grid { grid-template-columns: 92px 1fr; gap: 24px; }
  .event-date { padding-right: 22px; font-size: 48px; }
  .event-grid .button { grid-column: 1 / -1; width: 100%; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 55px 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-bottom { gap: 20px; flex-direction: column; }
  .page-intro { padding: 66px 0 75px; }
  .page-intro-grid { grid-template-columns: 1fr; gap: 22px; }
  .page-intro h1 { font-size: 66px; }
  .page-intro p { font-size: 17px; }
  .content-section { padding-block: 70px 90px; }
  .wp-content { font-size: 18px; line-height: 1.78; }
  .wp-content h1 { font-size: 38px; }
  .wp-content h2 { font-size: 33px; }
  .wp-content h3 { font-size: 27px; }
  .article-hero { padding: 50px 0 65px; }
  .back-link { margin-bottom: 38px; }
  .article-layout { grid-template-columns: 1fr; gap: 65px; padding-block: 70px 95px; }
  .article-aside { position: static; }
  .archive-meta { align-items: flex-start; flex-direction: column; gap: 5px; }
  .publication-intro { margin-bottom: 65px; font-size: 20px; }
  .contact-page { grid-template-columns: 1fr; gap: 35px; padding-block: 70px 95px; }
  .contact-details { padding: 0; }
  .contact-form { padding: 30px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 430px) {
  .hero-copy h1 { font-size: 49px; }
  .button-row { align-items: stretch; flex-direction: column; gap: 14px; }
  .button-row .button { width: 100%; }
  .button-row .text-link { align-self: flex-start; }
  .hero-visual { min-height: 360px; }
  .section-heading h2, .about-copy h2, .contact-band h2 { font-size: 44px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-date { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 2026 refinement: denser rhythm, layered surfaces, stronger visual hierarchy */
:root { --shell: min(1360px, calc(100vw - 48px)); }
body {
  background:
    radial-gradient(circle at 8% 5%, rgba(220, 227, 216, .55), transparent 26rem),
    radial-gradient(circle at 94% 22%, rgba(216, 206, 192, .35), transparent 28rem),
    var(--cream);
}
.site-header { background: color-mix(in srgb, var(--cream) 82%, transparent); }
.header-inner { min-height: 88px; }
.brand-name { font-size: 24px; }
.brand-role { margin-top: 8px; font-size: 10px; }
.button { min-height: 54px; padding-inline: 27px; border-radius: 999px; }

.home-hero { padding: 10px 0 26px; }
.home-hero-grid {
  grid-template-columns: 50% 50%;
  min-height: 565px;
  overflow: hidden;
  border: 1px solid rgba(18,58,59,.08);
  border-radius: 30px 30px 0 0;
  background: linear-gradient(125deg, rgba(255,255,255,.73), rgba(230,234,223,.72));
  box-shadow: 0 30px 80px rgba(18,58,59,.08);
}
.hero-copy { padding: 42px 46px 34px; }
.hero-copy h1 { font-size: clamp(58px, 5.55vw, 80px); line-height: .94; }
.hero-copy > p { margin: 21px 0 22px; font-size: 18px; line-height: 1.58; }
.hero-eyebrow { margin-bottom: 16px; }
.hero-location { margin-top: 20px; }
.hero-visual { margin: 14px 14px 14px 0; border-radius: 22px 22px 22px 120px; }
.hero-visual::before { background: linear-gradient(90deg, rgba(246,243,236,.22), transparent 18%); }
.hero-glass-card {
  position: absolute;
  z-index: 5;
  right: 22px;
  bottom: 22px;
  min-width: 235px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 18px;
  background: rgba(247, 245, 238, .76);
  box-shadow: 0 18px 45px rgba(18,58,59,.16);
  backdrop-filter: blur(16px);
}
.hero-glass-card span { display: block; margin-bottom: 5px; color: #718270; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hero-glass-card strong { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.12; }
.trust-strip {
  width: var(--shell);
  margin-inline: auto;
  border: 1px solid rgba(18,58,59,.08);
  border-top: 0;
  border-radius: 0 0 30px 30px;
  background: rgba(252,250,245,.92);
  box-shadow: 0 24px 70px rgba(18,58,59,.07);
}
.trust-grid { width: 100%; }
.trust-grid > div { min-height: 104px; padding-block: 18px; }
.trust-grid span { width: 46px; height: 46px; font-size: 20px; }

.section { padding-block: 76px; }
.section-heading { gap: 70px; margin-bottom: 40px; }
.section-heading h2, .about-copy h2, .contact-band h2, .site-footer h2, .contact-details h2 {
  font-size: clamp(44px, 4.3vw, 64px);
}
.services-grid { grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 24px; background: rgba(255,255,255,.32); box-shadow: 0 20px 55px rgba(18,58,59,.05); }
.service-card { min-height: 286px; padding: 26px 25px; }
.service-card h3 { margin: 34px 0 14px; font-size: 25px; }
.service-card p { font-size: 14px; line-height: 1.6; }
.service-card > a { right: 22px; bottom: 20px; width: 38px; height: 38px; }

.about-feature { padding-block: 70px; background: linear-gradient(135deg, #dce3d8 0%, #ebe7de 54%, #d7dfd2 100%); }
.about-feature-grid { grid-template-columns: .92fr 1.08fr; gap: 68px; }
.about-portrait { min-height: 560px; border-radius: 28px 120px 28px 28px; background: #cbd5c6; box-shadow: 0 26px 70px rgba(18,58,59,.12); }
.about-portrait::before, .about-portrait::after { display: none; }
.about-portrait > img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; object-position: center 30%; filter: saturate(.78) contrast(.98); }
.about-portrait::after { content: ""; display: block; position: absolute; inset: 0; width: auto; height: auto; border: 0; border-radius: inherit; background: linear-gradient(180deg, transparent 55%, rgba(11,45,46,.32)); }
.about-portrait p { z-index: 3; right: 18px; bottom: 18px; margin: 0; border-radius: 16px; box-shadow: 0 14px 35px rgba(18,58,59,.15); }
.about-copy p { margin-block: 12px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0 18px; }
.about-stats > div { padding: 14px; border: 1px solid rgba(18,58,59,.12); border-radius: 14px; background: rgba(255,255,255,.36); }
.about-stats strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1; }
.about-stats span { display: block; margin-top: 7px; color: var(--muted); font-size: 10px; line-height: 1.35; text-transform: uppercase; letter-spacing: .08em; }

.books-grid { gap: 26px; }
.book-cover { padding: 26px; border: 1px solid rgba(18,58,59,.08); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.72), #dce3d8); }
.book-card { padding-bottom: 20px; }
.event-section { padding: 54px 0; margin-inline: 20px; border-radius: 30px; background: linear-gradient(115deg, var(--petrol-deep), #285657); box-shadow: 0 26px 70px rgba(18,58,59,.18); }
.event-grid h2 { font-size: clamp(40px, 4.4vw, 62px); }
.posts-grid { gap: 30px 20px; }
.post-card { overflow: hidden; border: 1px solid rgba(18,58,59,.08); border-radius: 22px; background: rgba(252,250,245,.78); box-shadow: 0 18px 44px rgba(18,58,59,.05); transition: transform 280ms ease, box-shadow 280ms ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 55px rgba(18,58,59,.1); }
.post-card-body { padding: 0 20px 22px; }
.post-card p { min-height: 0; }

.contact-band { margin: 0 20px 20px; padding-block: 62px; border-radius: 30px; background: linear-gradient(115deg, #0b2d2e, #285657); }
.contact-band-inner { gap: 70px; }
.site-footer { padding-top: 64px; }
.footer-grid { gap: 60px; padding-bottom: 56px; }

.page-intro { margin: 10px 20px 0; padding: 58px 0 64px; border: 1px solid rgba(18,58,59,.08); border-radius: 30px; background: linear-gradient(125deg, rgba(255,255,255,.65), rgba(220,227,216,.7)); }
.page-intro h1 { font-size: clamp(60px, 7vw, 96px); }
.page-intro p { margin-top: 18px; font-size: 18px; }
.content-section { gap: 38px; padding-block: 58px 78px; }
.wp-content { font-size: 18px; line-height: 1.72; }
.wp-content p { margin: .9em 0; }
.wp-content p:empty, .wp-content .wp-block-spacer { display: none !important; }
.wp-content h1, .wp-content h2, .wp-content h3, .wp-content h4 { margin-top: 1.55em; }
.article-hero { margin: 10px 20px 0; padding: 50px 0 58px; border-radius: 30px; background: linear-gradient(125deg, #dce3d8, #e9e3da); }
.back-link { margin-bottom: 36px; }
.article-hero h1 { font-size: clamp(50px, 6vw, 78px); }
.article-layout { gap: 66px; padding-block: 58px 82px; }
.article-aside { top: 110px; border-radius: 20px; box-shadow: 0 20px 50px rgba(18,58,59,.08); }
.contact-page { gap: 70px; padding-block: 64px 82px; }
.contact-form { padding: 38px; border-radius: 24px; box-shadow: 0 20px 55px rgba(18,58,59,.07); }
.publication-intro { margin-bottom: 62px; }
.books-archive { row-gap: 58px; }

@media (max-width: 1100px) {
  :root { --shell: min(100% - 36px, 980px); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .home-hero-grid { grid-template-columns: 54% 46%; }
  .hero-copy { padding-inline: 34px; }
  .about-feature-grid { gap: 46px; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 76px; }
  .home-hero { padding-top: 4px; }
  .home-hero-grid { width: var(--shell); grid-template-columns: 1fr; border-radius: 22px 22px 0 0; }
  .hero-copy { padding: 38px 24px 34px; }
  .hero-copy h1 { font-size: clamp(47px, 14.5vw, 66px); }
  .hero-visual { min-height: 360px; margin: 0 10px 10px; border-radius: 18px 80px 18px 18px; }
  .hero-glass-card { right: 12px; bottom: 12px; min-width: 205px; padding: 14px 16px; }
  .trust-strip { border-radius: 0 0 22px 22px; }
  .trust-grid > div { padding-block: 17px; }
  .section { padding-block: 58px; }
  .section-heading { gap: 20px; margin-bottom: 30px; }
  .services-grid { grid-template-columns: 1fr; border-radius: 20px; }
  .service-card { min-height: 245px; }
  .about-feature { padding-block: 52px; }
  .about-feature-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-portrait, .about-portrait > img { min-height: 470px; }
  .about-portrait { border-radius: 22px 80px 22px 22px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .event-section, .contact-band, .page-intro, .article-hero { margin-inline: 10px; border-radius: 22px; }
  .event-section { padding-block: 44px; }
  .contact-band { margin-bottom: 10px; padding-block: 48px; }
  .page-intro { padding: 46px 0 52px; }
  .page-intro h1 { font-size: 58px; }
  .content-section, .article-layout { padding-block: 48px 66px; }
  .contact-page { padding-block: 48px 66px; }
  .contact-form { padding: 28px 20px; }
}

.js .reveal{opacity:0;transform:translateY(18px)}.js .reveal.is-visible{opacity:1;transform:none;transition:opacity .65s cubic-bezier(.22,1,.36,1),transform .65s cubic-bezier(.22,1,.36,1)}

/* Responsive polish and motion pass */
html, body { max-width: 100%; overflow-x: clip; }
body { min-width: 280px; }
.shell, main, section, article, div { min-width: 0; }
.site-header { animation: navEnter .55s cubic-bezier(.22,1,.36,1) both; }
.scroll-progress { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--clay), var(--sage), var(--petrol)); pointer-events: none; }
.hero-copy > * { animation: heroCopyEnter .72s cubic-bezier(.22,1,.36,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .2s; }
.hero-copy > *:nth-child(4) { animation-delay: .28s; }
.hero-copy > *:nth-child(5) { animation-delay: .34s; }
.hero-glass-card { animation: softFloat 5.5s ease-in-out infinite; }
.trust-grid > div {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 100px;
  padding: 18px 24px !important;
  transition: background .28s ease, transform .28s ease;
}
.trust-grid > div:first-child { padding-left: 24px !important; }
.trust-grid > div:hover { z-index: 1; background: rgba(220,227,216,.55); transform: translateY(-2px); }
.trust-grid span { width: 46px; height: 46px; margin: 0; font-size: 0; box-shadow: inset 0 0 0 1px rgba(18,58,59,.05); transition: transform .28s ease, background .28s ease; }
.trust-grid .trust-icon::before { content: none; }
.trust-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--petrol);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.trust-grid > div:hover .trust-icon svg { transform: scale(1.08); }
.trust-grid > div:hover span { transform: rotate(-8deg) scale(1.06); background: #cbd7c6; }
.trust-grid p { min-width: 0; }
.trust-grid strong { line-height: 1.25; }
.service-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--clay); transform: scaleY(0); transform-origin: bottom; transition: transform .3s ease; }
.service-card:hover::before { transform: scaleY(1); }
.post-card-image { position: relative; }
.post-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(11,45,46,.18)); opacity: 0; transition: opacity .35s ease; }
.post-card:hover .post-card-image::after { opacity: 1; }
.button { position: relative; overflow: hidden; isolation: isolate; }
.button::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.18) 48%, transparent 72%); transform: translateX(-130%); transition: transform .62s ease; }
.button:hover::after { transform: translateX(130%); }
.js .reveal { animation: none !important; opacity: 0; transform: translateY(22px) scale(.992); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes navEnter { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes heroCopyEnter { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes softFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

@media (max-width: 920px) {
  .home-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 450px; margin: 0 14px 14px; border-radius: 22px 90px 22px 22px; }
  .hero-copy { padding: 42px 36px 32px; }
  .trust-grid { grid-template-columns: 1fr !important; }
  .trust-grid > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading-aside { max-width: 650px; }
  .about-feature-grid { grid-template-columns: 1fr; }
  .about-portrait { max-width: 620px; width: 100%; margin-inline: auto; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 28px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 24px); }
  body { font-size: 15px; line-height: 1.55; }
  .site-header { background: rgba(246,243,236,.94); }
  .header-inner { min-height: 72px; gap: 12px; }
  .brand-name { font-size: 19px; letter-spacing: .18em; }
  .brand-role { font-size: 8px; letter-spacing: .23em; }
  .mobile-nav summary { display: flex; align-items: center; font-size: 12px; }
  .mobile-nav nav { position: fixed; inset: 78px 10px auto; width: auto; max-height: calc(100dvh - 92px); overflow-y: auto; padding: 14px 18px; border-radius: 18px; box-shadow: 0 24px 70px rgba(18,58,59,.2); animation: mobileMenu .24s ease both; }
  .mobile-nav nav a { padding: 12px 6px; }
  .home-hero { padding: 2px 0 16px; }
  .home-hero-grid { width: calc(100% - 20px); min-height: 0; border-radius: 20px 20px 0 0; }
  .hero-copy { padding: 32px 22px 28px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(43px, 13.3vw, 63px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
  .hero-copy h1 br { display: none; }
  .hero-copy > p { max-width: 36rem; margin: 18px 0 20px; font-size: 17px; }
  .hero-copy .button-row { gap: 10px; }
  .hero-copy .button { width: 100%; min-height: 52px; }
  .hero-copy .text-link { align-self: flex-start; }
  .hero-location { margin-top: 17px; font-size: 12px; }
  .hero-visual { min-height: 340px; margin: 0 8px 8px; border-radius: 16px 64px 16px 16px; }
  .hero-glass-card { right: 10px; bottom: 10px; min-width: 0; max-width: calc(100% - 20px); padding: 12px 14px; border-radius: 14px; }
  .hero-glass-card strong { font-size: 18px; }
  .trust-strip { width: calc(100% - 20px); margin-inline: auto; border-radius: 0 0 20px 20px; }
  .trust-grid { width: 100% !important; grid-template-columns: minmax(0, 1fr) !important; margin: 0; }
  .trust-grid > div, .trust-grid > div:first-child {
    width: 100%; min-height: 84px; grid-template-columns: 42px minmax(0, 1fr); gap: 13px;
    padding: 14px 16px !important; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .trust-grid > div:last-child { border-bottom: 0; }
  .trust-grid span { width: 42px; height: 42px; font-size: 16px; }
  .trust-icon svg { width: 21px; height: 21px; }
  .trust-grid p { font-size: 13px; line-height: 1.4; }
  .trust-grid strong { margin-bottom: 3px; font-size: 15px; }
  .section { padding-block: 50px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .about-copy h2, .contact-band h2, .site-footer h2, .contact-details h2 { font-size: clamp(38px, 11vw, 50px); line-height: 1.02; }
  .section-heading-aside p { margin-bottom: 14px; font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; border-radius: 18px; }
  .service-card { min-height: 230px; padding: 24px 22px; }
  .service-card h3 { margin: 28px 0 12px; font-size: 24px; }
  .service-card > a { right: 18px; bottom: 17px; }
  .about-feature { padding-block: 46px; }
  .about-feature-grid { gap: 32px; }
  .about-portrait, .about-portrait > img { min-height: min(440px, 116vw); }
  .about-portrait { border-radius: 20px 64px 20px 20px; }
  .about-portrait p { right: 10px; bottom: 10px; padding: 12px 14px; font-size: 18px; }
  .about-copy h3 { margin-bottom: 20px; }
  .about-copy p { font-size: 15px; }
  .about-stats { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 7px; }
  .about-stats > div { padding: 11px 8px; }
  .about-stats strong { font-size: 23px; }
  .about-stats span { font-size: 8px; }
  .books-grid, .posts-grid { grid-template-columns: 1fr; gap: 34px; }
  .book-cover { max-height: 480px; padding: 22px; border-radius: 18px; }
  .post-card { border-radius: 18px; }
  .post-card-body { padding: 0 17px 19px; }
  .event-section { margin-inline: 8px; padding: 38px 0; border-radius: 20px; }
  .event-grid { grid-template-columns: 1fr; gap: 20px; }
  .event-date { padding: 0 0 15px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: left; }
  .event-grid .button { width: 100%; }
  .contact-band { margin: 0 8px 8px; padding-block: 42px; border-radius: 20px; }
  .contact-band-inner { gap: 22px; }
  .contact-band .button-row { gap: 10px; }
  .contact-band .button { width: 100%; }
  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; padding-bottom: 38px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-column { gap: 8px; }
  .page-intro, .article-hero { margin: 4px 8px 0; padding: 38px 0 43px; border-radius: 20px; }
  .page-intro-grid { grid-template-columns: 1fr; gap: 14px; }
  .page-intro h1 { font-size: clamp(48px, 15vw, 64px); }
  .page-intro p { margin-top: 13px; font-size: 16px; }
  .leaf-a { right: -12%; opacity: .6; }
  .content-section, .article-layout, .contact-page { padding-block: 42px 58px; }
  .article-hero h1 { font-size: clamp(42px, 12vw, 60px); overflow-wrap: anywhere; }
  .back-link { margin-bottom: 26px; }
  .wp-content { width: 100%; font-size: 17px; line-height: 1.68; overflow-wrap: anywhere; }
  .wp-content h1 { font-size: 34px; }
  .wp-content h2 { font-size: 30px; }
  .wp-content h3 { font-size: 25px; }
  .wp-content img, .wp-content figure, .wp-content iframe, .wp-content video { max-width: 100% !important; height: auto; }
  .wp-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .wp-content pre { max-width: 100%; overflow-x: auto; }
  .wp-content blockquote { margin-inline: 0; padding: 18px 20px; font-size: 21px; }
  .article-aside { padding: 24px 20px; border-radius: 16px; }
  .archive-grid { row-gap: 34px; }
  .publication-intro { margin-bottom: 44px; font-size: 18px; }
  .contact-page { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 24px 17px; border-radius: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

@media (max-width: 390px) {
  :root { --shell: calc(100% - 20px); }
  .brand-name { font-size: 17px; letter-spacing: .14em; }
  .brand-role { letter-spacing: .18em; }
  .mobile-nav summary { font-size: 0; }
  .mobile-nav summary span { margin-right: 0; }
  .hero-copy { padding-inline: 18px; }
  .hero-copy h1 { font-size: clamp(40px, 13.1vw, 52px); }
  .hero-copy > p { font-size: 16px; }
  .hero-visual { min-height: 300px; }
  .trust-grid > div, .trust-grid > div:first-child { grid-template-columns: 38px minmax(0,1fr); gap: 11px; padding: 13px 12px !important; }
  .trust-grid span { width: 38px; height: 38px; }
  .trust-icon svg { width: 19px; height: 19px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats > div { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 8px; }
  .about-stats span { margin-top: 0; }
}

@media (max-width: 330px) {
  .brand-name { font-size: 15px; }
  .hero-copy h1 { font-size: 39px; }
  .hero-visual { min-height: 270px; }
  .hero-glass-card { display: none; }
  .trust-grid p { font-size: 12px; }
  .trust-grid strong { font-size: 14px; }
}

@media (hover: none) {
  .service-card:hover, .post-card:hover, .book-cover:hover, .button:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .hero-copy > *, .hero-glass-card { animation: none !important; }
  .scroll-progress { display: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@keyframes mobileMenu { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }


/* ==========================================================================
   STRAT RESPONSIVE UNIFICAT — mobil / tabletă / desktop
   Adăugat ulterior; suprascrie regulile de mai sus prin ordinea în cascadă.
   ========================================================================== */

/* --- 1. Fundații: fără overflow orizontal, safe-area, scroll offset ------- */
:root {
  --gutter: clamp(14px, 4vw, 40px);
  --shell: min(1360px, calc(100vw - var(--gutter) * 2));
  --tap: 44px;
  --header-h: 88px;
}
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { overflow-x: clip; max-width: 100%; }
body {
  min-width: 300px;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}
img, svg, video, iframe, canvas { max-width: 100%; }
/* height:auto doar unde imaginea curge în text — NU peste cele cu object-fit:cover,
   altfel atributele width/height ar forța containerul la proporțiile sursei */
.wp-content :is(img, iframe, video),
.content-lead-image img { height: auto; }
.hero-visual img,
.about-portrait > img,
.post-card-image img,
.book-cover img { height: 100%; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
p, li, td, th, dd, dt, blockquote, figcaption { overflow-wrap: break-word; }
a { overflow-wrap: break-word; }

/* --- 2. Butonul de meniu (hamburger) ------------------------------------- */
/* Problema veche: la <=390px `font-size:0` reducea zona de atins la 22x2px.  */
.mobile-nav > summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(252, 250, 245, .7);
  color: var(--petrol);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .2s ease, border-color .2s ease;
}
.mobile-nav > summary:hover { background: var(--sage-pale); border-color: var(--sage); }
.mobile-nav > summary span,
.mobile-nav > summary span::before,
.mobile-nav > summary span::after {
  width: 20px; height: 2px; margin: 0; border-radius: 2px;
  background: var(--petrol);
  transition: transform .25s ease, opacity .2s ease;
}
.mobile-nav > summary span { position: relative; display: block; flex: none; }
.mobile-nav > summary span::before { content: ""; position: absolute; top: -6px; left: 0; }
.mobile-nav > summary span::after  { content: ""; position: absolute; top: 6px; left: 0; }
.mobile-nav[open] > summary span { background: transparent; }
.mobile-nav[open] > summary span::before { transform: translateY(6px) rotate(45deg); }
.mobile-nav[open] > summary span::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- 3. Panoul de navigare mobil ----------------------------------------- */
.mobile-nav nav {
  z-index: 60;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 26px 70px rgba(18, 58, 59, .18);
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 8px 14px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 550;
  transition: background .18s ease, color .18s ease;
}
.mobile-nav nav a:hover,
.mobile-nav nav a:focus-visible { background: var(--sage-pale); color: var(--petrol-deep); }
.mobile-nav nav a + a { border-top: 1px solid rgba(18, 58, 59, .07); border-radius: 12px; }
/* fundal semi-opac în spatele meniului deschis (creat din JS) */
.nav-backdrop {
  position: fixed; z-index: 40; inset: 0;
  background: rgba(11, 45, 46, .34);
  backdrop-filter: blur(2px);
  animation: navBackdrop .22s ease both;
}
@keyframes navBackdrop { from { opacity: 0 } to { opacity: 1 } }
body.nav-open { overflow: hidden; }

/* --- 4. Butoane: nu mai ies niciodată din container ---------------------- */
.button {
  box-sizing: border-box;
  max-width: 100%;
  min-height: var(--tap);
  height: auto;
  padding: 14px 26px;
  font-size: 15px;
  line-height: 1.3;
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
}
.button-row { gap: clamp(12px, 2vw, 28px); }
.text-link { min-height: var(--tap); padding-block: 10px; }
.service-card > a { width: var(--tap); height: var(--tap); }

/* --- 5. Portretele noi: încadrare corectă a chipului --------------------- */
/* Fotografiile fiind pe verticală (1066x1600), dacă le lăsăm în flux normal
   ele dictează înălțimea containerului și strică proporțiile secțiunii.
   Le scoatem din flux: containerul își impune forma, poza umple și se decupează. */
.hero-visual { position: relative; }
.hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 16%;   /* păstrează chipul în cadru la decupajul orizontal */
}
.about-portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  min-height: 0;
  overflow: hidden;
}
.about-portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 18%;
}

/* --- 6. Conținut WordPress: imagini flotante, tabele, embed-uri ---------- */
.wp-content :is(img, figure, iframe, video, embed, object) { max-width: 100% !important; height: auto !important; }
.wp-content figure[style], .wp-content img[style] { width: auto !important; }
.wp-content .wp-block-image { max-width: 100%; }
/* imaginile flotante nu trebuie să depășească ~45% din coloana de text */
.wp-content :is(.alignright, .alignleft) { max-width: min(45%, 420px) !important; }
.wp-content :is(.alignright, .alignleft) img { width: 100% !important; }
.wp-content .alignright { float: right; margin: 8px 0 24px 32px; }
.wp-content .alignleft  { float: left;  margin: 8px 32px 24px 0; }
.wp-content .aligncenter { margin-inline: auto; }
.wp-content .wp-block-image::after { content: ""; display: table; clear: both; }
.wp-content .wp-block-table, .wp-content table { display: block; max-width: 100%; overflow-x: auto; }
.wp-content pre, .wp-content code { max-width: 100%; overflow-x: auto; white-space: pre-wrap; word-break: break-word; }
.wp-content iframe { aspect-ratio: 16 / 9; width: 100%; }

/* --- 7. Desktop mare (>=1440px) ------------------------------------------ */
@media (min-width: 1441px) {
  .section { padding-block: 88px; }
  .home-hero-grid { min-height: 620px; }
}

/* --- 8. Desktop mic / tabletă landscape (1024–1200px) -------------------- */
@media (max-width: 1200px) {
  /* 4 carduri de servicii pe ~1150px însemnau coloane de ~270px — trecem la 2 */
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .books-grid, .posts-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 18px; }
  .footer-grid { grid-template-columns: 1.4fr .7fr .9fr; gap: 40px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 44px; }
  .contact-page { gap: 48px; }
}

/* --- 9. Tabletă (768–1023px) — zona care era descoperită ----------------- */
@media (max-width: 1023px) {
  :root { --header-h: 80px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .home-hero-grid { grid-template-columns: 56% 44%; min-height: 500px; }
  .hero-copy { padding: 40px 32px 32px; }
  .hero-copy h1 { font-size: clamp(46px, 6.2vw, 66px); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* 3 coloane la ~800px însemnau carduri de ~240px — trecem la 2 */
  .books-grid, .posts-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 22px; }
  .book-cover { max-height: 420px; }
  .event-grid { grid-template-columns: 110px minmax(0, 1fr); gap: 28px; }
  .event-date { padding-right: 24px; font-size: 52px; }
  .event-grid .button { grid-column: 1 / -1; justify-self: start; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading-aside { max-width: 640px; }
  .about-feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 560px; margin-inline: auto; }
  .contact-band-inner { grid-template-columns: 1fr; gap: 30px; }
  .article-layout { grid-template-columns: minmax(0, 1fr); gap: 46px; }
  .article-aside { position: static; max-width: 560px; }
  .contact-page { grid-template-columns: 1fr; gap: 34px; }
  .contact-details { padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px 30px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .page-intro h1 { font-size: clamp(50px, 8vw, 84px); }
  .wp-content { font-size: 18px; }
}

/* --- 9b. Tabletă portret (max 900px): eroul se așază pe verticală -------- */
/* La două coloane sub 900px fotografia devenea o fâșie îngustă de ~270px.   */
@media (max-width: 900px) {
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-visual { min-height: min(56vw, 460px); margin: 0 14px 14px; border-radius: 20px 80px 20px 20px; }
  .hero-copy { padding: 44px 30px 30px; }
}

/* --- 10. Tabletă portret mică / telefon mare (max 760px) ----------------- */
@media (max-width: 760px) {
  :root { --gutter: 14px; --header-h: 72px; }
  .header-inner { min-height: 72px; gap: 10px; }
  .brand-name { font-size: clamp(16px, 4.6vw, 21px); letter-spacing: .16em; }
  .brand-role { font-size: 9px; letter-spacing: .2em; }
  /* panoul devine sertar pe toată lățimea, cu scroll propriu */
  .mobile-nav nav {
    position: fixed;
    inset: calc(var(--header-h) + 8px) var(--gutter) auto;
    width: auto;
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
  }
  /* eroul se așază pe verticală: text deasupra, fotografie dedesubt */
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding: 32px 20px 28px; }
  .hero-visual { min-height: 62vw; max-height: 480px; margin: 0 10px 10px; border-radius: 18px 70px 18px 18px; }
  .services-grid, .books-grid, .posts-grid, .archive-grid { grid-template-columns: minmax(0, 1fr); }
  .books-grid, .posts-grid, .archive-grid { gap: 28px; }
  .book-cover { max-height: 440px; }
  .event-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .event-date { padding: 0 0 14px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); text-align: left; }
  .event-grid .button, .hero-copy .button, .contact-band .button, .site-footer .button { width: 100%; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button-row .text-link { align-self: flex-start; }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .about-stats > div { padding: 12px 8px; }
  .about-stats strong { font-size: 22px; }
  .about-stats span { font-size: 9px; letter-spacing: .05em; }
  /* imaginile flotante din articole trec pe lățime completă */
  .wp-content :is(.alignright, .alignleft) { float: none; max-width: 100% !important; margin: 24px auto; }
  .wp-content figure { margin: 24px auto; }
  .archive-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .archive-meta strong { font-size: 34px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  /* subsolul revine la o singură coloană (altfel adresa de e-mail iese din ecran) */
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .footer-grid > div { min-width: 0; grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* --- 10b. Subsol & liste de linkuri: zone de atins decente --------------- */
.footer-column { min-width: 0; }
.footer-column a, .footer-column span {
  display: block;
  min-width: 0;
  padding-block: 9px;
  overflow-wrap: anywhere;   /* adresa de e-mail nu mai iese din coloană */
}
.contact-list a { min-height: var(--tap); }
.brand { justify-content: center; min-height: var(--tap); padding-block: 4px; }
.about-stats > div, .about-stats span, .about-stats strong { min-width: 0; }
.about-stats span { overflow-wrap: anywhere; }

/* --- 11. Telefon (max 520px) -------------------------------------------- */
@media (max-width: 520px) {
  /* 3 coloane de statistici nu încap sub 520px */
  .about-stats { grid-template-columns: minmax(0, 1fr); }
  .about-stats > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 12px; }
  .about-stats span { margin-top: 0; font-size: 10px; }
  .hero-copy h1 { font-size: clamp(36px, 11.5vw, 52px); }
  .hero-copy > p { font-size: 16px; }
  .section-heading h2, .about-copy h2, .contact-band h2,
  .site-footer h2, .contact-details h2 { font-size: clamp(32px, 9.5vw, 46px); }
  .page-intro h1 { font-size: clamp(40px, 13vw, 60px); }
  .article-hero h1 { font-size: clamp(32px, 9.5vw, 48px); }
  .book-card h3, .post-card h3 { font-size: 22px; }
  .service-card h3 { font-size: 22px; }
  .wp-content { font-size: 17px; }
  .wp-content h1 { font-size: 30px; }
  .wp-content h2 { font-size: 26px; }
  .wp-content h3 { font-size: 22px; }
  .wp-content blockquote { padding: 16px 18px; font-size: 19px; }
  .contact-form { padding: 22px 16px; }
}

/* --- 12. Telefon mic (max 380px) — butonul rămâne tapabil ---------------- */
@media (max-width: 380px) {
  .mobile-nav > summary { padding: 0 12px; font-size: 0; gap: 0; }   /* ascunde textul… */
  .mobile-nav > summary span { margin: 0; }                          /* …dar păstrează 44x44 */
  .brand-role { font-size: 8px; }
}

/* --- 13. Ecrane tactile & orientare landscape pe telefon ----------------- */
@media (hover: none) {
  .service-card:hover, .post-card:hover, .book-cover:hover,
  .button:hover, .trust-grid > div:hover { transform: none; }
  .post-card-image:hover img { transform: none; }
}
@media (max-height: 460px) and (orientation: landscape) {
  .home-hero-grid { min-height: 0; }
  .hero-visual { min-height: 240px; }
  .mobile-nav nav { max-height: calc(100dvh - var(--header-h) - 16px); }
}

/* --- 14. Accesibilitate: focus vizibil peste tot ------------------------- */
:is(a, button, summary, input, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  .mobile-nav > summary span,
  .mobile-nav > summary span::before,
  .mobile-nav > summary span::after { transition: none; }
  .nav-backdrop { animation: none; }
}

/* ============================================================
   IDENTITATE VIZUALĂ + RESPONSIVITATE COMPLETĂ
   Acest strat este ultimul din fișier și are prioritate.
   ============================================================ */

/* ---------- 1. Logo în antet ------------------------------- */

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(9px, 1vw, 14px);
  min-width: 0;
  padding-block: 4px;
}
.brand-mark {
  flex: none;
  width: auto;
  height: clamp(40px, 4.2vw, 56px);
  transition: transform 320ms cubic-bezier(.22, 1, .36, 1);
}
.brand:hover .brand-mark { transform: scale(1.04) rotate(-1.5deg); }
.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: clamp(16px, 1.85vw, 25px);
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--petrol);
  white-space: nowrap;
}
.brand-role {
  margin-top: clamp(4px, .5vw, 8px);
  color: #5f7360;
  font-family: var(--sans);
  font-size: clamp(8px, .78vw, 10px);
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1;
  white-space: nowrap;
}

/* ---------- 2. Logo în subsol ------------------------------ */

.footer-logo {
  width: clamp(168px, 18vw, 238px);
  height: auto;
  margin-bottom: clamp(20px, 2.4vw, 30px);
}

/* ---------- 3. Fotografiile noi ---------------------------- */

.hero-visual img {
  filter: saturate(.95);
  object-position: 50% 10%;
}
/* tabletă în portret: cadrul devine mai lat, deci ridicăm încadrarea */
@media (min-width: 761px) and (max-width: 940px) {
  .hero-visual { min-height: 520px; }
  .hero-visual img { object-position: 50% 5%; }
}
.about-portrait > img {
  filter: saturate(.95);
  object-position: 50% 22%;
}

/* ---------- 4. Ritm fluid pe orice lățime ------------------ */

:root {
  --shell: min(1360px, calc(100vw - clamp(20px, 4vw, 48px)));
  --gutter: clamp(10px, 2vw, 20px);
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }

/* ---------- 5. Meniu: prag mutat la 940px ------------------ */

@media (min-width: 941px) {
  .desktop-nav { display: flex; }
  .mobile-nav { display: none; }
}
@media (min-width: 941px) and (max-width: 1180px) {
  .desktop-nav { gap: clamp(13px, 1.5vw, 22px); }
  .desktop-nav a { font-size: 13.5px; }
  .header-inner { gap: 18px; }
}
@media (max-width: 940px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
}

/* Meniul mobil: panou lizibil, zone de atingere de 48px */
.mobile-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
}
.mobile-nav nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 6px 10px;
  font-size: 16px;
}
.mobile-nav nav a:last-child { border-bottom: 0; }

/* ---------- 6. Tabletă: 2 coloane în loc de 3 -------------- */

@media (max-width: 1100px) and (min-width: 761px) {
  .books-grid,
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
  .books-archive,
  .archive-grid { row-gap: 46px; }
  .section-heading { gap: 40px; }
  .contact-page { grid-template-columns: 1fr; gap: 44px; }
  .contact-details { padding-right: 0; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 44px; }
  .footer-grid { grid-template-columns: 1.2fr .7fr .9fr; gap: 40px; }
  .event-grid { grid-template-columns: 120px minmax(0, 1fr); gap: 28px; }
  .event-grid .button { grid-column: 1 / -1; justify-self: start; }
  .event-date { padding-right: 26px; font-size: 52px; }
}

@media (max-width: 1000px) and (min-width: 761px) {
  .about-feature-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 560px; margin-inline: auto; }
  .about-copy { max-width: none; }
}

/* ---------- 7. Conținut WordPress: imagini, tabele, video -- */

.wp-content img,
.wp-content figure img {
  max-width: 100% !important;
  height: auto !important;
}
.wp-content figure,
.wp-content .wp-block-image,
.wp-content .wp-block-image figure {
  max-width: 100% !important;
  box-sizing: border-box;
}
.wp-content .alignright,
.wp-content .alignleft {
  max-width: min(46%, 420px);
}
.wp-content .alignright { float: right; margin: 8px 0 22px 32px; }
.wp-content .alignleft { float: left; margin: 8px 32px 22px 0; }
.wp-content .aligncenter { margin-inline: auto; }
.wp-content iframe,
.wp-content video,
.wp-content embed,
.wp-content object {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}
.wp-content .wp-block-embed__wrapper { max-width: 100%; }
.wp-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; }
.wp-content pre,
.wp-content code { max-width: 100%; overflow-x: auto; overflow-wrap: anywhere; }
.wp-content a { overflow-wrap: anywhere; }

@media (max-width: 700px) {
  .wp-content .alignright,
  .wp-content .alignleft,
  .wp-content .wp-block-image figure {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 26px 0 !important;
  }
  .wp-content figure[style] { width: auto !important; }
  .wp-content img[style] { width: 100% !important; }
}

/* ---------- 8. Zone de atingere pe ecrane tactile ---------- */

@media (hover: none), (pointer: coarse) {
  .footer-column a,
  .contact-list a,
  .text-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-column a { padding-block: 4px; }
  .text-link { display: inline-flex; }
  .service-card > a { width: 44px; height: 44px; }
}

/* ---------- 9. Telefon: antet, hero, carduri --------------- */

@media (max-width: 760px) {
  .header-inner { min-height: 70px; gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { height: 40px; }
  .brand-name { font-size: 16.5px; letter-spacing: .11em; }
  .brand-role { margin-top: 4px; font-size: 8.5px; letter-spacing: .16em; }
  .mobile-nav summary { font-size: 12px; }
  .mobile-nav nav { inset: 74px var(--gutter) auto; }

  .hero-visual img { object-position: 50% 8%; }
  .hero-visual { min-height: min(380px, 78vw); }
  .home-hero-grid,
  .trust-strip { width: calc(100% - 2 * var(--gutter)); }
  .event-section,
  .contact-band,
  .page-intro,
  .article-hero { margin-inline: var(--gutter); }

  .footer-logo { width: 190px; margin-bottom: 22px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .about-portrait > img { object-position: 50% 18%; }

  .archive-meta { margin-bottom: 30px; }
  .archive-meta strong { font-size: 34px; }
  .publication-intro { font-size: 17px; line-height: 1.7; }
  .dropcap::first-letter { margin: 6px 8px 0 0; font-size: 66px; }
  .wp-content blockquote { padding: 16px 18px; font-size: 19px; }
  .article-aside { top: auto; }
  .back-link { min-height: 44px; display: inline-flex; align-items: center; }
}

/* ---------- 10. Telefon mic (≤430px) ----------------------- */

@media (max-width: 430px) {
  .brand-mark { height: 37px; }
  .brand-name { font-size: 15.5px; letter-spacing: .09em; }
  .brand-role { font-size: 8px; letter-spacing: .13em; }
  .section-heading h2,
  .about-copy h2,
  .contact-band h2,
  .site-footer h2,
  .contact-details h2 { font-size: clamp(32px, 9.6vw, 42px); }
  .footer-logo { width: 168px; }
  .about-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .about-stats > div { display: block; padding: 10px 6px; }
  .about-stats strong { font-size: 20px; }
  .about-stats span { margin-top: 5px; font-size: 8px; }
}

/* ---------- 11. Telefon foarte îngust (≤360px) ------------- */

@media (max-width: 360px) {
  .brand-mark { height: 34px; }
  .brand-name { font-size: 14px; letter-spacing: .06em; }
  .brand-role { font-size: 7.5px; letter-spacing: .1em; }
  .mobile-nav summary { font-size: 0; }
  .mobile-nav summary span { margin-right: 0; }
  .hero-copy h1 { font-size: clamp(34px, 11.5vw, 44px); }
  .hero-glass-card { display: none; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats > div { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 8px; }
  .about-stats span { margin-top: 0; }
}

/* ---------- 12. Telefon în peisaj (înălțime mică) ---------- */

@media (max-height: 520px) and (orientation: landscape) {
  .site-header { position: static; }
  .home-hero-grid { min-height: 0; }
  .hero-visual { min-height: 260px; }
  .mobile-nav nav { max-height: calc(100dvh - 76px); overflow-y: auto; }
  .article-aside { position: static; }
}

/* ---------- 13. Ecrane foarte late ------------------------- */

@media (min-width: 1600px) {
  :root { --shell: min(1460px, calc(100vw - 80px)); }
  .home-hero-grid { min-height: 620px; }
}

/* ---------- 14. Detalii de accesibilitate ------------------ */

@media (prefers-reduced-motion: reduce) {
  .brand:hover .brand-mark { transform: none; }
}
@media (prefers-contrast: more) {
  .brand-role { color: #3d5240; }
  .trust-grid p,
  .section-heading-aside p { color: #3d5250; }
}
@media print {
  .site-header, .mobile-nav, .scroll-progress, .event-section, .contact-band { display: none !important; }
  .brand-mark { height: 46px; }
  body { background: white; }
}

/* ---------- 15. Titlul hero pe mobil ----------------------- */
/* Pe mobil ascundem <br>-urile din H1 ca textul sa curga natural.
   In HTML exista acum un spatiu inainte de fiecare <br>, deci
   cuvintele nu se mai lipesc cand acestea sunt ascunse.
   Interliniajul urca la 1.06: diacriticele romanesti (Ă, Î, Ț)
   au nevoie de spatiu peste si sub randul de baza.               */

@media (max-width: 760px) {
  .hero-copy h1 {
    font-size: clamp(38px, 11.4vw, 56px);
    line-height: 1.06;
    letter-spacing: -.035em;
    text-wrap: balance;
    overflow-wrap: break-word;
    hyphens: none;
  }
  .hero-eyebrow { margin-bottom: 15px; }
  .hero-copy > p { margin: 20px 0 24px; font-size: 16.5px; line-height: 1.6; }
  .hero-copy .button-row { gap: 14px; }
  .hero-copy { padding: 34px 22px 32px; }

  /* aceeasi respiratie pentru celelalte titluri mari */
  .page-intro h1,
  .article-hero h1 { line-height: 1.05; }
  .section-heading h2,
  .about-copy h2,
  .contact-band h2,
  .site-footer h2,
  .contact-details h2 { line-height: 1.08; }
}

@media (max-width: 430px) {
  .hero-copy h1 { font-size: clamp(34px, 10.8vw, 44px); }
  .hero-copy > p { font-size: 16px; }
}


/* ---------- 16. Pagina de contact: 2 coloane + portret ----- */

.contact-page {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(38px, 4.6vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 5.6vw, 78px) clamp(64px, 7.4vw, 100px);
}

/* --- coloana stanga: portretul --- */
.contact-photo {
  position: relative;
  min-width: 0;
  margin: 0;
  border-radius: 28px 120px 28px 28px;
  overflow: hidden;
  background: #cbd5c6;
  box-shadow: 0 26px 70px rgba(18, 58, 59, .14);
}
.contact-photo img {
  display: block;
  width: 100%;
  height: clamp(420px, 52vw, 620px);
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(.95);
}
.contact-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, transparent 52%, rgba(11, 45, 46, .5));
  pointer-events: none;
}
.contact-photo figcaption {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(247, 245, 238, .9);
  box-shadow: 0 14px 35px rgba(18, 58, 59, .18);
  backdrop-filter: blur(14px);
}
.contact-photo figcaption strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.15;
}
.contact-photo figcaption span {
  color: #5f7360;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

/* --- coloana dreapta: informatiile --- */
.contact-hub { min-width: 0; }
.contact-hub h2 {
  margin: 13px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}
.contact-lead {
  max-width: 46ch;
  margin: 14px 0 clamp(22px, 2.6vw, 30px);
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

/* butonul WhatsApp — verde de brand, contrast 4,95:1 cu albul */
.button-whatsapp {
  --wa: #0f7f71;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, 360px);
  min-height: 62px;
  padding-inline: 28px;
  border-color: var(--wa);
  background: var(--wa);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(15, 127, 113, .26);
}
.button-whatsapp:hover {
  border-color: #0c6a5e;
  background: #0c6a5e;
  box-shadow: 0 18px 40px rgba(15, 127, 113, .32);
}
.wa-icon {
  flex: none;
  width: 25px;
  height: 25px;
  fill: currentColor;
}
.whatsapp-note {
  max-width: 42ch;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* --- lista de date de contact --- */
.contact-hub .contact-list {
  margin-top: clamp(26px, 3vw, 38px);
  border-top: 1px solid var(--line);
}
.contact-hub .contact-list a,
.contact-hub .contact-list > div {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  padding: 15px 10px 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 220ms ease, padding-left 220ms ease;
}
.contact-hub .contact-list a:hover {
  padding-left: 10px;
  background: rgba(220, 227, 216, .5);
}
.contact-list .ci {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-pale);
}
.contact-list .ci svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--petrol);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-list .ct { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-list small {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.contact-list strong {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

/* --- tableta: portret mai scund, tot pe 2 coloane --- */
@media (max-width: 1100px) {
  .contact-page { grid-template-columns: .9fr 1.1fr; gap: 34px; }
  .contact-photo img { height: clamp(380px, 46vw, 520px); }
  .contact-lead { font-size: 16px; }
  .button-whatsapp { font-size: 16px; padding-inline: 22px; }
}

/* --- sub 820px trecem pe o coloana, poza prima --- */
@media (max-width: 820px) {
  .contact-page {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-block: 38px 58px;
  }
  .contact-photo {
    width: 100%;
    max-width: 460px;
    margin-inline: auto;
    border-radius: 22px 80px 22px 22px;
  }
  .contact-photo img { height: min(430px, 108vw); object-position: 50% 16%; }
  .contact-hub h2 { font-size: clamp(32px, 8.6vw, 44px); }
  .contact-lead { margin-bottom: 20px; font-size: 16px; }
  .button-whatsapp { width: min(100%, 420px); min-height: 58px; }
  .contact-hub .contact-list a:hover { padding-left: 0; }
}

@media (max-width: 380px) {
  .contact-photo figcaption { right: 12px; bottom: 12px; left: 12px; padding: 11px 14px; }
  .contact-photo figcaption strong { font-size: 18px; }
  .button-whatsapp { gap: 9px; font-size: 15px; padding-inline: 14px; }
  .wa-icon { width: 22px; height: 22px; }
  .contact-hub .contact-list a,
  .contact-hub .contact-list > div { grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
  .contact-list .ci { width: 38px; height: 38px; }
  .contact-list .ci svg { width: 18px; height: 18px; }
  .contact-list strong { font-size: 15.5px; }
}

/* ── Despre mine · portret + credențiale ─────────────────────────── */
.page-intro + .about-feature { margin-top: 22px; }

.about-portrait p small {
  display: block;
  margin-top: 4px;
  color: var(--muted, #6a7f7d);
  font-family: var(--sans, inherit);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.about-credentials li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(18, 58, 59, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  color: #3f5a58;
  font-size: 12.5px;
  line-height: 1.3;
  letter-spacing: .01em;
}
.about-credentials li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7d9a86;
}

@media (max-width: 620px) {
  .about-credentials { gap: 6px; margin-bottom: 20px; }
  .about-credentials li { padding: 7px 12px 7px 10px; font-size: 11.5px; }
}

/* ── Cabinet · imaginea principală ───────────────────────────────── */
.wp-content .cabinet-hero-figure {
  margin: 0 0 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}
.wp-content .cabinet-hero-figure img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto;
  object-fit: fill;
}
@media (max-width: 700px) {
  .wp-content .cabinet-hero-figure { margin: 0 0 28px !important; }
}

/* ── Copertă fotografiată (nu scan plat) ─────────────────────────── */
.book-cover.book-cover-photo { padding: 0; }
.book-cover.book-cover-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  filter: none;
  border-radius: inherit;
}

.wp-content .wp-block-image figure.book-photo-figure {
  max-width: min(46%, 400px) !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}
.wp-content .wp-block-image figure.book-photo-figure img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
@media (max-width: 700px) {
  .wp-content .wp-block-image figure.book-photo-figure {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 26px 0 !important;
  }
}

/* ── Imagine lată încadrată în conținut ──────────────────────────── */
.wp-content .wp-block-image.media-frame {
  clear: both;
  margin: 34px 0 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  overflow: visible;
}
.wp-content .wp-block-image.media-frame img {
  display: block;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  aspect-ratio: auto;
  object-fit: fill;
}
@media (max-width: 700px) {
  .wp-content .wp-block-image.media-frame { margin: 26px 0 28px !important; }
}

/* ── Credit 8BYTES în footer ─────────────────────────────── */
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  color: #8fa094;
}
.footer-credit .credit-heart {
  color: #d8746a;
  font-size: 13px;
  line-height: 1;
  transform: translateY(.5px);
}
.footer-credit .credit-link {
  display: inline-flex;
  align-items: center;
  opacity: .75;
  transition: opacity .25s ease, transform .25s ease;
}
.footer-credit .credit-link:hover,
.footer-credit .credit-link:focus-visible {
  opacity: 1;
  transform: translateY(-1px);
}
.footer-credit .credit-link img {
  display: block;
  height: 15px;
  width: auto;
}
@media (max-width: 900px) {
  .footer-credit { justify-content: center; }
}
