@import url('tokens.css');

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--linen);
  background-image: var(--weave-linen);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-deep); }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.sand { background-color: var(--sand); background-image: var(--weave-sand); }
.ink { background: var(--ink); color: var(--ivory); }

.eyebrow {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-label);
  color: var(--gold-deep);
  margin: 0;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; }
h1 em, h2 em { font-weight: 400; color: var(--gold-deep); }
.lead { font-size: var(--fs-lead); font-weight: 300; line-height: 1.65; color: var(--umber); margin: 0; text-wrap: pretty; }
.muted { color: var(--umber); }

/* Buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-label); font-size: 16px; letter-spacing: 0.14em;
  background: var(--ink); color: var(--ivory); text-decoration: none;
  padding: 18px 32px; border-radius: var(--radius); min-height: 44px;
  transition: background .2s ease;
}
.btn:hover { background: var(--gold-deep); color: var(--ivory); }
.btn--gold { background: var(--gold-on-ink); color: var(--ink); }
.btn--gold:hover { background: var(--ivory); color: var(--ink); }
.link-stitch {
  color: var(--gold-deep); text-decoration: none;
  border-bottom: var(--stitch); padding-bottom: 4px;
}

/* Monogram */
.monogram {
  width: 46px; height: 46px; border-radius: 50%; border: var(--stitch);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: .04em;
}
.ink .monogram { border-color: var(--gold-on-ink); color: var(--ivory); }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 24px; border-bottom: var(--stitch-quiet);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand__name { font-family: var(--font-display); font-size: 24px; font-weight: 500; letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 36px; }
.nav a:not(.btn) {
  font-family: var(--font-label); font-size: 15px; letter-spacing: .14em;
  color: var(--ink); text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--gold-deep); }
.nav .btn { padding: 13px 22px; font-size: 15px; }
.menu-toggle { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; padding-top: 8px; }

/* Stitched frame (portraits) */
.frame {
  outline: var(--stitch); outline-offset: 14px;
  background-color: var(--sand); background-image: var(--weave-sand);
  aspect-ratio: 11 / 14; width: 100%; max-width: 440px; margin: 20px auto;
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px;
  font-family: var(--font-label); font-size: 13px; letter-spacing: .16em; color: var(--umber);
  overflow: hidden;
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.sand .frame { background: var(--linen); }

/* Belief */
.belief { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(24px, 7vw, 96px); border-top: var(--stitch-quiet); }
.belief__body { display: flex; flex-direction: column; gap: 28px; }
.belief h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.1; text-wrap: balance; }

/* Ways in */
.ways__head { text-align: center; display: flex; flex-direction: column; gap: 20px; margin-bottom: 64px; }
.ways__head h2 { font-size: var(--fs-h2); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.card {
  background: var(--ivory); padding: 40px 32px; border-radius: var(--radius);
  outline: var(--stitch-quiet); outline-offset: -10px;
  display: flex; flex-direction: column; gap: 16px;
}
.card .eyebrow { font-size: 13px; }
.card h3 { font-size: var(--fs-h3); line-height: 1.1; }
.card p { margin: 0; font-size: 16px; color: var(--umber); }
.card__desc { flex-grow: 1; }
.card__meta { font-size: 14px !important; }
.card .link-stitch { align-self: flex-start; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 48px; }
.quote { margin: 0; padding-left: 28px; border-left: var(--stitch); display: flex; flex-direction: column; gap: 24px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: 25px; line-height: 1.4; }
.quote figcaption { font-family: var(--font-label); font-size: 13px; letter-spacing: .16em; color: var(--umber); }

/* About */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 112px); align-items: center; }
.about__text { display: flex; flex-direction: column; gap: 28px; }
.about h2 { font-size: var(--fs-h2); }
.pull { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(25px, 2.2vw, 30px); line-height: 1.3; }

/* Closing CTA */
.cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.cta h2 { font-size: clamp(42px, 5vw, 72px); line-height: 1.05; color: var(--ivory); max-width: 900px; }
.cta p { margin: 0; font-size: var(--fs-lead); font-weight: 300; color: var(--sand); max-width: 640px; }

/* Footer */
.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding-block: 56px; border-top: 1.5px dashed var(--umber); color: var(--sand);
}
.site-footer .brand__name { color: var(--ivory); font-size: 22px; }
.site-footer small { display: block; font-size: 14px; color: var(--flax); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; }
.site-footer a { color: var(--sand); text-decoration: none; }

/* Responsive */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 8px;
    position: absolute; top: 88px; left: 0; right: 0; z-index: 10;
    background: var(--linen); padding: 16px var(--gutter) 24px; border-bottom: var(--stitch-quiet);
  }
  .nav.is-open a:not(.btn) { padding: 12px 0; }
  .menu-toggle {
    display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
    background: none; border: 0; cursor: pointer; padding: 0;
  }
  .site-header { position: relative; }
  .brand__name { font-size: 20px; }
  .hero, .belief, .about, .quotes { grid-template-columns: 1fr; }
  .hero .frame { order: 2; }
  .hero__actions .btn { width: 100%; }
  .about .frame { order: -1; }
}
@media (max-width: 600px) {
  .cards { grid-template-columns: 1fr; }
  .ways__head { text-align: left; margin-bottom: 32px; }
  .cta .btn { width: 100%; }
}
