/* Ahamed Apparel LLC: muted natural workwear palette (uniform navy, twill khaki, cream canvas, thread gold); logo left
   with navigation right over a thin rule, saturated navy hero and section bands with white text over white content,
   a few large outlined panels, serif throughout, dotted-leader price rows, thick 3px outlines with no shadows,
   dashed stitching motif */
@font-face {
  font-family: "Andiron Serif";
  src: url("fonts/andiron-serif-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Andiron Serif";
  src: url("fonts/andiron-serif-400i.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Andiron Serif";
  src: url("fonts/andiron-serif-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #34465c;
  --ink: #18202c;
  --khaki: #a89a7a;
  --gold: #d4b87c;
  --cream: #f4eee0;
  --white: #ffffff;
  --muted: #535b67;
  --line: #d9d2c0;
  --serif: "Andiron Serif", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--serif); font-size: 18px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border: 3px solid var(--ink);
  background: var(--cream); color: var(--ink); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* logo left, nav right, thin rule */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand img { width: 64px; height: 64px; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.45rem; line-height: 1.15; }
.brand-sub { font-style: italic; color: var(--muted); font-size: 0.92rem; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.main-nav a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--khaki); }
.main-nav a[aria-current="page"] { border-bottom-color: var(--navy); font-weight: 700; }

/* navy bands with stitching */
.band { position: relative; background: var(--navy); color: var(--white); padding: 52px 0 58px; }
.band::before, .band::after {
  content: ""; position: absolute; left: 0; right: 0; height: 6px;
  background: url("assets/motif-stitch.svg") 0 0 / 20px 6px repeat-x;
}
.band::before { top: 12px; }
.band::after { bottom: 12px; }
.band h1, .band h2 { color: var(--white); }
.tag { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border: 3px solid var(--gold); color: var(--cream); font-style: italic; font-size: 0.95rem; }
.lede { font-size: 1.2rem; max-width: 40em; color: #e6e9ee; }
.band.slim { padding: 44px 0 48px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.btn { display: inline-block; padding: 9px 20px; border: 3px solid var(--navy); font-weight: 700; text-decoration: none; }
.btn-cream { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn-cream:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-line { border-color: var(--cream); color: var(--white); }
.btn-line:hover { background: var(--cream); color: var(--ink); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-outline { color: var(--navy); }
.btn-outline:hover { background: var(--cream); color: var(--ink); }

/* a few large panels */
.panels { display: grid; gap: 28px; padding: 48px 0; }
.panels.two { grid-template-columns: 1.15fr 1fr; align-items: start; }
.panel { border: 3px solid var(--navy); padding: 28px; background: var(--white); }
.panel.wide { grid-column: 1 / -1; }
.panel.art { padding: 0; background: var(--cream); align-self: stretch; display: flex; align-items: center; }
.hero-art { width: 100%; }
.panel-title { padding-bottom: 12px; margin-bottom: 16px; background: url("assets/motif-stitch.svg") 0 100% / 20px 6px repeat-x; }
.panel .btn { margin-top: 18px; }
.cat-lines { list-style: none; margin: 0; padding: 0; }
.cat-lines a { display: flex; align-items: center; gap: 14px; padding: 9px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.cat-lines a:hover .l { color: var(--navy); text-decoration: underline; }
.cat-lines img { width: 46px; height: 46px; flex: none; }
.cat-lines .lead-line { flex: 1; }
.cat-lines .l { font-weight: 700; }
.cat-lines .r { font-style: italic; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px 30px; }
.ticks.cols3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 12px; height: 12px; border: 3px solid var(--khaki); }
.ticks strong { color: var(--ink); }
.spot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.spot-desc { font-size: 1.15rem; color: #e6e9ee; max-width: 36em; margin: 0; }
.spot-side { text-align: right; }
.amount { font-size: 2.2rem; font-weight: 700; color: var(--gold); margin: 0 0 4px; }
.contact-strip p { margin: 0; }

/* dotted leaders */
.lead-line { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.lead-line .l { min-width: 0; }
.dots { flex: 1 1 24px; min-width: 24px; border-bottom: 3px dotted var(--khaki); transform: translateY(-5px); }
.lead-line .r { white-space: nowrap; }

/* catalog */
.jump { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jump a { display: block; padding: 5px 12px; border: 3px solid var(--navy); color: var(--navy); font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.jump a:hover { background: var(--navy); color: var(--white); }
.panels.cats { grid-template-columns: 1fr 1fr; padding-top: 28px; }
.panels.cats .panel:last-child { grid-column: 1 / -1; }
.panel.cat { padding: 0; scroll-margin-top: 12px; }
.panel-head { display: flex; align-items: center; gap: 14px; padding: 14px 22px; background: var(--cream); border-bottom: 3px solid var(--navy); }
.panel-head img { width: 48px; height: 48px; }
.panel-head h2 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: 0.04em; }
.rows { list-style: none; margin: 0; padding: 6px 22px 14px; }
.rows li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows .l { font-weight: 700; }
.rows .r { font-weight: 700; }
.rows .desc { margin: 2px 0 0; color: var(--muted); font-style: italic; }
.call { display: inline-block; margin-top: 2px; font-weight: 700; }
#featured { scroll-margin-top: 12px; }
.offers { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--gold); }
.offers li { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.offers .offer-name { margin: 0 0 2px; font-weight: 700; font-size: 1.2rem; }
.offers .l { font-style: italic; color: #e6e9ee; }
.offers .r { font-weight: 700; color: var(--gold); }
.offers .dots { border-bottom-color: rgba(244, 238, 224, 0.5); }
.spacer { height: 48px; }

/* about */
.story p { color: var(--muted); }
.story p.first { color: var(--ink); font-size: 1.3rem; line-height: 1.5; }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-style: italic; color: var(--muted); font-size: 0.95rem; }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }

/* contact */
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: clamp(1.45rem, 2.4vw, 1.9rem); padding-bottom: 12px; margin-bottom: 8px; background: url("assets/motif-stitch.svg") 0 100% / 20px 6px repeat-x; }
.hours thead th { text-align: left; padding: 8px 0; font-style: italic; font-weight: 400; color: var(--muted); border-bottom: 3px solid var(--navy); }
.hours tbody th, .hours tbody td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.hours tbody th { padding-right: 14px; }
.hours td { white-space: nowrap; }
.note { margin: 16px 0 0; padding: 12px 14px; border: 3px solid var(--khaki); background: var(--cream); }
.map-frame { display: block; width: 100%; height: 400px; border: 3px solid var(--navy); background: var(--cream); }
.map-link { margin: 12px 0 0; }

/* footer */
.site-footer { background: var(--cream); border-top: 3px solid var(--navy); padding: 40px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 0.8fr; gap: 28px; }
.footer-name { font-weight: 700; font-size: 1.3rem; margin-bottom: 6px; }
.footer-title { font-weight: 700; margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 24px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--muted); }

@media (max-width: 960px) {
  .head-row { flex-direction: column; align-items: flex-start; }
  .panels.two, .panels.cats { grid-template-columns: 1fr; }
  .ticks.cols3 { grid-template-columns: 1fr; }
  .spot-side { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .footer-grid { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .panel.art, .panel.cat { padding: 0; }
  .rows { padding: 4px 16px 10px; }
  .panel-head { padding: 12px 16px; }
  .main-nav ul { gap: 4px 14px; }
  .main-nav a { font-size: 0.94rem; }
  .lead-line { flex-wrap: wrap; }
  .rows .dots, .offers .dots { display: none; }
  .rows .lead-line .r, .offers .lead-line .r { flex-basis: 100%; }
  .map-frame { height: 300px; }
}
