/* =========================================================
   Choudhary Sons Ltd · CHComfort — site styles
   Colours and fonts are set once here (see :root) so the
   whole site can be re-themed by editing a few values.
   ========================================================= */

@font-face { font-family: "Lora"; src: url("../fonts/lora-var.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic-var.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600; font-display: swap; }

:root {
  --ink: #192923;
  --muted: #5b6962;
  --paper: #f6f3ec;
  --card: #fffdf8;
  --sage: #e7ebe0;
  --sage-2: #dfe6d7;
  --green: #244d3d;
  --green-dark: #173729;
  --leaf: #5d7767;
  --lime: #d4e3a1;
  --line: #dfe2d8;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --radius: 22px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid #7a9a3a; outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .9); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; }
.brand-sub { font-size: 12px; color: var(--muted); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.nav a { text-decoration: none; color: #3d4c44; }
.nav a:hover { color: var(--green); }
.nav .nav-cta { border: 1px solid #aeb9ae; border-radius: 999px; padding: 10px 18px; color: var(--ink); }
.nav .nav-cta:hover { background: var(--green); border-color: var(--green); color: #fff; }
.menu-toggle { display: none; background: none; border: 1px solid #aeb9ae; border-radius: 999px; padding: 9px 16px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }

/* ---------- Typography ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; color: var(--green); }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); }
h1 { font-size: clamp(48px, 7vw, 86px); line-height: 1; letter-spacing: -.035em; margin: 22px 0 24px; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--leaf); }
h2 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.03em; margin: 16px 0 0; }
h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 10px; }
.lead { font-size: 17px; color: var(--muted); max-width: 500px; margin: 0; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { border-color: #c4ccc2; color: var(--ink); }
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-light { background: var(--lime); color: var(--ink); }
.btn-light:hover { background: #e3eec0; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; padding: 64px 0 80px; }
.hero-art { border-radius: 30px; overflow: hidden; background: var(--sage-2); box-shadow: 0 30px 60px -40px rgba(25, 41, 35, .45); }
.hero-art img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- Highlights strip ---------- */
.highlights { border-block: 1px solid var(--line); }
.highlights ul { list-style: none; margin: 0 auto; padding: 22px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.highlights li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: #34463b; }
.highlights li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px var(--sage); }

/* ---------- Sections ---------- */
.section { padding: 104px 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); max-width: 470px; }
.tint { background: var(--sage); }

.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.statement { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.5; letter-spacing: -.01em; margin: 0; }
.statement span { color: var(--leaf); }

/* product feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid #e8e8df; border-radius: var(--radius); padding: 30px; }
.card-no { font-family: var(--serif); font-style: italic; color: #7f957f; font-size: 15px; margin: 0 0 28px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

/* fit guide */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.fit-figure { margin: 0; background: var(--card); border: 1px solid #e8e8df; border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.fit-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.sizes { background: var(--green); color: #fff; border-radius: var(--radius); padding: 34px; }
.sizes h3 { color: #fff; }
.sizes p { color: #d1ddd5; font-size: 14px; margin: 0 0 22px; }
.sizes table { width: 100%; border-collapse: collapse; font-size: 15px; }
.sizes th, .sizes td { text-align: left; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.sizes th { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--lime); }
.sizes td:last-child, .sizes th:last-child { text-align: right; }
.sizes tbody tr:last-child td { border-bottom: 0; }
.sizes .fine { font-size: 12px; color: #b9cbbf; margin: 18px 0 0; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery figure { margin: 0; background: var(--card); border: 1px solid #e8e8df; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 16px 22px; font-size: 14px; }
.gallery figcaption span { color: var(--muted); }
.gallery-note { font-size: 13px; color: var(--muted); margin: 18px 0 0; }

/* where to buy */
.buy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.buy-main { background: var(--card); border: 1px solid #e8e8df; border-radius: var(--radius); padding: 40px; }
.buy-main p { color: var(--muted); max-width: 520px; }
.buy-side { background: var(--sage-2); border-radius: var(--radius); padding: 40px; }
.buy-side p { color: var(--muted); font-size: 15px; margin: 0; }

/* company */
.facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.facts div { padding: 20px 0; border-bottom: 1px solid var(--line); }
.facts div:nth-child(odd) { padding-right: 24px; }
.facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.facts dd { margin: 0; font-size: 16px; }

/* contact */
.contact { background: var(--green); color: #fff; padding: 96px 0; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-intro p { color: #d1ddd5; max-width: 440px; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.contact-list li { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.contact-list .label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--lime); font-weight: 600; padding-top: 3px; }
.contact-list a { text-decoration-color: rgba(255, 255, 255, .4); }
.contact-list a:hover { text-decoration-color: #fff; }
.contact-list address { font-style: normal; }

/* footer */
.site-footer { background: var(--green-dark); color: #c3d1c8; font-size: 13px; padding: 40px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-top .brand-name { color: #fff; }
.footer-top .brand-sub { color: #a9bcb0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: #e2ebe5; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.legal { margin: 22px 0 0; line-height: 1.7; max-width: 900px; }
.legal + .legal { margin-top: 8px; color: #94a99c; font-size: 12px; }

/* ---------- Legal / simple pages ---------- */
.page { padding: 64px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(40px, 6vw, 64px); }
.prose h2 { font-size: 28px; margin: 48px 0 12px; }
.prose p, .prose li { color: #34433b; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose .updated { color: var(--muted); font-size: 14px; }
.back-link { display: inline-flex; gap: 8px; margin-bottom: 28px; font-size: 14px; color: var(--green); text-decoration: none; font-weight: 500; }
.back-link:hover { text-decoration: underline; }
.notfound { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; }
  .hero-art { max-width: 640px; }
  .highlights ul { grid-template-columns: 1fr 1fr; }
  .section-head, .intro-grid, .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .fit, .buy { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .js .nav .nav-cta { margin-top: 14px; text-align: center; border-bottom: 1px solid #aeb9ae; }
  .nav { gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { height: 68px; }
  .js .nav { top: 68px; padding-inline: 16px; }
  .brand-sub { display: none; }
  .section { padding: 72px 0; }
  .highlights ul { grid-template-columns: 1fr; gap: 12px; }
  .gallery { grid-template-columns: 1fr; }
  .card, .buy-main, .buy-side, .sizes { padding: 26px; }
  .facts { grid-template-columns: 1fr; }
  .facts div:nth-child(odd) { padding-right: 0; }
  .contact { padding: 72px 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .actions .btn { flex: 1 1 100%; }
}
