/* Lakeshore Craft Remodeling (fictional sample by Cannud Media)
   Linen, clay and sage with a tape-measure ruler motif. Young Serif / Instrument Sans. */
:root {
  --linen: #f6f1e7;
  --linen-2: #ece4d5;
  --paper: #fffdf8;
  --ink: #2b2621;
  --ink-2: #4a423a;
  --muted: #6e6458;
  --line: #d9cfbf;
  --clay: #b0532c;
  --clay-dark: #8c3f1f;
  --clay-soft: #e39a74;
  --sage: #6c8467;
  --sage-light: #dde5d6;
  --radius: 14px;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; font: 17px/1.65 var(--sans); color: var(--ink); background: var(--linen); padding-bottom: 60px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clay-dark); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 7vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
h1 em { font-style: normal; color: var(--clay); }
p { margin: 0 0 1em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--linen); padding: 8px 12px; z-index: 99; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }
svg { width: 1.1em; height: 1.1em; flex: none; }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 700 .78rem/1.3 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--sage); margin-bottom: .9em; }
.lede { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }

/* tape-measure ruler motif */
.ruler { height: 18px; background:
  repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 60px) 0 0 / 100% 18px no-repeat,
  repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 15px) 0 0 / 100% 9px no-repeat,
  var(--clay-soft); }


/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.nav { display: flex; align-items: center; gap: 12px; min-height: 70px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin: 0 auto 0 0; }
.brand .mark { width: 40px; height: 40px; color: var(--ink); }
.brand span { display: flex; flex-direction: column; line-height: 1.05; }
.brand b { font: 400 1.35rem/1 var(--serif); }
.brand i { font-style: normal; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--clay-dark); font-weight: 700; margin-top: 3px; }
.brand.light { color: var(--linen); }
.brand.light .mark { color: var(--clay); }
.brand.light i { color: var(--clay-soft); }
.lang { font-weight: 700; font-size: .88rem; color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.lang:hover { background: var(--ink); color: var(--linen); }
.nav-toggle { background: var(--ink); color: var(--linen); border: 0; border-radius: 999px; padding: 8px 14px; font: 700 .88rem var(--sans); cursor: pointer; }
.nav-links { list-style: none; margin: 0; padding: 0 0 12px; display: none; width: 100%; order: 5; }
.nav-links.open { display: block; }
.nav-links a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); }
.nav-links a[aria-current="page"] { color: var(--clay-dark); }
.nav-cta { display: none; }
@media (min-width: 940px) {
  .nav { flex-wrap: nowrap; gap: 26px; }
  .nav-toggle { display: none; }
  .nav-links { display: flex; gap: 24px; width: auto; padding: 0; order: 0; }
  .nav-links a { border: 0; padding: 4px 0; background: linear-gradient(var(--clay), var(--clay)) 0 100% / 0 2px no-repeat; transition: background-size .2s; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background-size: 100% 2px; }
  .lang { order: 2; }
  .nav-cta { display: inline-flex; order: 3; background: var(--clay); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 999px; font-weight: 700; }
  .nav-cta:hover { background: var(--clay-dark); }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--clay); color: #fff; border: 2px solid var(--clay); border-radius: 999px; padding: 12px 22px; font: 700 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--clay-dark); border-color: var(--clay-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--linen); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.4rem 0; }
.btn-col { display: flex; flex-wrap: wrap; gap: 10px; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--clay-dark); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* hero: offset photo with an overlapping card */
.hero { padding: 22px 0 40px; }
.hero-grid { display: grid; }
.hero-img { margin: 0; position: relative; }
.hero-img::after { content: ""; position: absolute; inset: auto -10px -10px auto; width: 40%; height: 40%; background: var(--sage-light); border-radius: var(--radius); z-index: -1; }
.hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero-card { background: var(--paper); border-radius: var(--radius); padding: 24px 22px; margin: -40px 12px 0; position: relative; box-shadow: 0 14px 40px rgba(43, 38, 33, .12); border-top: 5px solid var(--clay); }
.facts { list-style: none; padding: 16px 0 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px dashed var(--line); }
.facts b { display: block; font: 400 1.25rem/1.1 var(--serif); color: var(--clay-dark); }
.facts span { font-size: .8rem; color: var(--muted); }
@media (min-width: 960px) {
  .hero { padding: 40px 0 70px; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero-img { grid-column: 1 / 9; grid-row: 1; }
  .hero-img img { aspect-ratio: 16 / 10.5; }
  .hero-img::after { inset: auto -22px -22px auto; }
  .hero-card { grid-column: 7 / 13; grid-row: 1; margin: 0; padding: 36px 34px; }
}

/* sections */
.section { padding: 64px 0; }
.section.tight { padding: 26px 0 64px; }
.section.linen-2 { background: var(--linen-2); }
.section.ink { background: var(--ink); color: var(--linen); }
.section.ink .eyebrow { color: var(--clay-soft); }
.section.ink .more { color: var(--clay-soft); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 6px 24px; margin-bottom: 26px; }
.sec-head h2 { margin: 0; }
.page-head { padding: 54px 0 30px; position: relative; }
.page-head::after { content: ""; display: block; width: min(1160px, 100% - 32px); margin: 30px auto 0; height: 12px; background:
  repeating-linear-gradient(90deg, var(--clay) 0 1.5px, transparent 1.5px 48px) 0 0 / 100% 12px no-repeat,
  repeating-linear-gradient(90deg, var(--clay) 0 1px, transparent 1px 12px) 0 0 / 100% 6px no-repeat; }

/* service cards (home) */
.svc-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.svc-card { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.svc-card:hover { transform: translateY(-3px); border-color: var(--clay); }
.svc-card svg { width: 40px; height: 40px; color: var(--clay); margin-bottom: 12px; }
.svc-card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* featured mosaic */
.feature-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.feat { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.feat img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .3s; }
.feat:hover img { transform: scale(1.03); }
.feat span { position: absolute; left: 10px; bottom: 10px; background: var(--paper); color: var(--ink); font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.feat.f0, .feat.f5 { grid-column: span 2; }
.feat.f0 img, .feat.f5 img { aspect-ratio: 16 / 10; }
@media (min-width: 900px) {
  /* 3 x 3: large tile top-left, two tiles stacked beside it, a row of three below */
  .feature-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; }
  .feat img, .feat.f5 img { aspect-ratio: auto; }
  .feat.f0 { grid-column: span 2; grid-row: span 2; }
  .feat.f5 { grid-column: auto; }
  .feat.f0 img { aspect-ratio: auto; }
}

/* steps (home) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: s; border-top: 2px solid var(--clay-soft); padding-top: 16px; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 400 2rem/1 var(--serif); color: var(--clay-soft); display: block; margin-bottom: 10px; }
.steps p { color: #d9d1c4; margin: 0; }

/* form */
.form-wrap { display: grid; gap: 30px; }
@media (min-width: 940px) { .form-wrap { grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 13px; height: 7px; border-left: 2.5px solid var(--sage); border-bottom: 2.5px solid var(--sage); transform: rotate(-45deg); }
.phone-link { display: inline-flex; align-items: center; gap: 8px; font: 400 1.4rem var(--serif); text-decoration: none; color: var(--ink); }
.form { background: var(--paper); border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; }
.chips span { display: inline-block; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .92rem; cursor: pointer; background: var(--linen); }
.chips input:checked + span { background: var(--ink); color: var(--linen); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--clay); outline-offset: 2px; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.form label:not(.chips label) { display: grid; gap: 5px; font-weight: 600; font-size: .92rem; }
input, select, textarea { font: 1rem/1.3 var(--sans); color: var(--ink); background: var(--linen); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--clay); outline: none; box-shadow: 0 0 0 3px rgba(176, 83, 44, .18); }
.form .btn { justify-self: start; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 700; }
.form-status.ok { background: var(--sage-light); border: 2px solid var(--sage); }
.form-status.err { background: #f8e2d8; border: 2px solid var(--clay); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* portfolio */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button { font: 600 .92rem var(--sans); padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; scroll-margin-top: 100px; }
.filters button span { font-size: .78rem; opacity: .7; margin-left: 2px; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--linen); }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery li[hidden] { display: none; }
.gallery figure { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; }
.zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.zoom img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 12px 14px 14px; font-size: .92rem; color: var(--ink-2); }
.gallery figcaption b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay-dark); margin-bottom: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(28, 24, 20, .92); display: grid; place-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; width: auto; border-radius: 8px; }
.lightbox p { color: var(--linen); text-align: center; margin: 12px 0 0; }
.lightbox button { position: absolute; top: 12px; right: 16px; font-size: 2.2rem; line-height: 1; color: var(--linen); background: none; border: 0; cursor: pointer; }

/* services */
.svc-list { display: grid; gap: 56px; }
.svc { display: grid; gap: 22px; align-items: center; scroll-margin-top: 100px; }
.svc img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc .eyebrow svg { width: 22px; height: 22px; color: var(--clay); }
@media (min-width: 900px) {
  .svc { grid-template-columns: 1fr 1fr; gap: 50px; }
  .svc:nth-child(even) img { order: 2; }
}

/* process */
.process-grid { display: grid; gap: 36px; }
@media (min-width: 940px) { .process-grid { grid-template-columns: 1.6fr 1fr; gap: 60px; align-items: start; } }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: repeating-linear-gradient(var(--clay) 0 8px, transparent 8px 14px); }
.timeline li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding-bottom: 30px; position: relative; }
.timeline .n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 2px solid var(--clay); font: 400 1.1rem var(--serif); color: var(--clay-dark); }
.timeline h2 { font-size: 1.55rem; margin: 10px 0 6px; }
.process-side { display: grid; gap: 16px; }
.process-side figure { margin: 0; }
.process-side img { border-radius: var(--radius); }
.note-card { background: var(--sage-light); border-radius: var(--radius); padding: 22px; }
.note-card h2 { font-size: 1.4rem; }

/* CTA */
.cta { display: grid; gap: 18px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--clay); border-radius: var(--radius); padding: 28px; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: var(--ink-2); }
@media (min-width: 860px) { .cta { grid-template-columns: 1.3fr auto; align-items: center; } }

/* footer */
.site-footer { background: var(--ink); color: #d9d1c4; }
.foot-grid { display: grid; gap: 26px; padding: 44px 0 26px; }
@media (min-width: 860px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
@media (min-width: 860px) { .foot-grid.cols-3 { grid-template-columns: 1.5fr 1fr 1fr; } }
.site-footer h2 { font: 700 .8rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-soft); }
.site-footer a { color: var(--linen); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; border-top: 1px solid #4a423a; padding: 16px 0 22px; font-size: .84rem; }
.foot-bottom a { color: var(--clay-soft); font-weight: 700; }
/* illustrative-sample note: subdued but AA (#a39a8d on #2b2621 = 5.4:1) */
.cm-sample-note { margin: 0; font-size: .78rem; line-height: 1.5; color: #a39a8d; }
.foot-bottom .cm-sample-note a { color: #a39a8d; font-weight: 400; text-decoration: underline; }

/* mobile action bar */
.mobile-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(43, 38, 33, .08); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; font-weight: 700; text-decoration: none; color: var(--ink); }
.mobile-bar a:first-child { background: var(--clay); color: #fff; }
@media (min-width: 940px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.process-grid > *, .form-wrap > *, .hero-grid > *, .svc > * { min-width: 0; }
