/*
Theme Name: ITALPUB
Theme URI: https://italpub.ae
Author: ITALPUB PUBLICATION SERVICES L.L.C
Description: Company theme for ITALPUB PUBLICATION SERVICES L.L.C, a scholarly production and typesetting service provider in Dubai. One-page front page with services, approach, process, statement of independence and a working proposal form.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
Text Domain: italpub
*/

/* Layout: corporate production-house site. A deep indigo band carries the hero and a layered
   "single source, many outputs" visual; light sections follow: deliverables, services,
   approach, process, about, contact. */
:root {
  --band: #1D1A48;
  --band-2: #2A2663;
  --on-band: #EEEDF8;
  --on-band-soft: #B9B6DA;
  --brand: #2E2A6B;
  --brand-strong: #221F52;
  --brand-sky: #F2A71B;
  --accent: #F2A71B;
  --accent-ink: #9A5B00;
  --danger: #B42318;

  --bg: #FFFFFF;
  --bg-alt: #F5F5FA;
  --surface: #FFFFFF;
  --ink: #17152F;
  --ink-soft: #5A5873;
  --rule: #E1E0EE;
  --icon-bg: #EDECF8;

  --f-display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "Courier New", monospace;

  --wrap: 75rem;
  --radius: 6px;
  --head-h: 78px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --band: #0F0D2B; --band-2: #211E52;
    --brand: #ADA8F2; --brand-strong: #CBC7F8; --accent-ink: #F5B847; --danger: #FDA29B;
    --bg: #100F22; --bg-alt: #15142C; --surface: #1C1A38;
    --ink: #ECEBF7; --ink-soft: #A8A6C4; --rule: #2D2B50; --icon-bg: #272456;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.65; }
img, svg { max-width: 100%; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); line-height: 1.18; margin: 0; text-wrap: balance; }
p, ul, ol, dl, dd { margin: 0; }
a { color: var(--brand); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; z-index: 100; top: 8px; left: 8px; background: var(--accent); color: #2A1A00; padding: 0.6rem 1rem; border-radius: var(--radius); font-family: var(--f-display); font-weight: 700; text-decoration: none; }

.eyebrow { font-family: var(--f-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand); display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.sec-title { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; margin-top: 0.8rem; }
.sec-intro { color: var(--ink-soft); font-size: 1.12rem; max-width: 38em; margin-top: 1rem; }
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section.alt { background: var(--bg-alt); }

.btn { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--f-display); font-weight: 700; font-size: 0.92rem; line-height: 1.2; text-decoration: none; border: 0; cursor: pointer; padding: 0.9rem 1.45rem; border-radius: var(--radius); background: var(--brand); color: #fff; transition: background .2s, transform .2s; }
.btn:hover { background: var(--brand-strong); color: #fff; }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn.on-dark { background: var(--accent); color: #2A1A00; }
.btn.on-dark:hover { background: #F6BC4E; color: #2A1A00; }
.btn.line { background: transparent; color: var(--on-band); box-shadow: inset 0 0 0 1.5px rgba(238,237,248,.45); }
.btn.line:hover { box-shadow: inset 0 0 0 1.5px var(--on-band); background: rgba(255,255,255,.04); }
@media (prefers-color-scheme: dark) { .btn:not(.on-dark):not(.line), .btn:not(.on-dark):not(.line):hover { color: #141233; } }

/* Top bar + header */
.topbar { background: var(--band); color: var(--on-band-soft); font-size: 0.85rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.3rem 1.5rem; padding-block: 0.55rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
@media (max-width: 640px) { .topbar .t-hide { display: none; } }

.site-head { position: sticky; top: 0; z-index: 20; background: var(--band); border-bottom: 1px solid rgba(255,255,255,.08); }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-head { top: 0; } }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-mark { width: 54px; height: 38px; display: block; flex: none; }
.brand-name { display: grid; line-height: 1; }
.brand-name b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.03em; color: #fff; }
.brand-name small { font-family: var(--f-display); font-weight: 600; font-size: 0.58rem; letter-spacing: 0.17em; color: var(--on-band-soft); margin-top: 5px; padding-top: 4px; border-top: 2px solid var(--accent); }

.nav { display: flex; align-items: center; gap: 2rem; font-family: var(--f-display); font-weight: 600; font-size: 0.9rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2rem; }
.nav ul a { color: var(--on-band); text-decoration: none; opacity: .85; padding-block: 0.3rem; border-bottom: 2px solid transparent; }
.nav ul a:hover, .nav ul .current-menu-item > a { opacity: 1; border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: transparent; border: 1.5px solid rgba(238,237,248,.35); color: var(--on-band); border-radius: var(--radius); width: 44px; height: 44px; padding: 0; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav { gap: 0.75rem; }
  .nav .btn { padding: 0.7rem 1rem; }
  .nav ul { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--band); border-bottom: 1px solid rgba(255,255,255,.1); padding: 0.5rem clamp(16px, 4vw, 40px) 1rem; }
  .nav-open .nav ul { display: flex; }
  .nav ul a { display: block; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
}
@media (max-width: 420px) { .nav .btn { display: none; } }

/* Hero */
.hero { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(100deg, transparent 20%, #000 75%); -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 75%); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 140%; background: radial-gradient(closest-side, rgba(98,88,200,.38), transparent); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 7rem); }
.hero .eyebrow { color: var(--brand-sky); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.02em; margin-top: 1.1rem; color: #fff; }
.hero h1 span { color: var(--accent); }
.hero .lede { margin-top: 1.4rem; font-size: 1.2rem; color: var(--on-band-soft); max-width: 33em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-points { list-style: none; padding: 1.6rem 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0.6rem 2rem; margin-top: 2.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: 0.92rem; color: var(--on-band-soft); }
.hero-points li { display: flex; gap: 0.5rem; align-items: center; }
.hero-points svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .hero-points { grid-template-columns: 1fr; } }

.stack { position: relative; height: 430px; max-width: 520px; width: 100%; justify-self: center; }
.panel { position: absolute; border-radius: 8px; box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); }
.p-xml { left: 0; top: 0; width: 64%; background: #0C0A24; border: 1px solid rgba(255,255,255,.1); padding: 0.9rem 1rem 1rem; font-family: var(--f-mono); font-size: 0.68rem; line-height: 1.7; color: #A9A7C8; }
.p-xml .bar { display: flex; gap: 5px; margin-bottom: 0.7rem; align-items: center; }
.p-xml .bar i { width: 8px; height: 8px; border-radius: 50%; background: #2E2B5C; }
.p-xml .bar em { margin-left: auto; font-style: normal; font-size: 0.62rem; color: #7A77A6; }
.p-xml .t { color: #A7A2F5; } .p-xml .a { color: #E9C8FF; } .p-xml .v { color: var(--accent); }
.p-xml pre { margin: 0; white-space: pre; overflow: hidden; font: inherit; }
.p-page { right: 0; top: 52px; width: 58%; background: #FFFFFF; color: #13232E; padding: 1.1rem 1.1rem 1rem; font-size: 0.6rem; line-height: 1.45; }
.p-page .rh { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 0.5rem; letter-spacing: .08em; text-transform: uppercase; color: #6E6C88; border-bottom: 1.5px solid #2E2A6B; padding-bottom: 0.35rem; }
.p-page .ttl { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 0.86rem; line-height: 1.25; margin: 0.6rem 0 0.25rem; color: #0E2230; }
.p-page .au { font-style: italic; color: #51626F; font-family: Georgia, serif; }
.p-page .abs { background: #F2F1FA; border-left: 2px solid #F2A71B; padding: 0.4rem 0.5rem; margin: 0.55rem 0; font-family: Georgia, serif; }
.p-page .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.p-page .ln { display: grid; gap: 4px; }
.p-page .ln i { display: block; height: 3.5px; background: #D9E3EA; border-radius: 2px; }
.p-page .fig { height: 46px; margin-top: 6px; border-radius: 3px; background: #F2F1FA; position: relative; overflow: hidden; }
.p-page .fig b { position: absolute; bottom: 6px; width: 9px; background: #2E2A6B; border-radius: 1px 1px 0 0; }
.p-page .fig b:nth-child(even) { background: #F2A71B; }
.p-meta { left: 6%; bottom: 0; width: 62%; background: var(--band-2); border: 1px solid rgba(255,255,255,.12); padding: 0.95rem 1.05rem; color: var(--on-band); font-size: 0.8rem; }
.p-meta .mh { margin: 0 0 0.6rem; font-family: var(--f-display); font-weight: 700; font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-band-soft); }
.p-meta ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; }
.p-meta li { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.p-meta li span:last-child { font-family: var(--f-mono); font-size: 0.68rem; color: var(--accent); display: inline-flex; gap: 0.3rem; align-items: center; }
.p-meta svg { width: 12px; height: 12px; }
@media (max-width: 560px) {
  .stack { height: 380px; }
  .p-xml { width: 80%; font-size: 0.6rem; }
  .p-page { width: 66%; top: 90px; }
  .p-meta { width: 78%; left: 0; }
}

/* Deliverables */
.deliver { border-bottom: 1px solid var(--rule); background: var(--bg); }
.deliver .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; padding-block: 1.6rem; }
.deliver h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }
.formats { display: flex; flex-wrap: wrap; gap: 0.6rem 0.7rem; list-style: none; padding: 0; }
.formats li { font-family: var(--f-mono); font-size: 0.82rem; color: var(--ink); border: 1px solid var(--rule); border-radius: 4px; padding: 0.35rem 0.7rem; background: var(--bg-alt); }

/* Services */
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: 3rem; }
.sec-head .sec-intro { margin-top: 0; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.svc { background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; padding: 1.7rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: 0.85rem; transition: border-color .2s, box-shadow .2s, transform .2s; }
.svc:hover { border-color: var(--brand); box-shadow: 0 18px 36px -24px rgba(30,26,72,.45); transform: translateY(-2px); }
.svc .ico { width: 46px; height: 46px; border-radius: 8px; display: grid; place-items: center; background: var(--icon-bg); color: var(--brand); }
.svc .ico svg { width: 24px; height: 24px; }
.svc h3 { font-size: 1.08rem; font-weight: 700; }
.svc p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.55; }
.svc ul { list-style: none; padding: 0.85rem 0 0; margin-top: auto; border-top: 1px solid var(--rule); display: grid; gap: 0.3rem; font-size: 0.88rem; color: var(--ink); }
.svc li { display: flex; gap: 0.5rem; align-items: baseline; }
.svc li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); flex: none; transform: translateY(-1px); }
@media (max-width: 1100px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* Approach */
.approach { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem 5rem; align-items: start; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 2.2rem 2.5rem; }
.pillar { display: grid; gap: 0.5rem; padding-top: 1.2rem; border-top: 2px solid var(--brand); }
.pillar h3 { font-size: 1.05rem; font-weight: 700; }
.pillar p { color: var(--ink-soft); font-size: 0.97rem; }
@media (max-width: 900px) { .approach { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }

/* Process */
.process { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.process li { counter-increment: s; position: relative; padding: 0 1rem 0 0; display: grid; gap: 0.5rem; align-content: start; }
.process li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-weight: 800; font-size: 0.95rem; color: var(--brand); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--brand); position: relative; z-index: 1; margin-bottom: 0.6rem; }
.process li:last-child::before { border-color: var(--accent); color: var(--accent-ink); }
.process li::after { content: ""; position: absolute; top: 24px; left: 48px; right: 0; height: 2px; background: var(--rule); }
.process li:last-child::after { display: none; }
.process h3 { font-size: 1rem; font-weight: 700; }
.process p { font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; }
  .process li { grid-template-columns: 48px 1fr; column-gap: 1.1rem; padding: 0 0 1.6rem; }
  .process li::before { grid-row: span 2; margin: 0; }
  .process li::after { top: 48px; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .process li:last-child { padding-bottom: 0; }
}

/* About */
.role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 4rem; align-items: center; }
.statement { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: clamp(1.6rem, 3vw, 2.4rem); position: relative; }
.statement::before { content: ""; position: absolute; left: 0; top: 1.6rem; bottom: 1.6rem; width: 4px; background: var(--accent); border-radius: 0 2px 2px 0; }
.statement p { font-size: 1.12rem; line-height: 1.6; }
.statement p + p { margin-top: 0.9rem; }
.statement .sig { margin-top: 1.4rem; display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; color: var(--ink-soft); }
.statement .sig svg { width: 20px; height: 20px; color: var(--brand); }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.scope h3 { font-size: 0.8rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 0.7rem; }
.scope ul { list-style: none; padding: 0; display: grid; gap: 0.45rem; font-size: 0.97rem; }
.scope li { display: flex; gap: 0.55rem; align-items: center; }
.scope svg { width: 16px; height: 16px; flex: none; }
.scope .in h3, .scope .in svg { color: var(--accent-ink); }
.scope .out h3, .scope .out svg, .scope .out li { color: var(--ink-soft); }
@media (max-width: 900px) { .role { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .scope { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: var(--band); color: var(--on-band); position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 50%; height: 160%; background: radial-gradient(closest-side, rgba(242,167,27,.16), transparent); pointer-events: none; }
.cta .wrap { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.8rem, 6vw, 4rem); }
.cta h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; max-width: 22em; color: #fff; }
.cta p { color: var(--on-band-soft); margin-top: 0.5rem; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem 4.5rem; }
.info { display: grid; gap: 1.4rem; margin-top: 2.2rem; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-item .ico { width: 44px; height: 44px; border-radius: 8px; background: var(--icon-bg); color: var(--brand); display: grid; place-items: center; }
.info-item .ico svg { width: 20px; height: 20px; }
.info-item .dt { display: block; font-family: var(--f-display); font-weight: 700; font-size: 0.78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.info-item .dd { display: block; font-size: 1.02rem; overflow-wrap: anywhere; }
.info-item a { color: var(--ink); text-decoration-color: var(--accent); text-underline-offset: 3px; }
.ar { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
.quote-form { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; box-shadow: 0 30px 60px -45px rgba(29,26,72,.5); align-self: start; }
.quote-form h3 { grid-column: 1 / -1; font-size: 1.2rem; font-weight: 700; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form label { display: grid; gap: 0.4rem; font-family: var(--f-display); font-weight: 600; font-size: 0.8rem; color: var(--ink); }
.quote-form label .req { color: var(--accent-ink); }
.quote-form input, .quote-form select, .quote-form textarea { font: inherit; font-family: var(--f-body); font-size: 1rem; color: var(--ink); background: var(--bg); border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.72rem 0.85rem; width: 100%; transition: border-color .2s, box-shadow .2s; }
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
.quote-form textarea { min-height: 7.5rem; resize: vertical; }
.quote-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.form-consent { grid-column: 1 / -1; font-size: 0.85rem; color: var(--ink-soft); }
.form-notice { grid-column: 1 / -1; border-radius: var(--radius); padding: 0.8rem 1rem; font-size: 0.95rem; border: 1px solid; }
.form-notice.ok { border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); }
.form-notice.err { border-color: var(--danger); color: var(--danger); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quote-form { grid-template-columns: 1fr; } }

/* Inner pages */
.page-hero { background: var(--band); color: #fff; padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; color: #fff; }
.page-body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.entry { max-width: 46rem; }
.entry > * + * { margin-top: 1.1rem; }
.entry h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.entry h3 { font-size: 1.25rem; margin-top: 1.8rem; }
.entry ul, .entry ol { padding-left: 1.3rem; }
.entry img { height: auto; border-radius: 6px; }
.entry a { text-underline-offset: 3px; }
.post-list { display: grid; gap: 2rem; }
.post-list article { border-bottom: 1px solid var(--rule); padding-bottom: 2rem; }
.post-list h2 { font-size: 1.4rem; }
.post-list h2 a { color: var(--ink); text-decoration: none; }
.post-list time { display: block; color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.3rem; }

/* Footer */
.site-foot { background: var(--band); color: var(--on-band-soft); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; }
.foot-grid > * { min-width: 0; }
.site-foot h2 { font-size: 0.78rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.site-foot ul { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.site-foot a { color: var(--on-band-soft); text-decoration: none; }
.site-foot a:hover { color: #fff; }
.foot-about p { margin-top: 1.1rem; max-width: 26em; }
.foot-contact p + p { margin-top: 0.6rem; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.4rem 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; font-size: 0.82rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
