/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; }

:root {
  --ink: #17181a;
  --ink-soft: #2c2c29;
  --paper: #f4f1ea;
  --paper-2: #ebe6d9;
  --accent: #d9531f;
  --accent-light: #e2661c;
  --accent-dark: #b8431a;
  --accent-darker: #9c3814;
  --steel: #5c574c;
  --steel-on-dark: #a39c8f;
  --line: rgba(23, 24, 26, 0.14);
  --line-on-dark: rgba(244, 241, 234, 0.18);

  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --wrap: 1180px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .wrap { padding-inline: 32px; }
}
@media (min-width: 1024px) {
  .wrap { padding-inline: 48px; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent-dark);
  color: #fff;
  padding: 12px 18px;
  z-index: 100;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid var(--line-on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  min-width: 0;
  padding-block: 5px;
  min-height: 44px;
}

.brand-badge {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-badge polygon {
  fill: var(--ink);
  stroke: var(--accent);
  stroke-width: 5;
}
.brand-badge text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 34px;
  fill: var(--accent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  white-space: nowrap;
}
.brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-sub {
  font-size: 11px;
  color: var(--paper-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-call {
  background: var(--accent-dark);
  color: #fff;
  padding-inline: 16px;
  font-size: 14px;
}
.btn-call:hover { background: var(--accent-darker); }
.btn-call .icon { width: 18px; height: 18px; fill: #fff; }

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-darker); }

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero .btn-secondary {
  color: var(--paper);
  border-color: var(--line-on-dark);
}
.hero .btn-secondary:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  padding-block: 56px 64px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, var(--line-on-dark) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, var(--line-on-dark) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero-mark {
  display: none;
}

.hero-inner {
  position: relative;
  max-width: 720px;
}

@media (min-width: 1024px) {
  .hero-mark {
    display: block;
    position: absolute;
    top: 50%;
    right: -80px;
    transform: translateY(-50%);
    width: 460px;
    height: 460px;
    pointer-events: none;
  }
  .hero-mark polygon {
    fill: none;
    stroke: var(--line-on-dark);
    stroke-width: 1.5;
  }
}

.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 14px;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-lead {
  font-size: clamp(1rem, 3.6vw, 1.15rem);
  color: var(--paper-2);
  max-width: 46ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Section head ===== */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 22px;
}
.section-index {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-dark);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 2px 7px;
}
h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: -0.01em;
}

/* ===== Service / process ===== */
.service {
  padding-block: 52px;
}
.service-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 34px;
}

.process-list {
  display: grid;
  gap: 22px;
}
.process-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}
.process-num {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
  border-radius: 50%;
}
.process-list h3 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.process-list p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

@media (min-width: 768px) {
  .process-list { gap: 0; }
}

/* ===== Divider ===== */
.divider {
  height: 14px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--ink) 0 10px,
    var(--paper-2) 10px 20px
  );
  opacity: 0.9;
}

/* ===== Schedule ===== */
.schedule {
  padding-block: 52px;
  background: var(--paper-2);
}
.schedule-grid {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  max-width: 560px;
  background: var(--paper);
}
.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.schedule-row:last-child { border-bottom: none; }
.schedule-day {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.schedule-time {
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.schedule-row.is-closed .schedule-time {
  color: var(--accent-dark);
  font-weight: 600;
}
.schedule-note {
  margin-top: 18px;
  font-size: 0.92rem;
  color: var(--steel);
  max-width: 52ch;
}

/* ===== Location ===== */
.location {
  padding-block: 52px;
}
address {
  font-style: normal;
  font-size: 1.05rem;
  margin-bottom: 22px;
  color: var(--ink-soft);
}
.map-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--paper-2);
}
.map-frame iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-frame iframe { height: 360px; }
}

/* ===== CTA band ===== */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding-block: 44px;
  text-align: center;
}
.cta-band h2 {
  color: var(--paper);
  margin-bottom: 20px;
}
.cta-band .btn-primary {
  display: inline-flex;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--paper-2);
  padding-block: 32px 40px;
  border-top: 1px solid var(--line-on-dark);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.footer-brand .brand-badge {
  width: 40px;
  height: 40px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin: 2px 0;
}
.footer-brand .brand-name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  text-transform: none;
  color: var(--paper);
}
.footer-address { color: var(--paper-2); }
.footer-brand a {
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.legal-note {
  font-size: 0.78rem;
  color: var(--steel-on-dark);
  max-width: 60ch;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 18px;
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
  }
  .legal-note {
    border-top: none;
    padding-top: 0;
    text-align: right;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ===== Large screens ===== */
@media (min-width: 1024px) {
  .hero { padding-block: 96px 100px; }
  .service, .schedule, .location { padding-block: 76px; }
}
