/* Lino Lakes site stylesheet. OOCSS: structure classes (frame, beam, room, wall, joist...) carry layout only;
   ti-skin-* classes carry color, border and type treatment, and the two are combined in the markup. */

:root {
  --ti-ink: #F3F1E5;
  --ti-ground: #15190D;
  --ti-straw: #C7BA73;
  --ti-moss: #272B1D;
  --ti-lilac: #D298EB;
  --ti-on-straw: #15190D;
  --ti-dim: #C9C6B4;
  --ti-hair: rgba(243, 241, 229, 0.16);
  --ti-paper-rule: rgba(21, 25, 13, 0.14);
  --ti-head: "Albert Sans", "Segoe UI", Arial, sans-serif;
  --ti-body: "Hind", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ti-ground);
  color: var(--ti-ink);
  font-family: var(--ti-body);
  font-size: 1.075rem;
  line-height: 1.62;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ti-straw); text-underline-offset: 3px; }
a:hover { color: var(--ti-lilac); }
h1, h2, h3 { font-family: var(--ti-head); line-height: 1.15; margin: 0 0 .55em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.14rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
:focus-visible { outline: 3px solid var(--ti-lilac); outline-offset: 2px; }
.ti-skip { position: absolute; left: -9999px; }
.ti-skip:focus { left: 12px; top: 12px; z-index: 60; background: var(--ti-straw); color: var(--ti-on-straw); padding: 8px 12px; }

/* layout pieces: frame, beam, room, wall, joist, porch */
.ti-frame { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 22px; }
.ti-beam { display: flex; flex-wrap: wrap; gap: 28px; }
.ti-beam-tight { gap: 12px; align-items: center; }
.ti-room { padding: 64px 0; }
.ti-room-slim { padding: 40px 0; }
.ti-wall { flex: 1 1 260px; min-width: 0; }
.ti-wall-wide { flex: 2 1 420px; }
.ti-studs { display: flex; flex-wrap: wrap; margin: 0 -14px; }
.ti-studs > .ti-wall { padding: 4px 14px 18px; }
.ti-box { padding: 22px; }
.ti-sill-line { display: flex; flex-wrap: wrap; gap: 6px 0; padding: 0; margin: 0 0 14px; list-style: none; }

/* header + drawer */
.ti-ceiling { position: sticky; top: 0; z-index: 40; }
.ti-ceiling .ti-frame { display: flex; align-items: center; gap: 16px; min-height: 66px; }
.ti-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-width: 0; }
.ti-mark svg { flex: none; }
.ti-mark span { font-family: var(--ti-head); font-weight: 700; font-size: 1.06rem; line-height: 1.1; }
.ti-dial { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.ti-door { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 10px 20px; font: 600 1rem/1.2 var(--ti-head); text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.ti-hall { position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); z-index: 50; padding: 26px 26px 40px; overflow-y: auto; transform: translateX(105%); transition: transform .22s ease; visibility: hidden; }
.ti-hall.is-open { transform: none; visibility: visible; }
.ti-hall ul { list-style: none; padding: 0; margin: 24px 0 0; }
.ti-hall li a { display: block; padding: 11px 0; text-decoration: none; font: 600 1.2rem/1.3 var(--ti-head); }
.ti-hall li li a { font-size: 1rem; padding: 7px 0 7px 16px; }
.ti-hall-top { display: flex; justify-content: space-between; align-items: center; }
.ti-shade { position: fixed; inset: 0; z-index: 45; background: rgba(8, 10, 5, .6); display: none; }
.ti-shade.is-open { display: block; }

/* hero: headline at left, paper work order at right */
.ti-landing { padding: 44px 0 56px; }
.ti-landing .ti-beam { align-items: flex-start; gap: 40px; }
.ti-landing .ti-wall-wide { flex: 1 1 460px; }
.ti-order { flex: 1 1 380px; max-width: 520px; padding: 26px 26px 22px; position: relative; }
.ti-order-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; margin-bottom: 10px; }
.ti-order-list { list-style: none; padding: 0; margin: 0 0 16px; }
.ti-order-list li { display: flex; gap: 10px; align-items: center; padding: 7px 0; }
.ti-field { display: flex; flex-direction: column; padding: 8px 0 6px; }
.ti-field label { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; }
.ti-field input, .ti-field select, .ti-field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 7px 2px; border: 0; background: transparent; color: inherit; border-radius: 0; }
.ti-field textarea { min-height: 84px; resize: vertical; }
.ti-pair { display: flex; flex-wrap: wrap; gap: 0 18px; }
.ti-pair > .ti-field { flex: 1 1 170px; }
.ti-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.ti-note { font-size: .93rem; margin: 6px 0 0; }

/* figures */
.ti-pane { margin: 0 0 8px; }
.ti-pane img { display: block; width: 100%; height: auto; }
.ti-pane figcaption { font-size: .9rem; padding-top: 10px; }

/* link rows */
.ti-joists { list-style: none; padding: 0; margin: 0; }
.ti-joist { display: flex; align-items: center; gap: 18px; padding: 20px 4px; text-decoration: none; }
.ti-joist-text { flex: 1 1 auto; min-width: 0; }
.ti-joist-title { display: block; font: 700 clamp(1.2rem, 2.4vw, 1.6rem)/1.2 var(--ti-head); margin-bottom: 4px; }
.ti-joist-sub { display: block; font-size: .98rem; }
.ti-joist .ti-glyph { flex: none; transition: transform .18s ease; }
.ti-joist:hover .ti-glyph { transform: translateX(5px); }

/* tables and drawings */
.ti-span { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 22px; }
.ti-span table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .97rem; }
.ti-span th, .ti-span td { text-align: left; vertical-align: top; padding: 11px 12px; }
.ti-drawing { margin: 10px 0 20px; }
.ti-drawing svg { display: block; width: 100%; max-width: 760px; height: auto; }
.ti-drawing figcaption { font-size: .9rem; padding-top: 8px; }

/* steps, checklists, faq */
.ti-stair { counter-reset: ti-step; list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.ti-stair > li { counter-increment: ti-step; flex: 1 1 220px; padding: 6px 16px 18px; min-width: 0; }
.ti-stair > li::before { content: counter(ti-step, decimal-leading-zero); display: block; font: 700 1.6rem/1 var(--ti-head); margin-bottom: 8px; }
.ti-tick { list-style: none; padding: 0; margin: 0; }
.ti-tick li { display: flex; gap: 12px; padding: 10px 0; }
.ti-tick .ti-glyph { flex: none; margin-top: 3px; }
.ti-qa { margin: 0; }
.ti-qa dt { font: 600 1.1rem/1.3 var(--ti-head); padding-top: 18px; }
.ti-qa dd { margin: 6px 0 0; padding-bottom: 16px; }

/* page head on inner pages */
.ti-lintel { padding: 46px 0 30px; }
.ti-lintel p { max-width: 760px; font-size: 1.12rem; }
.ti-prose { max-width: 780px; }
.ti-prose h2 { margin-top: 1.4em; }
.ti-prose h3 { margin-top: 1.1em; }

/* callout strip */
.ti-hatch { padding: 26px; margin: 28px 0; }
.ti-hatch p:last-child { margin-bottom: 0; }

/* footer */
.ti-sill { padding: 40px 0 30px; font-size: .9rem; }
.ti-sill-line li:not(:last-child)::after { content: "\00B7"; padding: 0 9px; }
.ti-sill p { margin: 0 0 8px; }

/* mobile call bar */
.ti-porch { display: none; }

/* color and finish layers for the lino lakes pages */
.ti-skin-dark { background: var(--ti-ground); color: var(--ti-ink); }
.ti-skin-tint { background: var(--ti-moss); color: var(--ti-ink); }
.ti-skin-bar { background: rgba(21, 25, 13, .96); border-bottom: 1px solid var(--ti-hair); backdrop-filter: blur(6px); }
.ti-skin-bar .ti-mark { color: var(--ti-ink); }
.ti-skin-bar .ti-dial { color: var(--ti-straw); }
.ti-skin-primary { background: var(--ti-straw); color: var(--ti-on-straw); border-color: var(--ti-straw); }
.ti-skin-primary:hover { background: var(--ti-ink); color: var(--ti-on-straw); border-color: var(--ti-ink); }
.ti-skin-ghost { background: transparent; color: var(--ti-ink); border-color: var(--ti-lilac); }
.ti-skin-ghost:hover { color: var(--ti-ground); background: var(--ti-lilac); }
.ti-skin-plain { background: none; color: var(--ti-ink); border-color: var(--ti-hair); }
.ti-skin-paper {
  background-color: #F3F1E5;
  color: #15190D;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 33px, var(--ti-paper-rule) 33px, var(--ti-paper-rule) 34px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  border-top: 6px solid var(--ti-straw);
}
.ti-skin-paper a { color: #4A2C66; }
.ti-skin-paper .ti-order-head { border-bottom: 2px solid #15190D; }
.ti-skin-paper .ti-field { border-bottom: 1px solid rgba(21, 25, 13, .4); }
.ti-skin-paper .ti-field label { color: #3A3E2C; }
.ti-skin-paper .ti-door.ti-skin-primary { border-color: #15190D; }
.ti-skin-paper .ti-door.ti-skin-primary:hover { background: #15190D; color: #F3F1E5; }
.ti-skin-paper input:focus, .ti-skin-paper select:focus, .ti-skin-paper textarea:focus { outline: 2px solid #6B3D8A; outline-offset: 1px; }
.ti-skin-stamp { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.ti-skin-mono img { filter: grayscale(1) contrast(1.06); }
.ti-skin-mono::after { content: ""; display: block; width: 76px; height: 4px; margin-top: 12px; background: var(--ti-lilac); }
.ti-skin-ruled > .ti-wall + .ti-wall { border-left: 1px solid var(--ti-hair); }
.ti-skin-rows .ti-joist { color: var(--ti-ink); border-top: 1px solid var(--ti-hair); }
.ti-skin-rows li:last-child .ti-joist { border-bottom: 1px solid var(--ti-hair); }
.ti-skin-rows .ti-joist:hover { background: var(--ti-moss); color: var(--ti-ink); }
.ti-skin-rows .ti-joist-sub { color: var(--ti-dim); }
.ti-skin-rows .ti-glyph { color: var(--ti-straw); }
.ti-skin-grid th { font-family: var(--ti-head); font-weight: 600; color: var(--ti-straw); border-bottom: 2px solid var(--ti-straw); }
.ti-skin-grid td { border-bottom: 1px solid var(--ti-hair); }
.ti-skin-grid tbody th { color: var(--ti-ink); border-bottom: 1px solid var(--ti-hair); }
.ti-skin-hall { background: var(--ti-moss); color: var(--ti-ink); border-left: 1px solid var(--ti-hair); }
.ti-skin-hall a { color: var(--ti-ink); }
.ti-skin-hall a:hover { color: var(--ti-straw); }
.ti-skin-kicker { color: var(--ti-lilac); font: 600 .8rem/1.2 var(--ti-head); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.ti-skin-lede { font-size: 1.18rem; color: var(--ti-ink); }
.ti-skin-quiet { color: var(--ti-dim); }
.ti-skin-accent { color: var(--ti-lilac); }
.ti-skin-edge { border-left: 4px solid var(--ti-straw); }
.ti-skin-steps > li::before { color: var(--ti-straw); }
.ti-skin-steps > li + li { border-left: 1px solid var(--ti-hair); }
.ti-skin-qa dt { border-top: 1px solid var(--ti-hair); }
.ti-skin-tick li + li { border-top: 1px dashed var(--ti-hair); }
.ti-skin-tick .ti-glyph { color: var(--ti-lilac); }
.ti-skin-foot { background: #0F1209; border-top: 1px solid var(--ti-hair); color: var(--ti-dim); }
.ti-skin-foot a { color: var(--ti-ink); }

/* ---------- small screens ---------- */
@media (max-width: 767px) {
  body { padding-bottom: 70px; font-size: 1.03rem; }
  .ti-room { padding: 46px 0; }
  .ti-frame { padding: 0 16px; }
  .ti-ceiling .ti-frame { gap: 10px; }
  .ti-mark span { font-size: .92rem; }
  .ti-dial { font-size: .92rem; }
  .ti-door-menu { padding: 8px 12px; min-height: 44px; }
  .ti-door-menu .ti-label { display: none; }
  .ti-skin-ruled > .ti-wall + .ti-wall { border-left: 0; border-top: 1px solid var(--ti-hair); padding-top: 18px; }
  .ti-skin-steps > li + li { border-left: 0; border-top: 1px solid var(--ti-hair); padding-top: 16px; }
  .ti-order { padding: 22px 18px 18px; }
  .ti-porch { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; }
  .ti-porch a { flex: 1 1 50%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; font: 600 .98rem/1.1 var(--ti-head); text-decoration: none; }
  .ti-porch a + a { border-left: 1px solid rgba(21, 25, 13, .35); }
  .ti-skin-porch { background: var(--ti-straw); }
  .ti-skin-porch a { color: var(--ti-on-straw); }
  .ti-skin-porch a:last-child { background: var(--ti-lilac); }
}
@media (max-width: 380px) {
  .ti-mark svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ti-hall, .ti-joist .ti-glyph { transition: none; }
}
