@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #F7F3EC;
  --paper-2: #EFE8DC;
  --line: #DDD3C3;
  --ink: #1D1A16;
  --ink-2: #4F473D;
  --brand: #24407A;
  --brand-hover: #1A3163;
  --accent: var(--brand);
  --wash: #E2E7F1;
  --night: #172A52;
  --night-deep: #111F3D;
  --night-line: #34497A;
  --night-text: #F4F1EA;
  --night-text-2: #CDD5E5;
  --radius: 6px;
  --wrap: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 4.8vw, 3.8rem); font-weight: 450; max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 450; max-width: 22ch; margin-bottom: .45em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--brand); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-size: .95rem; font-weight: 600; color: var(--accent); margin-bottom: .6rem; }
.section-intro { max-width: 60ch; color: var(--ink-2); font-size: 1.125rem; }
.small { font-size: .92rem; color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--radius);
  background: var(--brand); color: #fff; border: 2px solid var(--brand);
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--wash); color: var(--brand-hover); border-color: var(--brand-hover); }
.btn-light { background: var(--night-text); border-color: var(--night-text); color: var(--night); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 236, .94); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand img { width: 190px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 10px 0; }
.nav-list a:not(.btn):hover { color: var(--accent); text-decoration: underline; }
.nav-toggle { display: none; }

@media (max-width: 880px) {
  .brand img { width: 150px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius);
    font: 600 .95rem var(--sans); color: var(--ink); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
  }
  .nav-toggle-bars::before { position: absolute; top: -6px; }
  .nav-toggle-bars::after { position: absolute; top: 6px; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav-list.open { display: flex; }
  .nav-list a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-list .btn { margin-top: 16px; width: 100%; }
}

/* Hero */
.hero { padding: 64px 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-art { margin: 0; }
.hero-art svg { display: block; width: 100%; height: auto; }
.ha-tag { font: 600 17px var(--sans); fill: var(--ink); }
.ha-tag-ink { fill: var(--brand); }
.ha-dim { font: 500 15px var(--sans); fill: var(--brand); }
.ha-note { font: 500 17px var(--sans); fill: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 56px 0 0; padding: 28px 0 56px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); line-height: 1.2; }
.facts dd { margin: 0; font-size: .98rem; color: var(--ink-2); }
@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-art { max-width: 560px; }
  .ha-tag, .ha-note { font-size: 22px; }
  .ha-dim { font-size: 19px; }
  .facts { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; padding-bottom: 40px; }
}
@media (max-width: 480px) {
  .hero-actions .btn { width: 100%; }
}

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-ink { background: var(--night); color: var(--night-text); }
.section-ink h2, .section-ink h3 { color: var(--night-text); }
.section-ink p { color: var(--night-text-2); }
@media (max-width: 700px) { .section { padding: 60px 0; } }

/* What we make */
.make-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.schedule { margin: 0; border-top: 1px solid var(--ink); }
.schedule div { display: grid; grid-template-columns: 12rem 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.schedule dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; line-height: 1.3; }
.schedule dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .make-grid { grid-template-columns: 1fr; gap: 20px; }
  .schedule div { grid-template-columns: 1fr; gap: 2px; padding: 14px 0; }
}

/* Materials */
.materials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 64px; }
.swatch { aspect-ratio: 3 / 2; border-radius: 3px; background-size: cover; background-position: center; margin-bottom: 18px; box-shadow: 0 1px 0 rgba(29, 26, 22, .12), 0 8px 18px -12px rgba(29, 26, 22, .35); }
.swatch-wood { background-image: url("/assets/wood.svg"); }
.swatch-iron { background-image: url("/assets/iron.svg"); }
.swatch-marble { background-image: url("/assets/marble.svg"); }
.material h3 { margin-bottom: .3em; }
.material p { color: var(--ink-2); margin: 0; }
@media (max-width: 800px) { .materials { grid-template-columns: 1fr; gap: 28px; margin-top: 44px; } .swatch { aspect-ratio: 5 / 2; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { border-top: 2px solid var(--brand); padding-top: 18px; }
.step-num { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--accent); line-height: 1; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: 28px; } }

/* Trust */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 40px; }
.trust-item { border-top: 2px solid var(--night-line); padding-top: 18px; }
.trust-item p { font-size: 1rem; margin: 0; }
.trust-note {
  margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--night-line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.trust-note p { margin: 0; max-width: 62ch; color: var(--night-text); }
.trust-note .btn { flex-shrink: 0; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-note { flex-direction: column; align-items: stretch; }
}

/* Jodhpur */
.jodhpur-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: end; }
.jodhpur-grid > div:first-child p { max-width: 62ch; color: var(--ink-2); }
.local-links p { margin: 0; padding: 18px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.local-links p:last-child { border-bottom: 1px solid var(--line); }
.local-links strong { color: var(--ink); }
@media (max-width: 860px) { .jodhpur-grid { grid-template-columns: 1fr; gap: 24px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-copy p { color: var(--ink-2); }
.send-head { font-weight: 600; color: var(--ink) !important; margin: 1.4em 0 .4em; }
.send-list { margin: 0 0 1.6em; padding-left: 1.1em; color: var(--ink-2); }
.send-list li { padding: 2px 0; }
.send-list li::marker { color: var(--accent); }
.contact-direct a { font-weight: 600; font-size: 1.15rem; word-break: break-word; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; background: #FFFDF9; border: 1px solid var(--line); border-radius: 8px; padding: 32px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #B9AE9C; border-radius: 4px;
  background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--wash); border-color: var(--brand); }
.field [aria-invalid="true"] { border-color: #A3352B; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .98rem; }
.form-status.ok { color: #2D6A45; font-weight: 600; }
.form-status.err { color: #A3352B; font-weight: 600; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; padding: 22px 18px; } .form-actions .btn { width: 100%; } }

/* Footer */
.site-footer { background: var(--night-deep); color: var(--night-text); padding: 48px 0; font-size: .95rem; }
.site-footer a { color: var(--night-text); text-decoration-color: #8FA3CF; }
.site-footer a:hover { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer-logo { width: 210px; height: auto; margin: 0 0 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { display: inline-block; padding: 6px 0; }
.footer-copy { grid-column: 1 / -1; margin: 0; color: var(--night-text-2); border-top: 1px solid var(--night-line); padding-top: 20px; }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }

/* Simple pages */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 780px; }
.page h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page h2 { font-size: 1.5rem; margin-top: 1.8em; max-width: none; }
.page p, .page li { color: var(--ink-2); }

/* Anchor targets clear the sticky header */
section[id] { scroll-margin-top: 72px; }
@media (max-width: 600px) {
  .lede { font-size: 1.1rem; }
  .section-intro { font-size: 1.05rem; }
}
