/* The Potter's Care: site styles. Warm clay + the logo's navy, sky and rose. */
:root {
  --navy: #26367A;
  --navy-deep: #1A2559;
  --sky: #2EA3DC;
  --sky-soft: #E4F3FB;
  --rose: #DE3F7C;
  --rose-deep: #C22B66;
  --rose-soft: #FCE8F0;
  --ink: #1C2340;
  --text: #3A4160;
  --muted: #5F6685;
  --cream: #FBF7F1;
  --clay: #F3E8DC;
  --clay-deep: #E7D5C2;
  --line: #E6DED3;
  --white: #fff;
  --surface: #fff;
  --link: #26367A;
  --accent: #C22B66;
  --header-bg: rgba(251, 247, 241, .92);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%2326367A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: light;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 50px -22px rgba(38, 54, 122, .35);
  --shadow-sm: 0 8px 24px -14px rgba(38, 54, 122, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

/* ---------- dark theme (manual choice, or device setting when no choice/JS) ---------- */
:root[data-theme="dark"] {
  --cream: #0F1428;
  --clay: #182042;
  --clay-deep: #34406A;
  --line: #273156;
  --surface: #161D38;
  --ink: #F2F4FF;
  --text: #C8CEE6;
  --muted: #9AA3C4;
  --link: #8FC9F0;
  --accent: #FF7DAF;
  --sky-soft: rgba(46, 163, 220, .16);
  --rose-soft: rgba(222, 63, 124, .17);
  --header-bg: rgba(15, 20, 40, .9);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .7);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, .6);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%238FC9F0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
  --cream: #0F1428;
  --clay: #182042;
  --clay-deep: #34406A;
  --line: #273156;
  --surface: #161D38;
  --ink: #F2F4FF;
  --text: #C8CEE6;
  --muted: #9AA3C4;
  --link: #8FC9F0;
  --accent: #FF7DAF;
  --sky-soft: rgba(46, 163, 220, .16);
  --rose-soft: rgba(222, 63, 124, .17);
  --header-bg: rgba(15, 20, 40, .9);
  --shadow: 0 18px 50px -22px rgba(0, 0, 0, .7);
  --shadow-sm: 0 8px 24px -14px rgba(0, 0, 0, .6);
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%238FC9F0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.7; color: var(--text); background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } body { font-size: 1rem; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; font-weight: 800; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: var(--sans); line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn--rose { background: var(--rose); color: #fff; box-shadow: 0 10px 24px -12px rgba(222, 63, 124, .8); }
.btn--rose:hover { background: var(--rose-deep); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--link); border-color: color-mix(in srgb, var(--link) 35%, transparent); }
.btn--ghost:hover { border-color: var(--link); color: var(--link); }
.btn--light { background: #fff; color: #26367A; }
.btn--light:hover { color: #C22B66; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-deep); color: #DCE3FF; font-size: .88rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.topbar a:hover { color: #FFC4DA; }
.topbar svg { width: 15px; height: 15px; fill: currentColor; }
.topbar__badge { display: inline-flex; align-items: center; gap: 7px; }
.topbar__badge svg { fill: #7FD0F5; width: 17px; height: 17px; }
.topbar__links { display: flex; gap: 22px; }
@media (max-width: 760px) { .topbar__badge { display: none; } .topbar__in { justify-content: center; } .topbar__links { gap: 16px; } .topbar__links a:last-child { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(28, 35, 64, .5); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand img { width: 196px; height: auto; }
.brand { display: block; }
@media (max-width: 600px) { .brand img { width: 150px; } }

.nav { display: flex; align-items: center; gap: 18px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { text-decoration: none; }
.nav > ul > li > a { display: block; white-space: nowrap; padding: 10px 11px; border-radius: 10px; font-weight: 700; color: var(--ink); font-size: .98rem; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current] { color: var(--accent); }
.nav > ul > li > a[aria-current] { background: var(--rose-soft); }
.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .55; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s ease; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 9px 12px; border-radius: 9px; color: var(--ink); font-weight: 600; }
.sub a:hover { background: var(--cream); color: var(--accent); }
.menu-btn { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; padding: 0 12px; flex-direction: column; justify-content: center; gap: 5px; }
.menu-btn span:not(.sr) { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) {
  .menu-btn { display: flex; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: var(--surface); flex-direction: column; align-items: stretch; padding: 90px 22px 28px; gap: 16px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; box-shadow: -20px 0 50px -20px rgba(0,0,0,.3); z-index: 60; }
  .nav.is-open { transform: none; visibility: visible; transition: transform .25s ease, visibility 0s; }
  .nav > ul { flex-direction: column; }
  .nav > ul > li > a { padding: 12px 12px; font-size: 1.05rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; background: none; }
  .sub a { padding: 7px 12px; font-size: .97rem; color: var(--muted); }
  .has-sub > a::after { display: none; }
  .menu-btn { position: relative; z-index: 70; }
  .nav__cta { justify-content: center; white-space: nowrap; }
  body.menu-open { overflow: hidden; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(20, 26, 50, .45); z-index: 49; }
}

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--white { background: var(--surface); }
.section--clay { background: var(--clay); }
.section--navy { background: var(--navy); color: #DCE3FF; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.section--navy .eyebrow { color: #FF9CC2; }
.lead { font-size: 1.2rem; color: var(--text); }
.center { text-align: center; }
.head { max-width: 720px; margin: 0 auto 48px; }
.head.center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 3px; background: currentColor; }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* ---------- hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -260px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(46, 163, 220, .14) 0%, rgba(46, 163, 220, 0) 65%); pointer-events: none; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 70px); align-items: center; position: relative; }
.hero h1 em { font-style: italic; color: var(--rose); font-weight: 600; }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.chips { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; color: var(--ink); }
.chips svg { width: 18px; height: 18px; fill: var(--sky); flex: none; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* the "potter's hands" photo frame: two arcs cradling the photos */
.cradle { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; margin-left: auto; width: 100%; }
.cradle__arc { position: absolute; inset: -4%; pointer-events: none; }
.cradle__main { position: absolute; inset: 9% 13% 9% 9%; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%; overflow: hidden; box-shadow: var(--shadow); }
.cradle__main img, .cradle__small img { width: 100%; height: 100%; object-fit: cover; }
.cradle__small { position: absolute; width: 40%; aspect-ratio: 1; right: 0; bottom: 4%; border-radius: 50%; overflow: hidden; border: 7px solid var(--cream); box-shadow: var(--shadow); }
.cradle__note { position: absolute; left: -2%; bottom: 10%; background: var(--surface); border-radius: 18px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; max-width: 250px; font-size: .92rem; line-height: 1.35; color: var(--ink); font-weight: 700; }
.cradle__note { font-weight: 600; color: var(--muted); font-size: .85rem; }
.cradle__note b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.25; margin-top: 2px; font-weight: 600; }
@media (max-width: 900px) { .cradle { margin: 10px auto 0; max-width: 440px; } }
@media (max-width: 480px) { .cradle__note { left: 0; bottom: 0; max-width: 210px; padding: 10px 14px; } }

/* ---------- cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.service { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.service:hover .service__img img { transform: scale(1.04); }
.service__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { font-size: 1.3rem; }
.service__body p { font-size: .98rem; }
.more { margin-top: auto; font-weight: 800; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: transform .2s; }
.service:hover .more::after { transform: translateX(4px); }

.icon-badge { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--sky-soft); margin-bottom: 16px; }
.icon-badge svg { width: 28px; height: 28px; fill: none; stroke: var(--link); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-badge--rose { background: var(--rose-soft); }
.icon-badge--rose svg { stroke: var(--rose-deep); }

.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 36px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--sky-soft) var(--tick) center/16px no-repeat; }
.ticks strong { color: var(--ink); }
.section--navy .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.section--navy .ticks strong { color: #fff; }

/* rounded photo with the arc accent */
.photo { position: relative; }
.photo img { border-radius: 40px 40px 40px 140px; width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; box-shadow: var(--shadow); }
.photo::before { content: ""; position: absolute; inset: -18px auto auto -18px; width: 62%; height: 62%; border-radius: 50% 0 0 0; border: 14px solid var(--sky); border-right: 0; border-bottom: 0; opacity: .9; z-index: -1; }
.photo--rose::before { border-color: var(--rose); }

/* vision / mission */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm__item { border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; }
.vm__item h3 { font-size: 1.6rem; color: #fff; }
.vm__item p { color: #E9EDFF; font-size: 1.08rem; margin: 0; }
.vm__item--navy { background: linear-gradient(140deg, var(--navy), #33479A); }
.vm__item--sky { background: linear-gradient(140deg, #1F8FC7, var(--sky)); }
.vm__item::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; bottom: -90px; border-radius: 50%; border: 22px solid rgba(255,255,255,.12); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

/* values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.value { background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px; border: 1px solid var(--line); display: flex; gap: 16px; align-items: flex-start; }
.value__n { font-family: var(--serif); font-size: 1.9rem; color: var(--rose); line-height: 1; font-weight: 600; min-width: 34px; }
.value h3 { font-size: 1.15rem; margin-bottom: .2em; }
.value p { margin: 0; font-size: .97rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rose); color: #fff; font-weight: 800; font-family: var(--serif); font-size: 1.25rem; margin-bottom: 16px; }
.steps h3 { font-size: 1.2rem; margin-bottom: .35em; }
.steps p { margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* name story band */
.story { background: var(--clay); border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; position: relative; overflow: hidden; }
.story img { width: 100%; max-width: 220px; margin: 0 auto; }
.story blockquote { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--link); line-height: 1.35; font-style: italic; }
.story cite { display: block; font-style: normal; font-family: var(--sans); font-size: .95rem; font-weight: 800; color: var(--accent); margin-top: 10px; }
@media (max-width: 720px) { .story { grid-template-columns: 1fr; text-align: center; } .story img { max-width: 150px; } }

/* support models */
.model { background: var(--surface); border-radius: var(--radius); padding: 34px; border: 1px solid var(--line); }
.model__tag { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; background: var(--sky-soft); color: var(--link); margin-bottom: 14px; }
.model--rose .model__tag { background: var(--rose-soft); color: var(--accent); }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy) 0%, #2F4596 55%, #2183BE 100%); border-radius: 32px; padding: clamp(36px, 6vw, 64px); color: #E3E9FF; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { margin: 0; font-size: 1.1rem; }
.cta .btn-row { justify-content: flex-end; }
.cta::after { content: ""; position: absolute; width: 360px; height: 360px; right: -120px; top: -160px; border-radius: 50%; border: 34px solid rgba(255,255,255,.07); }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* page hero (inner pages) */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; border-radius: 50%; border: 46px solid rgba(46, 163, 220, .1); pointer-events: none; }
.page-hero .lead { max-width: 720px; }
.crumbs { font-size: .9rem; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* long-form content */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.aside .card { padding: 24px; }
.aside h3 { font-size: 1.2rem; }
.aside ul { list-style: none; padding: 0; margin: 0; }
.aside li a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--ink); }
.aside li:last-child a { border: 0; }
.aside li a[aria-current] { color: var(--accent); }
.aside .card--navy { background: var(--navy); color: #DCE3FF; border: 0; }
.aside .card--navy h3 { color: #fff; }
.aside .card--navy a.tel { color: #fff; font-family: var(--serif); font-size: 1.6rem; text-decoration: none; display: block; margin: 4px 0 14px; }
@media (max-width: 960px) { .aside-layout { grid-template-columns: 1fr; } .aside { position: static; } }

.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.feature-list .card { padding: 24px; }
.feature-list h3 { font-size: 1.15rem; }
@media (max-width: 640px) { .feature-list { grid-template-columns: 1fr; } }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.timeline__n { width: 56px; height: 56px; border-radius: 50%; background: var(--rose-soft); color: var(--accent); font-family: var(--serif); font-weight: 700; font-size: 1.3rem; display: grid; place-items: center; }
.timeline h3 { margin-bottom: .35em; }

.job { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.job__meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; }
.job__meta span { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .92rem; color: var(--ink); }

/* forms */
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.form h2 { font-size: 1.7rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 800; color: var(--ink); font-size: .95rem; }
.field .hint { font-size: .86rem; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 13px 15px; border: 1.5px solid var(--clay-deep); border-radius: 12px; background: var(--cream); color: var(--ink); width: 100%; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: var(--surface); box-shadow: 0 0 0 4px rgba(46, 163, 220, .18); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.options { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.options label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--clay-deep); border-radius: 999px; background: var(--cream); font-weight: 700; font-size: .95rem; cursor: pointer; color: var(--ink); }
.options input { accent-color: var(--rose); width: 18px; height: 18px; margin: 0; }
.options label:has(input:checked) { border-color: var(--rose); background: var(--rose-soft); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--rose); flex: none; }
.hp { position: absolute; left: -9999px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; }
.form__status { font-weight: 700; }
.form__status.ok { color: #13795B; }
.form__status.err { color: #B4233A; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; }
.contact-list svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--rose); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { font-weight: 700; }

.regs { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.regs img { height: 46px; width: auto; }

/* offices */
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.office { background: var(--surface); border: 1px solid var(--line); border-top: 5px solid var(--navy); border-radius: var(--radius); padding: 28px 28px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.office--sky { border-top-color: var(--sky); }
.office--rose { border-top-color: var(--rose); }
.office__tag { align-self: flex-start; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); background: var(--sky-soft); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.office--rose .office__tag { background: var(--rose-soft); color: var(--accent); }
.office h3 { font-size: 1.3rem; margin-bottom: .45em; }
.office address { font-style: normal; color: var(--text); line-height: 1.6; margin-bottom: 20px; }
.office__link { margin-top: auto; font-weight: 800; color: var(--accent); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.office__link::after { content: "→"; transition: transform .2s; }
.office__link:hover::after { transform: translateX(4px); }
@media (max-width: 900px) { .offices { grid-template-columns: 1fr; } }
.footer__office strong { display: block; color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.footer__contact .footer__office { margin-top: 6px; }

/* footer */
.footer { background: var(--navy-deep); color: #BFC8EC; position: relative; margin-top: 90px; padding-top: 30px; font-size: .97rem; }
.footer__curve { position: absolute; left: 0; right: 0; top: -79px; width: 100%; height: 80px; fill: var(--navy-deep); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 46px; }
.footer__brand img { width: 190px; margin-bottom: 14px; }
.footer__brand p { max-width: 330px; }
.footer__regs { display: flex; gap: 12px; flex-wrap: wrap; }
.reg { background: #fff; border-radius: 10px; padding: 8px 12px; display: inline-flex; align-items: center; }
.reg img { height: 30px; width: auto; }
.footer__h { font-family: var(--sans); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 800; margin-bottom: 16px; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { color: #E4E9FF; text-decoration: none; }
.footer a:hover { color: #FF9CC2; }
.footer__contact li { line-height: 1.45; }
.footer__base { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .9rem; }
.footer__base p { margin: 0; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* gentle reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- theme toggle ---------- */
.header__tools { display: flex; align-items: center; gap: 10px; order: 3; }
.theme-btn { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; transition: border-color .2s, transform .15s; }
.theme-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-btn .i-sun { display: block; } :root:not([data-theme]) .theme-btn .i-moon { display: none; } }

/* light/dark artwork swap */
.only-dark { display: none !important; }
:root[data-theme="dark"] .only-dark { display: block !important; }
:root[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .only-dark { display: block !important; } :root:not([data-theme]) .only-light { display: none !important; } }

/* dark refinements */
:root[data-theme="dark"] .section--navy, :root[data-theme="dark"] .aside .card--navy { background: #1B2756; }
:root[data-theme="dark"] .topbar, :root[data-theme="dark"] .footer { background: #0A0E1F; }
:root[data-theme="dark"] .footer__curve { fill: #0A0E1F; }
:root[data-theme="dark"] .vm__item--navy { background: linear-gradient(140deg, #22306B, #2E428F); }
:root[data-theme="dark"] .vm__item--sky { background: linear-gradient(140deg, #16658F, #1E86BA); }
:root[data-theme="dark"] .cta { background: linear-gradient(120deg, #1B2756 0%, #263A85 55%, #1A6E9F 100%); }
:root[data-theme="dark"] img:not([src$=".svg"]) { filter: brightness(.92); }
:root[data-theme="dark"] .nav > ul > li > a[aria-current] { background: var(--rose-soft); }
:root[data-theme="dark"] .form__status.ok { color: #5FD3A6; }
:root[data-theme="dark"] .form__status.err { color: #FF8A9B; }
:root[data-theme="dark"] .field input::placeholder, :root[data-theme="dark"] .field textarea::placeholder { color: #7C86AA; }
:root[data-theme="dark"] .page-hero::after { border-color: rgba(46, 163, 220, .12); }
@media (max-width: 1240px) { :root[data-theme="dark"] .nav { background: var(--surface); } }

:root[data-theme="dark"] .arc-navy { stroke: #5B78D6; }
.nav__cta { white-space: nowrap; }

/* ---------- mobile scrolling comfort ---------- */
html, body { overflow-x: clip; }
html { -webkit-tap-highlight-color: transparent; }
a, button, input, select, textarea, label { touch-action: manipulation; }
@media (max-width: 760px) {
  /* solid header: blur behind a sticky bar is costly to repaint while scrolling on phones */
  .header { background: var(--cream); backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* show content immediately on phones instead of fading it in while scrolling */
  .reveal { opacity: 1; transform: none; transition: none; }
  .service:hover, .btn:hover, .theme-btn:hover { transform: none; }
  .service:hover .service__img img { transform: none; }
  .hero::before { display: none; }
  .section { padding: 56px 0; }
}

/* moments gallery */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.moment { margin: 0; position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow-sm); }
.moment img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.moment:hover img { transform: scale(1.04); }
.moment figcaption { position: absolute; inset: auto 0 0 0; padding: 60px 18px 18px; background: linear-gradient(to top, rgba(14, 20, 45, .85), rgba(14, 20, 45, 0)); color: #E9EDFF; font-size: .93rem; line-height: 1.4; }
.moment figcaption b { display: block; font-family: var(--serif); font-size: 1.35rem; color: #fff; font-weight: 600; margin-bottom: 2px; }
.moment:nth-child(2) { transform: translateY(26px); }
.moment:nth-child(4) { transform: translateY(26px); }
@media (max-width: 900px) { .moments { grid-template-columns: 1fr 1fr; } .moment:nth-child(2), .moment:nth-child(4) { transform: none; } }
@media (max-width: 420px) { .moment figcaption { font-size: .85rem; padding: 48px 14px 14px; } .moment figcaption b { font-size: 1.15rem; } }

/* Selectable service areas */
.coverage__areas { display:flex; flex-wrap:wrap; gap:12px; }
.coverage__area { font:inherit; font-weight:700; border:2px solid var(--line); background:var(--surface); color:var(--text); padding:14px 22px; border-radius:999px; cursor:pointer; }
.coverage__area[aria-pressed="true"] { background:var(--text); color:var(--surface); border-color:var(--text); }
.coverage__area:hover { border-color:var(--text); }
.coverage__area:focus-visible { outline:3px solid var(--accent); outline-offset:4px; }
.coverage__status { margin:20px 0 12px; }
.coverage iframe { display:block; width:100%; max-width:100%; height:clamp(300px,45vw,480px); border:0; border-radius:16px; margin-bottom:16px; }
@media(max-width:480px) { .coverage__area { flex:1 1 42%; padding:12px; } }
