/* Home Maker Ideas: maker's sketchbook under northern skies */

@font-face { font-family: "Arvo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/arvo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Arvo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/arvo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/asap-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/asap-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/asap-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/asap-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Asap"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/asap-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/patrick-hand-latin-400-normal.woff2") format("woff2"); }

:root {
  --ink: #1f2b45;
  --ink-2: #2b3a5c;
  --ink-3: #3c4e75;
  --paper: #f7f3ea;
  --paper-2: #efe8d9;
  --card: #fffdf8;
  --aurora: #23987a;
  --aurora-2: #7fd8bb;
  --bulb: #f4b740;
  --bulb-soft: #fde7b0;
  --clay: #cf5a33;
  --clay-dark: #b0482467;
  --rose: #f3b8a6;
  --text: #2a3248;
  --muted: #5d6680;
  --line: rgba(31, 43, 69, .14);
  --grid: rgba(31, 43, 69, .055);
  --head: "Arvo", Georgia, serif;
  --body: "Asap", "Segoe UI", Arial, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --radius: 14px;
  --shadow: 0 14px 34px -18px rgba(31, 43, 69, .45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 28px 28px;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
a { color: var(--aurora); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--bulb); outline-offset: 3px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--bulb); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.hand { font-family: var(--hand); font-weight: 400; letter-spacing: .01em; }
.kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--hand); font-size: 1.25rem; color: var(--clay);
  margin-bottom: .4rem;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-8deg); }
.kicker.light { color: var(--bulb); }
.hl {
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(180deg, transparent 58%, var(--bulb-soft) 58%, var(--bulb-soft) 92%, transparent 92%);
  padding: 0 .15em;
}
.on-dark .hl { background: linear-gradient(180deg, transparent 60%, rgba(244, 183, 64, .45) 60%, rgba(244, 183, 64, .45) 92%, transparent 92%); }

/* Buttons */
.btn-hm {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .85rem 1.45rem; border-radius: 10px; border: 2px solid var(--ink);
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-hm:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-hm:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn-bulb { background: var(--bulb); color: var(--ink); }
.btn-bulb:hover { color: var(--ink); background: #f7c45f; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { color: #fff; background: var(--ink-2); }
.btn-paper { background: var(--card); color: var(--ink); }
.btn-paper:hover { color: var(--ink); background: #fff; }
.on-dark .btn-hm { border-color: var(--paper); box-shadow: 4px 4px 0 rgba(247, 243, 234, .85); }
.on-dark .btn-hm:hover { box-shadow: 2px 2px 0 rgba(247, 243, 234, .85); }
.link-arrow { font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow i { transition: transform .15s ease; }
.link-arrow:hover { color: var(--clay); }
.link-arrow:hover i { transform: translateX(4px); }

/* Top bar and header */
.hm-topbar { background: var(--ink); color: rgba(247, 243, 234, .85); font-size: .9rem; }
.hm-topbar .container-xl { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.hm-topbar p { margin: 0; font-family: var(--hand); font-size: 1.08rem; }
.hm-topbar i { color: var(--bulb); margin-right: .35rem; }
.hm-topbar a { color: rgba(247, 243, 234, .9); text-decoration: none; }
.hm-topbar a:hover { color: var(--bulb); }

.hm-header { position: sticky; top: 0; z-index: 1030; background: rgba(247, 243, 234, .94); backdrop-filter: blur(8px); border-bottom: 2px dashed transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.hm-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 26px -22px rgba(31, 43, 69, .6); }
.hm-header .navbar { padding: .8rem 0; }
.navbar-brand img { height: 44px; width: auto; display: block; }
.navbar-nav .nav-link { font-weight: 600; color: var(--ink); padding: .45rem .85rem !important; border-radius: 8px; position: relative; }
.navbar-nav .nav-link:hover { color: var(--clay); }
.navbar-nav .nav-link.active { color: var(--ink); }
.navbar-nav .nav-link.active::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .15rem; height: 7px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 8' preserveAspectRatio='none'%3E%3Cpath d='M2 5 Q 25 1 50 4 T 98 3' fill='none' stroke='%23f4b740' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.nav-cta { margin-left: .8rem; padding: .65rem 1.1rem; }
.navbar-toggler { border: 2px solid var(--ink); border-radius: 10px; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px var(--bulb); }
@media (max-width: 1199.98px) {
  .navbar-collapse { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); margin-top: .8rem; padding: .8rem; box-shadow: 5px 5px 0 var(--ink); }
  .nav-cta { margin: .6rem 0 0; width: 100%; }
  .navbar-nav .nav-link.active::after { left: .85rem; right: auto; width: 70px; }
}
@media (max-width: 420px) { .navbar-brand img { height: 34px; } }

/* Sections */
.section { padding: 5.5rem 0; position: relative; }
.section-tight { padding: 4rem 0; }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-paper2 { background-color: var(--paper-2); }

/* Night sky panel with aurora */
.on-dark { color: rgba(247, 243, 234, .9); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--paper); }
.sky {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 70% at 15% 0%, rgba(127, 216, 187, .32) 0%, transparent 55%),
    radial-gradient(80% 60% at 85% 10%, rgba(35, 152, 122, .35) 0%, transparent 60%),
    radial-gradient(60% 50% at 60% 100%, rgba(244, 183, 64, .12) 0%, transparent 70%),
    linear-gradient(180deg, #172036 0%, var(--ink) 60%, #24324f 100%);
}
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 27% 42%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 30%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 78% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 91% 36%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 8% 64%, #fff 50%, transparent 51%);
}
.sky::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: 6%; height: 160px; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(127, 216, 187, .28), rgba(35, 152, 122, .1), rgba(127, 216, 187, .22), transparent);
  filter: blur(28px); transform: rotate(-6deg);
  animation: aurora 14s ease-in-out infinite alternate;
}
@keyframes aurora { from { transform: rotate(-6deg) translateX(-4%); } to { transform: rotate(-3deg) translateX(4%); } }

/* Home hero */
.hero { padding: 5rem 0 6.5rem; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .lead { font-size: 1.18rem; max-width: 560px; color: rgba(247, 243, 234, .85); }
.hero-note { font-family: var(--hand); font-size: 1.4rem; color: var(--bulb); display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.hero-note svg { width: 54px; height: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-tags { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 2.2rem; padding: 0; list-style: none; }
.hero-tags li { font-family: var(--hand); font-size: 1.1rem; color: var(--paper); border: 1.5px dashed rgba(247, 243, 234, .45); border-radius: 30px; padding: .2rem .9rem; }

.board { position: relative; max-width: 560px; margin-left: auto; padding: 1rem 1.5rem 3rem 0; }
.polaroid {
  background: #fff; padding: 14px 14px 56px; border-radius: 4px;
  box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .65);
  transform: rotate(2.2deg); position: relative;
}
.polaroid img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--hand); font-size: 1.35rem; color: var(--ink); }
.tape { position: absolute; width: 110px; height: 30px; background: rgba(244, 183, 64, .75); top: -14px; left: 50%; transform: translateX(-50%) rotate(-4deg); box-shadow: 0 2px 4px rgba(0, 0, 0, .12); }
.tape.green { background: rgba(127, 216, 187, .8); }
.tape.rose { background: rgba(243, 184, 166, .85); }
.sticky {
  position: absolute; width: 190px; padding: 1rem 1.05rem 1.2rem;
  background: var(--bulb); color: var(--ink);
  font-family: var(--hand); font-size: 1.22rem; line-height: 1.3;
  box-shadow: 0 18px 24px -14px rgba(0, 0, 0, .55);
  transform: rotate(-5deg);
}
.sticky::after { content: ""; position: absolute; right: 0; bottom: 0; border-width: 0 0 22px 22px; border-style: solid; border-color: transparent transparent rgba(31, 43, 69, .18) transparent; }
.sticky strong { display: block; font-family: var(--head); font-size: .95rem; margin-bottom: .2rem; }
.board .sticky { left: -60px; bottom: -6px; }
.bulb-doodle { position: absolute; right: -8px; top: -36px; width: 80px; color: var(--bulb); transform: rotate(14deg); }
@media (max-width: 991.98px) {
  .board { margin: 3rem auto 0; padding: 1rem 0 7rem; }
  .board .sticky { left: auto; right: 8px; bottom: 0; transform: rotate(3deg); }
}
@media (max-width: 575.98px) {
  .sticky { width: 160px; font-size: 1.08rem; }
  .bulb-doodle { width: 60px; right: 0; }
}

/* Torn paper edge */
.torn { height: 26px; margin-top: -25px; position: relative; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 L0 12 L40 16 L85 8 L130 14 L170 6 L220 15 L265 9 L310 17 L360 7 L410 13 L455 5 L500 14 L550 10 L600 18 L650 8 L700 15 L745 6 L790 13 L840 9 L885 16 L930 7 L980 14 L1025 10 L1075 17 L1120 8 L1165 13 L1200 9 L1200 26 Z' fill='%23f7f3ea'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%; }
.torn.to-paper2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26 L0 12 L40 16 L85 8 L130 14 L170 6 L220 15 L265 9 L310 17 L360 7 L410 13 L455 5 L500 14 L550 10 L600 18 L650 8 L700 15 L745 6 L790 13 L840 9 L885 16 L930 7 L980 14 L1025 10 L1075 17 L1120 8 L1165 13 L1200 9 L1200 26 Z' fill='%23efe8d9'/%3E%3C/svg%3E"); }

/* Idea notes row */
.notes-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.note-card {
  position: relative; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1.8rem 1.4rem 1.4rem; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s ease;
}
.note-card:nth-child(odd) { transform: rotate(-1deg); }
.note-card:nth-child(even) { transform: rotate(1deg); }
.note-card:hover { transform: rotate(0) translateY(-4px); }
.note-card .ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; background: var(--bulb-soft); color: var(--ink); border: 2px solid var(--ink); }
.note-card:nth-child(2) .ic { background: #cdeee2; }
.note-card:nth-child(3) .ic { background: #f8d3c7; }
.note-card:nth-child(4) .ic { background: #dbe2f3; }
.note-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.note-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.note-card .pin { position: absolute; top: -11px; left: 50%; width: 20px; height: 20px; border-radius: 50%; background: var(--clay); border: 2px solid var(--ink); transform: translateX(-50%); }
@media (max-width: 991.98px) { .notes-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .notes-row { grid-template-columns: 1fr; } }

/* Service cards: index cards */
.svc-card {
  height: 100%; display: flex; flex-direction: column;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  overflow: hidden; box-shadow: 6px 6px 0 var(--ink);
  transition: transform .2s ease, box-shadow .2s ease;
  scroll-margin-top: 120px;
}
.svc-card:hover { transform: translate(-2px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.svc-card:target { box-shadow: 6px 6px 0 var(--bulb), 0 0 0 4px var(--bulb); }
.svc-media { position: relative; border-bottom: 2px solid var(--ink); }
.svc-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-media .chip { position: absolute; left: 14px; bottom: -16px; width: 46px; height: 46px; border-radius: 50%; background: var(--bulb); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.25rem; color: var(--ink); }
.svc-body {
  flex: 1; display: flex; flex-direction: column; padding: 1.8rem 1.35rem 1.4rem 1.6rem; position: relative;
  background-image: repeating-linear-gradient(180deg, transparent 0, transparent 27px, rgba(35, 152, 122, .13) 27px, rgba(35, 152, 122, .13) 28px);
  background-position: 0 10px;
}
.svc-body::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 2px; background: rgba(207, 90, 51, .35); }
.svc-body h3 { font-size: 1.22rem; margin-bottom: .55rem; }
.svc-body p { color: var(--muted); font-size: .98rem; flex: 1; }
.svc-tag { font-family: var(--hand); color: var(--aurora); font-size: 1.1rem; display: block; margin-bottom: .1rem; }
.svc-body .btn-hm { align-self: flex-start; padding: .7rem 1.15rem; font-size: .95rem; }

/* Feature split */
.split-photo { position: relative; padding: 0 1.2rem 1.2rem 0; }
.split-photo img { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--aurora); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.split-photo .sticky { right: -6px; left: auto; bottom: -24px; transform: rotate(4deg); background: #cdeee2; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.check-list li { position: relative; padding-left: 2.1rem; margin-bottom: .8rem; }
.check-list li::before { content: "\F26E"; font-family: "bootstrap-icons"; position: absolute; left: 0; top: .05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bulb); color: var(--ink); display: grid; place-items: center; font-size: 1rem; border: 1.5px solid var(--ink); }

/* Blog cards */
.post-card { height: 100%; display: flex; flex-direction: column; background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-card .pc-img { display: block; overflow: hidden; border-bottom: 2px solid var(--ink); }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.post-card:hover img { transform: scale(1.04); }
.post-card .pc-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.22rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--clay); }
.post-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.pc-cat { font-family: var(--hand); font-size: 1.1rem; color: var(--clay); }

/* Newsletter band */
.news-band { border: 2px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); }
.news-band .nb-copy { padding: 3rem; }
.news-band .nb-img { height: 100%; min-height: 280px; background-size: cover; background-position: center; border-left: 2px solid var(--ink); }
.news-form { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.news-form .form-control { flex: 1 1 220px; }
@media (max-width: 991.98px) {
  .news-band .nb-copy { padding: 2.2rem 1.6rem; }
  .news-band .nb-img { border-left: 0; border-top: 2px solid var(--ink); }
}

/* Forms */
.form-control, .form-select {
  border: 2px solid var(--ink); border-radius: 10px; padding: .75rem .95rem; background-color: #fff; color: var(--text); font-size: 1rem;
}
.form-control:focus, .form-select:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(244, 183, 64, .55); }
.form-label { font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.form-check-input { border: 2px solid var(--ink); width: 1.2em; height: 1.2em; margin-top: .22em; }
.form-check-input:checked { background-color: var(--aurora); border-color: var(--ink); }
.form-check-input:focus { box-shadow: 0 0 0 4px rgba(244, 183, 64, .55); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: #b3261e; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--aurora); }
.form-panel { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 2.4rem; box-shadow: 8px 8px 0 var(--ink); }
.form-alert { display: none; align-items: flex-start; gap: .7rem; margin-top: 1.4rem; padding: 1rem 1.1rem; border-radius: 12px; border: 2px solid var(--ink); font-weight: 500; }
.form-alert.show { display: flex; }
.form-alert.ok { background: #d8f2e8; }
.form-alert.err { background: #fbdcd2; }
.form-alert i { font-size: 1.2rem; margin-top: .1rem; }
.group-feedback { display: none; color: #b3261e; font-size: .875em; margin-top: .25rem; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem 1rem; }
@media (max-width: 575.98px) { .form-panel { padding: 1.6rem 1.2rem; } .topic-grid { grid-template-columns: 1fr; } }

/* Page hero */
.page-hero { padding: 4.5rem 0 5rem; }
.page-hero p { max-width: 640px; font-size: 1.12rem; color: rgba(247, 243, 234, .85); margin: 0; }
.page-hero h1 { margin-bottom: 1rem; }
.crumbs { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem; font-family: var(--hand); font-size: 1.15rem; }
.crumbs li { color: var(--bulb); }
.crumbs li + li::before { content: "\2192"; margin-right: .4rem; color: rgba(247, 243, 234, .6); }
.crumbs a { color: rgba(247, 243, 234, .85); text-decoration: none; }
.crumbs a:hover { color: var(--bulb); }

/* About */
.photo-stack { position: relative; }
.photo-stack .ps-main { border: 2px solid var(--ink); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--bulb); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.value-card { height: 100%; background: var(--card); border: 2px dashed var(--ink); border-radius: var(--radius); padding: 1.6rem; }
.value-card i { font-size: 1.7rem; color: var(--aurora); }
.value-card h3 { font-size: 1.15rem; margin: .6rem 0 .4rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .98rem; }
.quote-card { background: var(--bulb); border: 2px solid var(--ink); border-radius: 20px; padding: 2.4rem; box-shadow: 8px 8px 0 var(--ink); position: relative; }
.quote-card blockquote { font-family: var(--hand); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.35; color: var(--ink); margin: 0; }
.quote-card .qi { font-size: 2.6rem; color: var(--ink); line-height: 1; }

/* Contact */
.contact-card { background: var(--ink); color: rgba(247, 243, 234, .9); border-radius: 20px; padding: 2.4rem; height: 100%; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--aurora); }
.contact-card h2 { color: var(--paper); font-size: 1.8rem; }
.contact-line { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed rgba(247, 243, 234, .25); }
.contact-line i { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bulb); color: var(--ink); font-size: 1.15rem; }
.contact-line .cl-label { display: block; font-family: var(--hand); font-size: 1.1rem; color: var(--bulb); line-height: 1.2; }
.contact-line address, .contact-line a { margin: 0; color: var(--paper); font-weight: 500; text-decoration: none; font-style: normal; word-break: break-word; }
.contact-line a:hover { color: var(--bulb); }
.contact-photo { margin-top: 1.6rem; }
.contact-photo img { width: 100%; border-radius: 12px; aspect-ratio: 16 / 11; object-fit: cover; display: block; border: 2px solid rgba(247, 243, 234, .3); }
.map-wrap { border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: var(--paper-2); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Blog post */
.post-hero-img { border: 2px solid var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); margin-top: -3.5rem; position: relative; z-index: 3; background: var(--card); }
.post-hero-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: 1.65rem; margin-top: 2.6rem; margin-bottom: .9rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--clay); }
.tip-box { background: var(--bulb-soft); border: 2px solid var(--ink); border-radius: 16px; padding: 1.4rem 1.6rem; margin: 2rem 0; box-shadow: 5px 5px 0 var(--ink); }
.tip-box .hand { font-size: 1.35rem; color: var(--clay); display: block; margin-bottom: .2rem; }
.tip-box p:last-child { margin: 0; }
.aside-card { background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 1.5rem; box-shadow: 5px 5px 0 var(--ink); margin-bottom: 1.6rem; }
.aside-card h3 { font-size: 1.15rem; margin-bottom: .9rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; }
.aside-card li + li { border-top: 1px dashed var(--line); }
.aside-card li a { display: block; padding: .65rem 0; color: var(--ink); text-decoration: none; font-weight: 500; line-height: 1.4; }
.aside-card li a:hover { color: var(--clay); }
.sticky-aside { position: sticky; top: 110px; }

/* Legal pages */
.legal { background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 2.8rem; box-shadow: 8px 8px 0 var(--ink); }
.legal h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal h2:first-child { margin-top: 0; }
@media (max-width: 575.98px) { .legal { padding: 1.6rem 1.2rem; } }

/* CTA band */
.cta-band { border-radius: 24px; padding: 3.4rem; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--bulb); }
.cta-band h2 { margin-bottom: .6rem; }
.cta-band p { margin: 0; color: rgba(247, 243, 234, .85); }
@media (max-width: 767.98px) { .cta-band { padding: 2.2rem 1.5rem; } }

/* Footer */
.hm-footer { background: var(--ink); color: rgba(247, 243, 234, .78); padding-top: 4.5rem; margin-top: 0; position: relative; }
.hm-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 6px; background: repeating-linear-gradient(90deg, var(--bulb) 0 40px, var(--aurora) 40px 80px, var(--clay) 80px 120px); }
.hm-footer .f-logo img { height: 40px; width: auto; }
.hm-footer h3 { font-family: var(--hand); font-weight: 400; color: var(--bulb); font-size: 1.4rem; margin-bottom: .9rem; }
.hm-footer ul { list-style: none; padding: 0; margin: 0; }
.hm-footer li { margin-bottom: .45rem; }
.hm-footer a { color: rgba(247, 243, 234, .82); text-decoration: none; }
.hm-footer a:hover { color: var(--bulb); }
.hm-footer .f-mail { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--paper); word-break: break-all; }
.hm-footer .f-mail i { color: var(--bulb); }
.f-bottom { border-top: 1px dashed rgba(247, 243, 234, .2); margin-top: 3.5rem; padding: 1.3rem 0; font-size: .93rem; }
.f-bottom .container-xl { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.f-bottom p { margin: 0; }
.f-bottom .hand { font-size: 1.12rem; color: var(--bulb); }

.hm-top { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--bulb); color: var(--ink); font-size: 1.2rem; box-shadow: 3px 3px 0 var(--ink); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .2s ease; z-index: 1040; }
.hm-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sky::after { animation: none; }
  * { transition: none !important; }
}

@media (max-width: 420px) { .contact-card { padding: 1.8rem 1.3rem; } .contact-line a { font-size: .94rem; } }
