/* ==========================================================================
   IronBark Leathers — main stylesheet
   Palette (from brand guide):
     Natural Parchment #F3EBDD  — page background (45%)
     Dark Walnut       #493326  — brand: header, footer, headings (25%)
     Saddle Brown      #78533A  — secondary: accents, secondary buttons (15%)
     Muted Olive       #777653  — accent: badges, rules, icons only (5%)
     Charcoal          #292823  — body text & specs (10%)
   ========================================================================== */

:root {
  --parchment: #F3EBDD;
  --parchment-deep: #E9DDC8;   /* slightly darker parchment for alternating sections */
  --parchment-line: #D8C7AB;   /* hairlines on parchment */
  --walnut: #493326;
  --walnut-deep: #3A281E;
  --saddle: #78533A;
  --saddle-dark: #5F412D;
  --olive: #777653;
  --olive-deep: #5C5B3F;       /* success messages */
  --brick: #8E3B2E;            /* error messages */
  --charcoal: #292823;
  --muted: #5B5148;            /* secondary text on parchment (≈7:1) */

  /* Two fonts only: Cormorant Garamond (headings) + DM Sans (everything else) */
  --font-display: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  --font-body: "DM Sans", "DM Sans Fallback", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1320px;
  --radius: 3px;
  --shadow: 0 1px 2px rgba(41, 40, 35, .08), 0 8px 24px rgba(41, 40, 35, .10);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.2 0 0 0 0 0.15 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Local fallback fonts adjusted to the size of the web fonts, so text does not
   jump when Cormorant Garamond and DM Sans finish loading */
@font-face { font-family: "Cormorant Fallback"; src: local("Times New Roman"), local("Times"), local("Liberation Serif"); size-adjust: 88%; ascent-override: 104%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"), local("Helvetica"), local("Liberation Sans"); size-adjust: 104%; ascent-override: 95%; descent-override: 30%; line-gap-override: 0%; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background-color: var(--parchment);
  background-image: var(--grain);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
a { color: var(--saddle); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--walnut); }
:focus-visible { outline: 2px solid var(--saddle); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--walnut);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); line-height: 1.08; }
h2 { font-size: clamp(2.05rem, 3.8vw, 2.9rem); line-height: 1.12; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--walnut); color: var(--parchment); padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow labels — letterpress small caps */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--saddle);
  margin: 0 0 .7em;
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--olive); }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--olive); }

.lead { font-size: 1.12rem; color: var(--muted); max-width: 46em; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Ornamental divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--olive); margin: 6px auto 26px; max-width: 260px;
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: currentColor; }
.ornament span { font-size: .8rem; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .84rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 1.1em 2em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--walnut); color: var(--parchment); border-color: var(--walnut); }
.btn-primary:hover { background: var(--walnut-deep); color: var(--parchment); }
.btn-secondary { background: var(--saddle); color: var(--parchment); border-color: var(--saddle); }
.btn-secondary:hover { background: var(--saddle-dark); color: var(--parchment); }
.btn-outline { background: transparent; color: var(--walnut); border-color: var(--walnut); }
.btn-outline:hover { background: var(--walnut); color: var(--parchment); }
.btn-light { background: var(--parchment); color: var(--walnut); border-color: var(--parchment); }
.btn-light:hover { background: #fff8ec; color: var(--walnut); }
.btn-ghost-light { background: transparent; color: var(--parchment); border-color: rgba(243, 235, 221, .7); }
.btn-ghost-light:hover { background: rgba(243, 235, 221, .12); color: var(--parchment); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Top bar & header ---------- */

.site-header {
  background: var(--walnut);
  background-image: var(--grain);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px double rgba(243, 235, 221, .35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 96px; max-width: none; padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }
/* Logo always sits fully inside the header (shrinks slightly on scroll, see animations.css) */
.brand { display: flex; align-items: center; text-decoration: none; margin: 8px 0; }
.brand img { height: 80px; width: auto; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a.nav-link, .nav button.nav-link {
  display: block; padding: 10px 14px;
  color: var(--parchment); text-decoration: none;
  font-family: var(--font-body); font-weight: 500; font-size: .97rem; letter-spacing: .02em;
  background: none; border: 0; cursor: pointer;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav a.nav-link[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: rgba(243, 235, 221, .6); }
.nav .btn { margin-left: 10px; padding: .7em 1.3em; }

.has-sub { position: relative; }
.nav-link .caret { font-size: .7em; margin-left: 4px; }
.subnav {
  list-style: none; margin: 0; padding: 10px 0;
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: var(--parchment); border: 1px solid var(--parchment-line); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.open .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 9px 20px; color: var(--charcoal); text-decoration: none; font-size: .95rem; font-weight: 500; }
.subnav a:hover { background: var(--parchment-deep); color: var(--walnut); }
.subnav li.all a { border-top: 1px solid var(--parchment-line); margin-top: 6px; padding-top: 12px; color: var(--saddle); font-weight: 500; }

.menu-toggle { display: none; background: none; border: 1px solid rgba(243, 235, 221, .5); color: var(--parchment); padding: 8px 12px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .04em; cursor: pointer; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    background: var(--walnut); background-image: var(--grain);
    flex-direction: column; align-items: stretch; padding: 90px 22px 30px;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, .3);
  }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a.nav-link, .nav button.nav-link { padding: 14px 6px; border-bottom: 1px solid rgba(243, 235, 221, .15); width: 100%; text-align: left; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
  .has-sub.open .subnav { display: block; }
  .subnav a { color: rgba(243, 235, 221, .9); padding: 9px 6px; }
  .subnav a:hover { background: transparent; color: #fff; }
  .subnav li.all a { border-top: 0; color: rgba(243, 235, 221, .9); }
  .nav .btn { margin: 20px 0 0; }
  .nav-close { position: absolute; top: 22px; right: 22px; }
  body.nav-open { overflow: hidden; }
  .site-header .wrap { min-height: 84px; }
  .brand { margin: 6px 0; }
  .brand img { height: 68px; }
}
@media (min-width: 981px) { .nav-close { display: none; } }
.nav-backdrop { display: none; }
body.nav-open .nav-backdrop { display: block; position: fixed; inset: 0; background: rgba(41, 40, 35, .5); z-index: 99; }
.site-header .nav { z-index: 101; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--parchment);
  background: var(--walnut) center/cover no-repeat;
  min-height: min(88vh, 760px);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(41, 30, 22, .92) 0%, rgba(58, 40, 30, .78) 45%, rgba(58, 40, 30, .35) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; }
.hero-content { max-width: 680px; }
.hero h1 { color: var(--parchment); }
.hero .eyebrow { color: #E8D9C0; }
.hero .eyebrow::before { background: #E8D9C0; }
.hero .tagline { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 1.8rem); color: #EADCC5; margin-bottom: 1.1em; }
.hero p.lead { color: rgba(243, 235, 221, .9); }
.hero .btn-row { margin-top: 28px; }
.hero-stamp { position: absolute; right: 6%; bottom: 10%; width: 170px; z-index: 1; opacity: .9; }
@media (max-width: 900px) { .hero-stamp { display: none; } }

/* Inner page banner */
.page-banner {
  position: relative; color: var(--parchment);
  background: var(--walnut) center/cover no-repeat;
  padding: 90px 0 80px; text-align: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(46, 32, 24, .82); }
.page-banner .wrap { position: relative; z-index: 1; }
.page-banner h1 { color: var(--parchment); margin-bottom: .3em; }
.page-banner p { color: rgba(243, 235, 221, .88); max-width: 40em; margin: 0 auto; font-size: 1.12rem; }
.page-banner .eyebrow { color: #E8D9C0; }
.page-banner .eyebrow::before, .page-banner .eyebrow::after { background: #E8D9C0; }
.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: rgba(243, 235, 221, .8); }
.breadcrumb a { color: var(--parchment); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-alt { background-color: var(--parchment-deep); background-image: var(--grain); border-top: 1px solid var(--parchment-line); border-bottom: 1px solid var(--parchment-line); }
.section-dark { background-color: var(--walnut); background-image: var(--grain); color: rgba(243, 235, 221, .9); }
.section-dark h2, .section-dark h3 { color: var(--parchment); }
.section-dark .eyebrow { color: #E8D9C0; }
.section-dark .eyebrow::before, .section-dark .eyebrow::after { background: #B9B58C; }
.section-head { margin-bottom: 52px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse > :first-child { order: 0; } }

/* Framed photo — vintage mount */
.framed { position: relative; padding: 12px; background: #FBF6EC; border: 1px solid var(--parchment-line); box-shadow: var(--shadow); }
.framed img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.framed figcaption { font-family: var(--font-body); font-weight: 500; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; color: var(--muted); text-align: center; padding-top: 10px; }
.framed.tall img { aspect-ratio: 4 / 5; }

/* ---------- Stamp / trust strip ---------- */
.trust-strip { background: var(--parchment-deep); border-top: 1px solid var(--parchment-line); border-bottom: 1px solid var(--parchment-line); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 26px 18px; border-left: 1px solid var(--parchment-line); }
.trust-item:first-child { border-left: 0; }
.trust-item svg { flex: none; width: 42px; height: 42px; color: var(--olive); }
.trust-item strong { display: block; font-family: var(--font-display); font-weight: 700; color: var(--walnut); font-size: 1.28rem; line-height: 1.2; margin-bottom: 2px; }
.trust-item span { font-size: .9rem; color: var(--muted); line-height: 1.4; display: block; }
@media (max-width: 900px) { .trust-strip .wrap { grid-template-columns: 1fr 1fr; } .trust-item:nth-child(3) { border-left: 0; } .trust-item { border-top: 1px solid var(--parchment-line); } .trust-item:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 520px) { .trust-strip .wrap { grid-template-columns: 1fr; } .trust-item { border-left: 0; border-top: 1px solid var(--parchment-line); } .trust-item:first-child { border-top: 0; } .trust-item:nth-child(2) { border-top: 1px solid var(--parchment-line); } }

/* ---------- Product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.card-grid > * { grid-column: span 2; }
.card-grid > :nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 980px) { .card-grid { grid-template-columns: 1fr 1fr; } .card-grid > *, .card-grid > :nth-child(4) { grid-column: auto; } .card-grid > :nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; width: 100%; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } .card-grid > :nth-child(5) { max-width: none; } }

.product-card {
  background: #FBF6EC; border: 1px solid var(--parchment-line);
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  transition: transform .25s, box-shadow .25s;
  position: relative;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: inherit; }
.product-card .media { position: relative; overflow: hidden; }
.product-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card .tag {
  position: absolute; left: 14px; top: 14px;
  background: var(--olive); color: #fff; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .7rem;
  padding: 4px 10px; border-radius: 2px;
}
.product-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; border-top: 3px solid var(--saddle); }
.product-card h3 { margin-bottom: .35em; }
.product-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.product-card .more { font-family: var(--font-body); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--saddle); }
.product-card:hover .more { color: var(--walnut); }

/* ---------- Feature / reasons ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 30px 26px; position: relative; }
.section-dark .feature { background: rgba(0, 0, 0, .08); }
.feature .num { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; color: #C9B48F; line-height: 1; display: block; margin-bottom: 14px; }
.feature h3 { font-size: 1.5rem; }
.feature p { font-size: .98rem; margin: 0; }
.section-dark .feature p { color: rgba(243, 235, 221, .82); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--saddle); opacity: .5; }
.step { text-align: center; padding: 0 18px; position: relative; }
.step .badge {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--parchment);
  border: 2px solid var(--walnut); box-shadow: 0 0 0 5px var(--parchment), 0 0 0 6px var(--olive);
  font-family: var(--font-display); font-weight: 600; font-size: 1.75rem; color: var(--walnut); position: relative;
}
.section-alt .step .badge { background: var(--parchment-deep); box-shadow: 0 0 0 5px var(--parchment-deep), 0 0 0 6px var(--olive); }
.step h3 { font-size: 1.45rem; margin-bottom: .3em; }
.step p { font-size: .95rem; color: var(--muted); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; } .steps::before { display: none; } }
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--saddle); background-image: var(--grain); color: var(--parchment); padding: 70px 0; position: relative; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: var(--parchment); margin-bottom: .25em; }
.cta-band p { margin: 0; color: rgba(243, 235, 221, .9); max-width: 36em; }

/* ---------- Product detail ---------- */
.traits { list-style: none; padding: 0; margin: 24px 0 30px; }
.traits li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--parchment-line); position: relative; }
.traits li::before { content: "◆"; position: absolute; left: 6px; top: 12px; color: var(--olive); font-size: .8rem; }
.traits strong { color: var(--walnut); }

.uses { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.uses li { border: 1px solid var(--saddle); color: var(--walnut); padding: 6px 16px; border-radius: 40px; font-size: .95rem; background: #FBF6EC; }

.spec-note { font-size: .95rem; color: var(--muted); margin-top: 16px; }

.notice { border-left: 4px solid var(--olive); background: #FBF6EC; padding: 18px 22px; margin: 26px 0 0; font-size: .98rem; }
.notice strong { color: var(--walnut); }

.other-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .other-products { grid-template-columns: 1fr 1fr; } }
.mini-card { display: block; text-decoration: none; color: var(--walnut); background: #FBF6EC; border: 1px solid var(--parchment-line); transition: .2s; }
.mini-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-card span { display: block; padding: 12px 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; border-top: 3px solid var(--saddle); }
.mini-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--walnut); }

/* Terminology guide (products page) */
.glossary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--parchment-line); background: #FBF6EC; }
.glossary div { padding: 26px 24px; border-right: 1px solid var(--parchment-line); border-bottom: 1px solid var(--parchment-line); }
.glossary div:nth-child(3n) { border-right: 0; }
.glossary div:nth-last-child(-n+3) { border-bottom: 0; }
.glossary h3 { font-size: 1.4rem; margin-bottom: .35em; }
.glossary p { font-size: .96rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .glossary { grid-template-columns: 1fr 1fr; } .glossary div { border-right: 1px solid var(--parchment-line) !important; border-bottom: 1px solid var(--parchment-line) !important; } .glossary div:nth-child(2n) { border-right: 0 !important; } }
@media (max-width: 560px) { .glossary { grid-template-columns: 1fr; } .glossary div { border-right: 0 !important; } }

/* Category list rows (products page) */
.cat-row { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; padding: 36px 0; border-bottom: 1px solid var(--parchment-line); }
.cat-row:last-child { border-bottom: 0; }
.cat-row h3 { font-size: 2.1rem; }
.cat-row .framed { padding: 8px; }
@media (max-width: 760px) { .cat-row { grid-template-columns: 1fr; gap: 20px; } }

/* ---------- Values / quality list ---------- */
.value-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; }
@media (max-width: 760px) { .value-list { grid-template-columns: 1fr; } }
.value { display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.value svg { width: 46px; height: 46px; color: var(--olive); }
.value h3 { font-size: 1.5rem; margin-bottom: .3em; }
.value p { margin: 0; color: var(--muted); }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before { content: ""; position: absolute; left: 33px; top: 10px; bottom: 10px; border-left: 2px dashed var(--saddle); opacity: .55; }
.timeline li { display: grid; grid-template-columns: 68px 1fr; gap: 24px; padding-bottom: 38px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .badge { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--walnut); color: var(--parchment); font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; box-shadow: 0 0 0 5px var(--parchment), 0 0 0 6px var(--olive); position: relative; }
.timeline h3 { margin: 12px 0 .3em; }
.timeline p { margin: 0; color: var(--muted); }

/* Hidden-by-default content blocks (switch on when info is available) */
.is-placeholder-hidden { display: none !important; }

/* ---------- Forms ---------- */
.form-card { background: #FBF6EC; border: 1px solid var(--parchment-line); padding: 40px; box-shadow: var(--shadow); position: relative; }
@media (max-width: 560px) { .form-card { padding: 26px 20px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; position: relative; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--font-body); font-weight: 500; color: var(--walnut); margin-bottom: 6px; font-size: .92rem; }
.field label .req { color: var(--brick); }
.field label .opt { font-family: var(--font-body); font-weight: 400; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--charcoal);
  background: #fff; border: 1px solid #CDBB9C; border-radius: var(--radius);
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saddle); box-shadow: 0 0 0 3px rgba(120, 83, 58, .18); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 5px; display: block; }
.field-row { display: grid; grid-template-columns: 1fr 140px; gap: 10px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checks label { font-family: var(--font-body); font-weight: 400; color: var(--charcoal); display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.checks input { width: auto; accent-color: var(--saddle); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-actions small { color: var(--muted); }

.alert { padding: 16px 20px; border-radius: var(--radius); margin-bottom: 24px; font-size: 1rem; position: relative; }
.alert-error { background: #F6E3DE; border: 1px solid #D8A99F; color: var(--brick); }
.alert-success { background: #E8E8DA; border: 1px solid #B9B79A; color: var(--olive-deep); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--walnut); background-image: var(--grain); color: rgba(243, 235, 221, .9); padding: 36px 32px; position: relative; }
.contact-card h2 { color: var(--parchment); font-size: 1.6rem; }
.contact-list { list-style: none; padding: 0; margin: 0; position: relative; z-index: 1; }
.contact-list li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(243, 235, 221, .16); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list svg { width: 22px; height: 22px; color: #C9C59C; margin-top: 3px; }
.contact-list .label { display: block; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; margin-bottom: 2px; color: #D9C8AA; }
.contact-list a { color: var(--parchment); text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.map-placeholder { margin-top: 26px; aspect-ratio: 16 / 9; background: var(--parchment-deep); border: 1px dashed #BFA987; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; font-size: .95rem; }
.map-embed { margin-top: 26px; border: 1px solid var(--parchment-line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--walnut-deep); background-image: var(--grain); color: rgba(243, 235, 221, .78); padding: 76px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 54px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: var(--parchment); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; margin-bottom: 20px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(243, 235, 221, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 150px; width: auto; margin-bottom: 20px; }
.footer-brand .tagline { font-family: var(--font-display); font-weight: 500; color: #E2D3B8; font-size: 1.3rem; line-height: 1.3; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(243, 235, 221, .35); border-radius: 50%; }
.social a:hover { background: rgba(243, 235, 221, .1); text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(243, 235, 221, .14); padding: 22px 0; font-size: .88rem; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
/* Full-width footer, matching the header margins */
.site-footer .wrap { max-width: none; padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }

/* ---------- Back-to-top arrow ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--walnut); color: var(--parchment);
  border: 2px solid var(--parchment);
  outline: 1px solid var(--walnut); outline-offset: 0;
  display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 6px 18px rgba(41, 40, 35, .35);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--saddle); transform: translateY(-2px); }
.to-top svg { width: 22px; height: 22px; }
@media (max-width: 600px) { .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; } }

/* ---------- Misc ---------- */
.prose { max-width: 760px; }
.prose p { font-size: 1.03rem; }
.dropcap::first-letter { float: left; font-family: var(--font-display); font-weight: 600; font-size: 4.8rem; line-height: .85; padding: 6px 10px 0 0; color: var(--saddle); }
.signature { font-family: var(--font-display); font-weight: 600; color: var(--walnut); font-size: 1.5rem; }
/* Scroll reveals and all other motion live in css/animations.css */

.error-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.error-page .big { font-family: var(--font-display); font-weight: 600; font-size: clamp(5rem, 14vw, 9rem); color: var(--saddle); line-height: 1; margin-bottom: 10px; }
.glossary em { font-style: normal; font-weight: 600; color: var(--walnut); }

/* Product page: typical uses (centred) */
.uses-block .lead { margin-bottom: 26px; }
.center .uses { justify-content: center; max-width: 860px; margin: 0 auto; gap: 12px; }
.uses-block .uses li { font-size: 1rem; font-weight: 500; padding: 9px 20px; }
.uses-block .notice { max-width: 760px; margin: 34px auto 0; text-align: left; }
.uses-cta { max-width: 640px; margin: 40px auto 24px; color: var(--muted); }
.field input, .field select { min-height: 52px; }
/* Footer contact list with icons */
.footer-contact li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; margin-bottom: 14px; }
.footer-contact svg { width: 18px; height: 18px; color: #C9C59C; margin-top: 4px; }

/* Quote form: product lines */
.product-lines { border: 0; margin: 0; padding: 0; min-width: 0; }
.product-lines legend { font-family: var(--font-body); font-weight: 500; color: var(--walnut); font-size: .92rem; margin-bottom: 8px; padding: 0; }
.line-head, .product-line { display: grid; grid-template-columns: minmax(0, 1fr) 150px 120px 44px; gap: 10px; }
.line-head span { font-size: .8rem; color: var(--muted); }
.product-line { margin-bottom: 10px; align-items: center; }
.product-line select, .product-line input { width: 100%; font: inherit; font-size: 1rem; color: var(--charcoal); background: #fff; border: 1px solid #CDBB9C; border-radius: var(--radius); padding: 12px 14px; min-height: 52px; }
.product-line select:focus, .product-line input:focus { outline: none; border-color: var(--saddle); box-shadow: 0 0 0 3px rgba(120, 83, 58, .18); }
.product-line input::-webkit-outer-spin-button, .product-line input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-line input[type=number] { -moz-appearance: textfield; }
.product-line option:disabled { color: #b3a898; }
.line-remove { width: 44px; height: 44px; border: 1px solid #CDBB9C; background: transparent; color: var(--saddle); border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.line-remove:hover { background: var(--parchment-deep); color: var(--walnut); }
.line-remove[hidden] { display: block; visibility: hidden; }
.add-line { background: none; border: 1px dashed var(--saddle); color: var(--saddle); font: inherit; font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: var(--radius); cursor: pointer; margin: 4px 0 8px; }
.add-line:hover { background: var(--parchment-deep); color: var(--walnut); }
.add-line[hidden] { display: none; }
.product-lines .hint { display: block; font-size: .85rem; color: var(--muted); }
@media (max-width: 640px) {
  .line-head { display: none; }
  .product-line { grid-template-columns: 1fr 1fr 44px; padding-bottom: 12px; border-bottom: 1px dashed var(--parchment-line); }
  .product-line select:first-child { grid-column: 1 / -1; }
}
.footer-bottom .wrap { padding-right: calc(clamp(24px, 3vw, 48px) + 64px); }

/* Editorial text sections (heading on the left, text on the right; no photo) */
.editorial { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
.editorial-head h2 { margin-bottom: 0; }
.editorial-head::after { content: ""; display: block; width: 64px; height: 2px; background: var(--saddle); margin-top: 24px; }
.section-dark .editorial-head::after { background: #C9B48F; }
.editorial-body { max-width: 680px; }
.editorial-body > :first-child { margin-top: .35em; }
.editorial-body p { font-size: 1.04rem; }
.editorial-body .lead { font-size: 1.15rem; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Accent bars & finishing details (replaces the stitched borders) ---------- */
/* "Why IronBark" boxes */
.section-dark .feature { border-top: 3px solid #C9B48F; box-shadow: inset 0 0 0 1px rgba(243, 235, 221, .10); transition: transform .3s cubic-bezier(.22, .61, .36, 1), background-color .3s ease; }
.section-dark .feature .num { font-size: 3.2rem; color: #C9B48F; margin-bottom: 18px; }
@media (hover: hover) { .section-dark .feature:hover { transform: translateY(-4px); background: rgba(0, 0, 0, .14); } }

/* Band above the footer: leather photo under a warm saddle-brown overlay */
.cta-band {
  border-top: 3px solid #C9B48F;
  background-color: var(--saddle);
  background-image: linear-gradient(100deg, rgba(110, 74, 50, .94) 0%, rgba(120, 83, 58, .88) 55%, rgba(95, 65, 45, .80) 100%), url("../images/hero.jpg");
  background-size: cover; background-position: center;
}

/* Contact cards: gold bar, gold line under the heading, faint tree watermark */
.contact-card { border-top: 3px solid #C9B48F; overflow: hidden; }
.contact-card::before {
  content: ""; position: absolute; right: -40px; bottom: -20px; width: 300px; height: 190px;
  background: url("../images/tree-mark.png") no-repeat right bottom / contain;
  opacity: .08; pointer-events: none;
}
.contact-card h2 { position: relative; z-index: 1; }
.contact-card h2::after { content: ""; display: block; width: 48px; height: 2px; background: #C9B48F; margin-top: 14px; }
.contact-card > p { position: relative; z-index: 1; }

/* Form boxes: saddle bar and a heading strip */
.form-card { border-top: 3px solid var(--saddle); }
.form-head { padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--parchment-line); }
.form-head .eyebrow { margin-bottom: .5em; }
.form-head h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin-bottom: .3em; }
.form-head p:last-child { margin: 0; color: var(--muted); }

/* Home banner text lines up with the logo (same left margin as header and footer) */
.hero .wrap { max-width: none; padding-left: clamp(24px, 3vw, 48px); padding-right: clamp(24px, 3vw, 48px); }

/* ---------- Two photos per product ---------- */
/* Cards: colour range photo (no image swap on hover) */
.product-card .media, .mini-card .media { position: relative; overflow: hidden; }
.mini-card .media img { display: block; }
.product-card .tag { z-index: 1; }

/* Product page: raw and finished sections (images open full screen) */
.zoom-hint {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(41, 30, 22, .72); color: var(--parchment);
  opacity: .85; transition: opacity .25s ease, transform .25s ease;
}
.zoom-hint svg { width: 18px; height: 18px; }
.c-btn:hover .zoom-hint, .c-btn:focus-visible .zoom-hint { opacity: 1; transform: scale(1.08); }

.source-note {
  margin-top: 22px; padding: 14px 18px; background: #FBF6EC; border-left: 3px solid var(--olive);
  font-size: .95rem; color: var(--muted);
}
.stage .split { align-items: center; }
.stage-text h2 { margin-bottom: .45em; }
.stage-text .traits { margin: 18px 0 26px; }
.uses-title { font-size: 1.35rem; margin: 6px 0 14px; }
.stage-text .uses { margin-bottom: 26px; }
.stage-text .notice { margin: 0 0 26px; }

/* Full-screen viewer */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.lightbox::backdrop { background: rgba(26, 18, 13, .92); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; animation: lb-in .3s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 48px 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox figcaption { color: rgba(243, 235, 221, .85); font-size: .9rem; margin-top: 14px; text-align: center; }
.lightbox button { background: rgba(243, 235, 221, .08); border: 1px solid rgba(243, 235, 221, .35); color: var(--parchment); cursor: pointer; border-radius: 50%; transition: background-color .2s ease; }
.lightbox button:hover { background: rgba(243, 235, 221, .2); }
.lb-prev, .lb-next { width: 48px; height: 48px; font-size: 1.9rem; line-height: 1; justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lightbox figure { grid-row: 1; }
.lb-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; z-index: 2; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox figure { grid-column: 1; padding: 60px 10px 90px; }
  .lb-prev, .lb-next { position: fixed; bottom: 22px; grid-column: auto; }
  .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); }
}
body.lb-open { overflow: hidden; }


/* ---------- Product page: two square photos in a zigzag (full skin, then colour range) ---------- */
.zoomable { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.zoomable:hover .zoom-hint, .zoomable:focus-visible .zoom-hint { opacity: 1; transform: scale(1.08); }
.shot { padding: 10px 10px 0; }
.shot img, .framed-square img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.shot figcaption { padding: 10px 6px 12px; }
.product-showcase .split, .product-colours .split { align-items: center; gap: 72px; }
.product-colours .uses { margin-bottom: 22px; }
.product-colours .source-note { margin: 0 0 26px; }
@media (max-width: 900px) {
  .product-showcase .split, .product-colours .split { gap: 32px; }
  .shot { max-width: 560px; width: 100%; margin: 0 auto; }
  /* On phones and tablets the photo always comes first, then the text */
  .product-colours .split > :last-child { order: -1; }
}
/* Products page rows: square full-skin photo */
.cat-row .framed-square { padding: 8px; }

/* Catalogue number above each product name (No. 01 to No. 05), like a leather sample book */
.cat-no {
  display: block; margin-bottom: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: .06em;
  color: var(--olive);
}

/* ==========================================================================
   Heritage header: centred "maker's mark" logo with the menu split around it,
   diamond details, and a "Request a Quote" button shaped like a leather tag
   ========================================================================== */
.site-header .wrap.header-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 24px;
  min-height: 84px; transition: min-height .3s cubic-bezier(.22, .61, .36, 1);
}

/* Centred logo that hangs a little below the bar, like a tag stitched onto a bag */
.site-header .brand {
  grid-column: 2; grid-row: 1; align-self: start; justify-self: center;
  position: relative; z-index: 3; margin: 8px 0 -40px;
  transition: margin .3s cubic-bezier(.22, .61, .36, 1);
}
.site-header .brand img {
  height: 112px; width: auto;
  filter: drop-shadow(0 8px 14px rgba(20, 12, 8, .45));
  transition: height .3s cubic-bezier(.22, .61, .36, 1);
}
/* Once the page is scrolled, the logo tucks back inside the bar */
.site-header.scrolled .wrap.header-grid { min-height: 72px; }
.site-header.scrolled .brand { margin: 5px 0; align-self: center; }
.site-header.scrolled .brand img { height: 62px; }

/* Menu lists with small diamonds between the links */
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.nav-list > li { display: flex; align-items: center; }
.nav .nav-link { position: relative; }
.nav a.nav-link:hover, .nav button.nav-link:hover, .nav a.nav-link[aria-current="page"] { text-decoration: none; }

/* Request a Quote: a parchment swing tag with a notched end and a punched hole */
.quote-tag {
  position: relative; display: inline-flex; align-items: center;
  padding: .72em 1.25em .72em 2.1em;
  background: var(--parchment); color: var(--walnut); text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%);
  transform-origin: 6px 50%;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1), background-color .25s ease;
}
.quote-tag::before {
  content: ""; position: absolute; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px;
  border-radius: 50%; background: var(--walnut); box-shadow: 0 0 0 1.5px #C9B48F;
}
.quote-tag span { position: relative; }
.quote-tag:hover, .quote-tag:focus-visible { background: #FFF8EC; color: var(--walnut); transform: rotate(-3deg); }
.quote-tag-sm { display: none; }

@media (min-width: 981px) {
  .nav { display: contents; }
  .nav-left { grid-column: 1; grid-row: 1; justify-self: end; }
  .nav-right { grid-column: 3; grid-row: 1; justify-self: start; display: flex; align-items: center; gap: 18px; }
  .nav-list > li + li::before { content: "◆"; font-size: .42rem; color: rgba(243, 235, 221, .4); margin: 0 2px; }
  .nav a.nav-link, .nav button.nav-link { padding: 10px 12px; }
  /* Current page / hover: a small diamond above the link instead of an underline */
  .nav a.nav-link::after, .nav button.nav-link::after {
    content: "◆"; position: absolute; left: 50%; top: -6px; font-size: 8px; line-height: 1;
    color: #C9B48F; transform: translateX(-50%) scale(0); opacity: 0;
    transition: transform .3s cubic-bezier(.22, .61, .36, 1), opacity .3s ease;
  }
  .nav a.nav-link:hover::after, .nav button.nav-link:hover::after, .has-sub:focus-within > .nav-link::after { transform: translateX(-50%) scale(.85); opacity: .7; }
  .nav a.nav-link[aria-current="page"]::after, .nav button.nav-link.is-current::after { transform: translateX(-50%) scale(1); opacity: 1; }
  .nav button.nav-link.is-current, .nav a.nav-link[aria-current="page"] { color: #fff; }
}

/* Between laptop and tablet sizes, tighten the spacing so everything fits */
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header .wrap.header-grid { gap: 0 12px; }
  .nav a.nav-link, .nav button.nav-link { padding: 10px 8px; font-size: .92rem; }
  .nav-right { gap: 12px; }
  .quote-tag { padding-left: 1.9em; padding-right: 1em; font-size: .74rem; }
  .site-header .brand img { height: 96px; }
}

/* Phones and tablets: menu button left, logo centre, small quote tag right */
@media (max-width: 980px) {
  .site-header .wrap.header-grid { min-height: 76px; gap: 0 10px; }
  .site-header > .wrap > .menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-header .brand { margin: 6px 0; align-self: center; }
  .site-header .brand img, .site-header.scrolled .brand img { height: 62px; }
  .site-header.scrolled .wrap.header-grid { min-height: 70px; }
  .quote-tag-sm { display: inline-flex; grid-column: 3; grid-row: 1; justify-self: end; font-size: .72rem; padding: .62em .95em .62em 1.9em; }
  .nav .nav-list { flex-direction: column; align-items: stretch; }
  .nav .nav-list > li { display: block; }
  .nav-right { display: block; }
  .nav .quote-tag { margin-top: 22px; }
}
@media (max-width: 380px) {
  .site-header > .wrap > .menu-toggle { font-size: 0; padding: 8px 11px; }
  .site-header > .wrap > .menu-toggle::first-letter { font-size: 1.1rem; }
}

/* Products dropdown: opens to the left (away from the centred logo) and always sits above it */
@media (min-width: 981px) {
  .nav-left .has-sub { z-index: 5; }
  .nav-left .has-sub .subnav { left: auto; right: 0; z-index: 5; }
}

/* ---------- Form checking: messages and field states ---------- */
.field-msg { font-size: .85rem; margin-top: 6px; min-height: 0; color: var(--brick); line-height: 1.4; }
.field-msg:empty { display: none; }
.field-msg.is-hint { color: var(--saddle); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--brick); box-shadow: 0 0 0 3px rgba(142, 59, 46, .12); }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--olive); }
.field.is-valid > label::after { content: " ✓"; color: var(--olive-deep); font-weight: 700; }
.email-fix {
  background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--walnut);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.email-fix:hover { color: var(--saddle); }

/* Phone field with country flag picker */
.field .iti { width: 100%; display: block; }
.iti { --iti-border-color: #CDBB9C; --iti-dialcode-color: var(--muted); --iti-hover-color: var(--parchment-deep); --iti-dropdown-bg: #fff; --iti-arrow-color: var(--muted); }
.iti input[type="tel"] { min-height: 52px; }
.iti__selected-country { border-radius: var(--radius) 0 0 var(--radius); }
.iti__dropdown-content { border: 1px solid var(--parchment-line); box-shadow: var(--shadow); font-size: .95rem; border-radius: var(--radius); }
.iti__search-input { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--parchment-line); font: inherit; }
.iti__country.iti__highlight { background: var(--parchment-deep); }
.field select[data-rule="country"] { min-height: 52px; }
