/* Shared plumbing only: reset, layout primitives, accessibility, FAQ, crumbs.
   All visual identity (colour, type, shape, motion) lives in each site's theme.css. */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
a { text-underline-offset: 3px; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; padding: .75rem 1rem; background: #fff; color: #000; }
.skip:focus { left: 0; }
.crumbs { padding-block: 1rem; font-size: .875rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.crumbs i { font-style: normal; opacity: .5; }
.inner { padding-block: clamp(2rem, 5vw, 4.5rem); }
.inner h1 { margin-bottom: 1rem; text-wrap: balance; }
.inner h2 { margin-top: 2.5rem; margin-bottom: .75rem; text-wrap: balance; }
.inner p { max-width: 68ch; margin-top: .9rem; }
.inner .lead { font-size: 1.2rem; }
.checks { list-style: none; padding: 0; margin-top: .9rem; display: grid; gap: .5rem; max-width: 68ch; }
.checks li { position: relative; padding-left: 1.5rem; }
.faq { margin-top: .5rem; max-width: 68ch; }
.faq details { padding-block: .9rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; line-height: 1.2; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: .6rem; }
.svc-list { list-style: none; padding: 0; margin-top: 2rem; display: grid; gap: 0; }
.svc-list a { display: block; text-decoration: none; color: inherit; padding-block: 1.5rem; }
.svc-list h2 { margin: 0 0 .4rem; }
.svc-list p { margin: 0; max-width: 60ch; }
.back { margin-top: 2.5rem; }
address { font-style: normal; margin-top: .6rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem 1.5rem; text-decoration: none; font-weight: 700; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* TN Home Improvement: drenched river-navy, tape-measure yellow as the single accent, scope-sheet motif. */
:root { --navy: #10243e; --navy-2: #1b3a5e; --ink: #0d1b2d; --text: #26354a; --paper: #f4f6f8; --white: #fff; --line: #d3dae3; --accent: #f2b01e;
  --head: "Familjen Grotesk", "Helvetica Neue", sans-serif; --body: "Hanken Grotesk", system-ui, sans-serif; --ease: cubic-bezier(.16,1,.3,1); }
body.tnhi { background: var(--paper); color: var(--text); font-family: var(--body); font-size: 1.0625rem; }
.tnhi ::selection { background: var(--accent); color: var(--navy); }
.tnhi a:focus-visible, .tnhi summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.tnhi h1, .tnhi h2, .tnhi h3 { font-family: var(--head); color: var(--navy); font-weight: 700; line-height: 1.06; letter-spacing: -.015em; }
.tnhi h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); }
.tnhi h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tnhi h3 { font-size: 1.4rem; }
.tnhi a { color: var(--navy-2); }
.btn-primary { background: var(--accent); color: var(--navy) !important; border-color: var(--accent); }
.btn-primary:hover { background: #fff; border-color: #fff; }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 40; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: #fff !important; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.25rem; }
.brand .mark { width: 14px; height: 24px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); display: inline-block; }
.site-header nav { display: flex; gap: 1.5rem; margin-left: auto; }
.site-header nav a { color: #dfe7f1; text-decoration: none; font-weight: 600; }
.site-header nav a:hover { color: var(--accent); }
.head-cta { padding: .55rem 1.1rem; }
@media (max-width: 640px) { .head-cta { display: none; } .site-header nav { gap: 1rem; } }

.hero { background: var(--navy); color: #fff; position: relative; }
.hero h1 { color: #fff; text-wrap: balance; max-width: 15ch; }
.hero-grid { display: grid; gap: 2.5rem; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.2fr .8fr; } }
.sub { font-size: 1.25rem; color: #cfdbea; margin: 1.25rem 0 1.75rem; max-width: 34ch; }
.scope { background: #fff; color: var(--text); padding: 1.5rem; border-top: 8px solid var(--accent); }
.scope h2 { font-size: 1.25rem; margin-bottom: .75rem; }
.scope ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.scope li { padding-left: 1.6rem; position: relative; }
.scope li::before { content: ""; position: absolute; left: 0; top: .35em; width: .9rem; height: .5rem; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg); }
.ruler { height: 28px; background: repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 16px), repeating-linear-gradient(90deg, var(--accent) 0 2px, transparent 2px 80px); background-size: 100% 12px, 100% 28px; background-repeat: no-repeat; background-position: left bottom, left bottom; opacity: .9; }

.rooms { padding-block: clamp(3rem, 7vw, 5.5rem); }
.rooms h2 { margin-bottom: 1.75rem; }
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, 1fr); } .tile { grid-column: span 3; } .t-big { grid-column: span 4; grid-row: span 2; } .bento .tile:nth-child(2) { grid-column: span 2; } .t-wide { grid-column: span 4; } .bento .tile:nth-child(4), .bento .tile:nth-child(5) { grid-column: span 2; } }
.tile { background: #fff; border: 1px solid var(--line); padding: 1.5rem; text-decoration: none; color: var(--text) !important; display: flex; flex-direction: column; gap: .5rem; transition: transform .2s var(--ease), border-color .2s, background-color .2s; }
.tile:hover { transform: translateY(-3px); border-color: var(--navy); }
.tile span { margin-top: auto; padding-top: 1rem; font-weight: 700; color: var(--navy); }
.tile span::after { content: " \2192"; }
.t-big { background: var(--navy); border-color: var(--navy); justify-content: flex-end; min-height: 320px; }
.t-big h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.t-big p { color: #cfdbea; max-width: 32ch; }
.t-big span { color: var(--accent); }
.t-big:hover { background: var(--navy-2); }

.deadline { background: var(--accent); padding-block: clamp(3rem, 7vw, 5rem); color: var(--navy); }
.deadline h2 { color: var(--navy); }
.deadline .two { display: grid; gap: 2rem; }
@media (min-width: 860px) { .deadline .two { grid-template-columns: 1fr 1.2fr; } }
.deadline p { color: var(--ink); }
.deadline p + p { margin-top: 1rem; font-weight: 700; }
.license { padding-block: clamp(3rem, 6vw, 4.5rem); }
.license h2 { margin-bottom: 1rem; }
.faq-sec { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
.faq-sec h2 { margin-bottom: 1rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--navy); font-family: var(--head); font-size: 1.15rem; }
.faq summary::after { color: var(--navy-2); }

.cta-navy { background: var(--navy); padding-block: clamp(2.5rem, 5vw, 4rem); }
.cta-navy .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; }
.cta-navy h2 { color: #fff; }
.cta-navy p { color: #cfdbea; margin-top: .5rem; }

.tnhi .inner h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.tnhi .inner h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.tnhi .inner .lead { color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .9rem; height: .5rem; border-left: 3px solid var(--navy); border-bottom: 3px solid var(--navy); transform: rotate(-45deg); }
.checks.links a { font-weight: 600; }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-list h2 { font-size: 1.6rem; margin: 0 0 .3rem; }
.svc-list a:hover h2 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; }
.svc-list .more { display: inline-block; margin-top: .5rem; font-weight: 700; color: var(--navy); }
.crumbs, .crumbs a { color: #52627a; }
.tnhi .btn { margin-top: 1rem; }
.tnhi .cta-navy .btn, .tnhi .hero .btn { margin-top: 0; }
.tnhi .inner .btn { background: var(--navy); color: #fff !important; }

.site-footer { background: var(--ink); color: #cfdbea; padding-block: 3rem 1.5rem; font-size: .975rem; }
.site-footer a { color: #fff; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1.2fr 1fr; } }
.foot-brand { font-family: var(--head); font-weight: 700; font-size: 1.4rem; color: #fff; }
.site-footer h2 { color: var(--accent); font-size: 1rem; margin-bottom: .6rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .35rem; }
.foot-bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #27405f; font-size: .875rem; }
