/* ============================================================
   DSR Glass Systems — Site Stylesheet
   Design language: architectural, precise, timeless.
   Palette: deep forest green + warm limestone neutrals +
   sea-glass accent (the colour of a float-glass edge).
   ============================================================ */
:root {
  /* legacy variable names kept for compatibility; values re-tuned */
  --navy: #182C22;        /* forest-800: header, footer, dark bands */
  --navy-2: #21402F;      /* forest-700: dark cards, gradient mids */
  --steel: #4E6154;       /* muted green-grey */
  --accent: #2E6B4A;      /* interactive green (AA on paper/white) */
  --accent-2: #A9C7B4;    /* sea-glass — light accent on dark */
  --ink: #1A2620;         /* body text */
  --muted: #57655C;       /* secondary text */
  --line: #E3E2D6;        /* hairlines */
  --bg: #FAF9F4;          /* warm paper, not pure white */
  --bg-soft: #F1EFE5;     /* limestone/cream sections */
  --forest-900: #12211A;  /* darkest: topbar, footer base */
  --glass-soft: rgba(169, 199, 180, 0.16);
  --radius: 12px;
  --shadow: 0 12px 32px rgba(24, 44, 34, 0.08);
  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 650; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
p  { color: var(--muted); }

.container { width: min(1180px, 92%); margin-inline: auto; }
section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.kicker {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.lead { font-size: 1.13rem; max-width: 760px; line-height: 1.75; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  cursor: pointer; border: 0; text-decoration: none !important;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #24573C; box-shadow: 0 8px 24px rgba(46,107,74,.28); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: rgba(255,255,255,.95); color: var(--navy); }
.btn-light:hover { background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--forest-900); color: #C4D2C6; font-size: 0.84rem;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; font-weight: 600; }
.topbar span { opacity: .9; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(24,44,34,.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none !important; }
.brand img { height: 52px; width: auto; }
.brand .brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: #F5F1E4; line-height: 1.1; letter-spacing: 0; }
.brand .brand-text small { display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); }

nav.main-nav ul { display: flex; gap: 4px; list-style: none; align-items: center; }
nav.main-nav a {
  display: block; padding: 10px 14px; border-radius: 7px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.94rem;
  color: #DCE5DA; text-decoration: none !important;
}
nav.main-nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
nav.main-nav a.active { color: var(--accent-2); }
nav.main-nav .nav-cta { background: var(--accent); color: #fff; margin-left: 10px; font-weight: 600; }
nav.main-nav .nav-cta:hover { background: #24573C; color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: #F5F1E4; margin: 5.5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(165deg, #16281F 0%, #21402F 58%, #2A4E39 100%);
  padding: 120px 0 130px;
}
.hero::before { /* soft light through glass */
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1000px 420px at 88% 8%, rgba(169,199,180,.14), transparent 62%),
    radial-gradient(700px 460px at 6% 100%, rgba(46,107,74,.25), transparent 60%);
}
.hero::after { /* storefront mullion rhythm */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 178px, rgba(255,255,255,.05) 178px 180px);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; max-width: 820px; margin-bottom: 22px; }
.hero p.lead { color: #C9D6C9; margin-bottom: 38px; }
.hero .kicker { color: var(--accent-2); }

.hero-photo {
  background:
    linear-gradient(165deg, rgba(18,33,26,.93) 0%, rgba(24,44,34,.86) 55%, rgba(42,78,57,.82) 100%),
    url("../assets/deck-railing-guelph.jpg") center / cover no-repeat;
}

.hero-page { padding: 92px 0 76px; }
.hero-page h1 { max-width: 920px; }

.breadcrumbs { position: relative; z-index: 2; font-size: .84rem; margin-bottom: 24px; color: #93A996; letter-spacing: .02em; }
.breadcrumbs a { color: #C9D6C9; }

/* ---------- Stats bar ---------- */
.stats { background: var(--navy); color: #fff; padding: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 44px 20px; border-left: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--accent-2); letter-spacing: -0.02em; }
.stat span { font-size: .88rem; color: #A9BBAC; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: border-color .2s ease, box-shadow .2s ease;
}
.card:hover { border-color: var(--accent-2); box-shadow: var(--shadow); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glass-soft); color: var(--accent);
  margin-bottom: 20px;
}
.card .icon svg { display: block; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card ul { margin: 14px 0 0 18px; color: var(--muted); font-size: .93rem; }
.card ul li { margin-bottom: 6px; }
.card .card-link { display: inline-block; margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; }

.card-dark { background: var(--navy-2); border-color: #2C5842; }
.card-dark h3 { color: #fff; }
.card-dark p, .card-dark ul { color: #B7C9BB; }

/* ---------- Project tiles / placeholders ---------- */
.project-tile {
  border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); transition: border-color .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column;
}
.project-tile:hover { border-color: var(--accent-2); box-shadow: var(--shadow); }
.ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center; position: relative; overflow: hidden;
  color: rgba(255,255,255,.92); font-family: var(--font-head); font-weight: 600;
}
.ph::after { /* divided-lite grid, like a glazed elevation */
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255,255,255,.07) 72px 73.5px),
    repeating-linear-gradient(0deg, transparent 0 88px, rgba(255,255,255,.05) 88px 89.5px);
}
.ph .ph-label {
  position: relative; z-index: 2; text-align: center; padding: 0 18px;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85;
}
.ph-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  background: linear-gradient(150deg, #21402F, #2E6B4A);
}
.visual-img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; display: block;
  background: linear-gradient(150deg, #21402F, #2E6B4A);
}
.ph-a { background: linear-gradient(150deg, #21402F, #2E6B4A); }
.ph-b { background: linear-gradient(150deg, #182C22, #4E6154); }
.ph-c { background: linear-gradient(150deg, #2A4E39, #A9C7B4); }
.ph-d { background: linear-gradient(150deg, #1E3A2C, #5F9678); }
.project-info { padding: 24px 26px 28px; }
.project-info .tag {
  display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); background: var(--glass-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.project-info h3 { font-size: 1.06rem; margin-bottom: 6px; }
.project-info p { font-size: .91rem; }

/* ---------- Checklist ---------- */
.checklist { list-style: none; margin-top: 20px; }
.checklist li {
  padding-left: 36px; position: relative; margin-bottom: 14px; color: var(--ink); font-weight: 500;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px;
  width: 24px; height: 24px; border-radius: 50%; background: var(--glass-soft);
  color: var(--accent); font-weight: 700; display: grid; place-items: center; font-size: .78rem;
}
.checklist li small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .visual { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.split .visual .ph { aspect-ratio: 4/3.4; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--navy) 0%, #2A4E39 100%);
  color: #fff; text-align: center; padding: 88px 0;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(90deg, transparent 0 178px, rgba(255,255,255,.05) 178px 180px);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #C9D6C9; max-width: 640px; margin: 0 auto 34px; }
.cta-band .btn-group { justify-content: center; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px; }
.step b.num {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; margin-bottom: 18px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .94rem; }

/* ---------- Sector strip ---------- */
.sector-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.sector-strip span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-size: .86rem; font-weight: 500; color: var(--steel);
}

/* ---------- Areas ---------- */
.areas-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.areas-list span {
  background: var(--glass-soft); border: 1px solid rgba(46,107,74,.22);
  color: var(--navy); border-radius: 999px; padding: 7px 16px; font-size: .87rem; font-weight: 500;
}

/* ---------- FAQ ---------- */
details.faq {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 20px 26px; margin-bottom: 12px;
}
details.faq summary {
  font-family: var(--font-head); font-weight: 600; color: var(--navy);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); flex-shrink: 0; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin-top: 12px; font-size: .95rem; }

/* ---------- Forms ---------- */
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .86rem; color: var(--navy); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: .95rem; color: var(--ink); background: #fff;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,107,74,.14); }
textarea { resize: vertical; min-height: 120px; }

/* ---------- Contact info ---------- */
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .ci-icon {
  flex: 0 0 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--glass-soft); color: var(--accent);
}
.contact-item .ci-icon svg { display: block; }
.contact-item b { font-family: var(--font-head); color: var(--navy); display: block; font-weight: 600; }
.contact-item a { font-weight: 600; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #B7C9BB; padding: 72px 0 0; }
footer.site-footer p { color: #B7C9BB; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: .93rem; }
.footer-grid a { color: #B7C9BB; font-size: .93rem; }
.footer-grid a:hover { color: var(--accent-2); }
.footer-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #F5F1E4; }
.footer-brand small { display: block; font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }
.footer-note { font-size: .9rem; margin-top: 16px; max-width: 300px; }
.footer-bottom {
  background: var(--forest-900);
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; font-size: .82rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1280px) {
  nav.main-nav a { padding: 9px 10px; font-size: .88rem; }
  nav.main-nav .nav-cta { margin-left: 4px; }
}
@media (max-width: 990px) {
  nav.main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--forest-900);
    border-top: 3px solid var(--accent);
    box-shadow: 0 28px 56px rgba(0, 0, 0, .5);
    max-height: calc(100vh - 90px); overflow-y: auto;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; padding: 8px 6% 20px; gap: 0; }
  nav.main-nav li + li { border-top: 1px solid rgba(255, 255, 255, .09); }
  nav.main-nav a { font-size: 1.02rem; padding: 15px 6px; border-radius: 0; color: #F0F5EF; font-weight: 600; }
  nav.main-nav a:hover { background: none; color: var(--accent-2); }
  nav.main-nav a.active { color: var(--accent-2); }
  nav.main-nav .nav-cta { margin: 14px 0 4px; text-align: center; border-radius: 8px; background: var(--accent); }
  .nav-toggle { display: block; }
}
@media (max-width: 720px) {
  section { padding: 64px 0; }
  .hero { padding: 84px 0 96px; }
  .grid-3, .grid-4, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* ---------- Testimonials ---------- */
figure.quote { position: relative; padding-top: 42px; }
figure.quote::before {
  content: "\201C"; position: absolute; top: 18px; left: 28px;
  font-family: Georgia, serif; font-size: 3rem; line-height: 1;
  color: var(--accent-2);
}
figure.quote blockquote { color: var(--ink); font-size: .97rem; line-height: 1.75; margin-bottom: 18px; }
figure.quote figcaption b { font-family: var(--font-head); font-weight: 600; color: var(--navy); display: block; }
figure.quote figcaption span { display: block; font-size: .84rem; color: var(--muted); }

/* ---------- Related-services cards ---------- */
a.related-card { display: block; text-decoration: none !important; }
a.related-card h3 { margin-bottom: 8px; }
a.related-card:hover h3 { color: var(--accent); }

/* ---------- Sticky mobile action bar ---------- */
.mobile-cta { display: none; }
@media (max-width: 720px) {
  .mobile-cta {
    display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    box-shadow: 0 -6px 20px rgba(18, 33, 26, .2);
  }
  .mobile-cta a {
    flex: 1; text-align: center; padding: 16px 10px;
    font-family: var(--font-head); font-weight: 600; font-size: .95rem;
    text-decoration: none !important;
  }
  .mobile-cta .call { background: var(--navy); color: #fff; }
  .mobile-cta .quote { background: var(--accent); color: #fff; }
  body { padding-bottom: 54px; }
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--accent); color: #fff; padding: 12px 22px;
  border-radius: 0 0 10px 0; font-family: var(--font-head); font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #5F9678; outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* ---------- Project detail pages ---------- */
.project-info h3 a { color: inherit; text-decoration: none !important; }
.project-info h3 a:hover { color: var(--accent); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.spec { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 22px; }
.spec b {
  display: block; font-family: var(--font-head); font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.spec span { color: var(--ink); font-weight: 500; font-size: .95rem; }
@media (max-width: 720px) { .spec-grid { grid-template-columns: 1fr; } }


/* ---------- Wide service highlight (home) ---------- */
.service-wide { display: flex; gap: 26px; align-items: flex-start; margin-top: 24px; }
.service-wide .icon { flex-shrink: 0; margin-bottom: 0; }
.card-dark .icon { background: rgba(169, 199, 180, 0.14); color: var(--accent-2); }
.card-dark .card-link { color: var(--accent-2); }
.card-dark .card-link:hover { color: #fff; }
@media (max-width: 720px) { .service-wide { flex-direction: column; gap: 18px; } }


/* ---------- Service page hero backgrounds ---------- */
.hero-photo-commercial {
  background:
    linear-gradient(165deg, rgba(18,33,26,.93) 0%, rgba(24,44,34,.87) 55%, rgba(42,78,57,.83) 100%),
    url("../assets/interior-glazing-waterloo.jpg") center / cover no-repeat;
}
.hero-photo-residential {
  background:
    linear-gradient(165deg, rgba(18,33,26,.93) 0%, rgba(24,44,34,.87) 55%, rgba(42,78,57,.83) 100%),
    url("../assets/shower-sliding-guelph.jpg") center / cover no-repeat;
}
.hero-photo-custom {
  background:
    linear-gradient(165deg, rgba(18,33,26,.93) 0%, rgba(24,44,34,.87) 55%, rgba(42,78,57,.83) 100%),
    url("../assets/hero-shower.jpg") center / cover no-repeat;
}
.hero-photo-access {
  background:
    linear-gradient(165deg, rgba(18,33,26,.93) 0%, rgba(24,44,34,.87) 55%, rgba(42,78,57,.83) 100%),
    url("../assets/storefront-kitchener.jpg") center / cover no-repeat;
}


/* ---------- Service-area coverage map ---------- */
.area-map-card {
  background: linear-gradient(160deg, #16281F, #21402F);
  border-radius: var(--radius); padding: 24px 18px 16px;
  box-shadow: var(--shadow);
}
.area-map { width: 100%; height: auto; display: block; }
.area-map-caption {
  text-align: center; color: var(--accent-2); font-family: var(--font-head);
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  margin-top: 12px; padding-bottom: 4px;
}

/* ---------- Footer logo ---------- */
.footer-logo { height: 54px; width: auto; margin-bottom: 6px; }

/* ---------- Mobile-first project tiles ---------- */
@media (max-width: 720px) {
  #project-grid { gap: 14px; }
  .project-tile { flex-direction: row; align-items: stretch; }
  .project-tile .ph,
  .project-tile .ph-img {
    width: 124px; min-width: 124px; aspect-ratio: auto; height: auto; min-height: 124px;
    object-fit: cover;
  }
  .ph .ph-label { font-size: .55rem; letter-spacing: .1em; padding: 0 8px; }
  .project-info { padding: 14px 16px 16px; }
  .project-info .tag { font-size: .6rem; padding: 3px 9px; margin-bottom: 6px; }
  .project-info h3 { font-size: .95rem; margin-bottom: 4px; }
  .project-info p {
    font-size: .84rem; line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
}


/* ---------- Form: Netlify honeypot + privacy note ---------- */
.hidden-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.form-privacy { font-size: .82rem; margin-top: 16px; color: var(--muted); line-height: 1.6; }
.form-privacy svg { color: var(--accent); }


/* ---------- Site credit ---------- */
.footer-bottom .site-credit { opacity: .8; }
.footer-bottom .site-credit a { color: var(--accent-2); }
