/* COSTURA YA! landing — ink-on-paper atelier look, derived from the logo
   (black sewing machine, cream lettering). No frameworks, no JS. */

:root {
  --paper: #faf7ef;
  --ink: #191613;
  --ink-soft: #5a544a;
  --cream: #f2ecd8;
  --line: rgba(25, 22, 19, 0.22);
  --radius: 0.5rem;
  --serif: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad-x: clamp(1.25rem, 5vw, 4.5rem);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  text-wrap: balance;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Seam motif: a dashed "stitch" running across the page between sections. */
.stitch {
  height: 2px;
  margin: 0 var(--pad-x);
  background: repeating-linear-gradient(90deg, var(--line) 0 14px, transparent 14px 24px);
}

/* ---------------------------------------------------------------- header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem var(--pad-x);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-cta {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------------ hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(2.5rem, 7vw, 6rem) var(--pad-x) clamp(3rem, 8vw, 7rem);
}

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 7.5vw, 5.25rem);
  letter-spacing: -0.015em;
}

.lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ink-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s, color 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-ink {
  background: var(--ink);
  color: var(--cream);
}

.btn-ink:hover {
  background: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--cream);
}

/* The logo sits on a cream "spool" disc so its white canvas blends into the paper. */
.hero-mark {
  justify-self: center;
}

.hero-mark img {
  width: clamp(220px, 28vw, 380px);
  background: var(--cream);
  border-radius: 50%;
  padding: clamp(1rem, 2vw, 1.75rem);
  border: 2px dashed var(--line);
}

/* -------------------------------------------------------------- services */

.services {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad-x);
}

.services-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.services-title p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 22rem;
}

.services-list {
  list-style: none;
  padding: 0;
}

.services-list li {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.5rem 2rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 2px dashed var(--line);
  transition: padding-left 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.services-list li:last-child {
  border-bottom: 2px dashed var(--line);
}

.services-list li:hover {
  padding-left: 0.6rem;
}

.services-list h3 {
  font-size: 1.25rem;
}

.services-list p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ----------------------------------------------------- location & hours */

.visit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3rem, 7vw, 5.5rem) var(--pad-x);
  background: var(--cream);
}

.visit h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.visit address {
  font-style: normal;
  font-size: 1.1rem;
}

.directions {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.visit h3 {
  font-size: 1.2rem;
  margin: 2.25rem 0 0.75rem;
}

.hours {
  max-width: 24rem;
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}

.hours dd {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.visit-note {
  margin-top: 2rem;
  color: var(--ink-soft);
  max-width: 26rem;
}

.review-cta {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 2px dashed var(--line);
  max-width: 26rem;
  color: var(--ink-soft);
}

.review-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--ink);
  text-underline-offset: 4px;
}

.review-cta svg {
  flex: none;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
}

/* ---------------------------------------------------------------- footer */

.site-footer {
  padding-bottom: 1.5rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.5rem var(--pad-x) 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-row nav {
  display: flex;
  gap: 1.5rem;
}

.footer-row a {
  text-underline-offset: 4px;
}

/* ------------------------------------------------------ entrance motion */

@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *,
  .hero-mark {
    animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero-copy > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero-mark {
    animation-delay: 0.2s;
  }

  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 800px) {
  .hero,
  .services,
  .visit {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    order: -1;
    justify-self: start;
  }

  .hero-mark img {
    width: 150px;
  }

  .services-list li {
    grid-template-columns: 1fr;
  }

  .visit-map iframe {
    min-height: 280px;
  }
}
