/* Signatario — luxury dress shirts. Shared stylesheet.
   Classic-professional vibe: navy + warm white + gold accent.
   Mobile-first, no external dependencies. */

:root {
  --ink: #1a1a2e;
  --ink-soft: #4a4a5e;
  --muted: #8a8a98;
  --bg: #fafaf7;
  --panel: #ffffff;
  --accent: #1a2a4a;
  --accent-soft: #2d4373;
  --gold: #b8956a;
  --gold-soft: #d4b88e;
  --line: #e8e6df;
  --shadow: 0 4px 20px rgba(26, 26, 46, 0.06), 0 1px 4px rgba(26, 26, 46, 0.04);
  --shadow-lg: 0 12px 36px rgba(26, 26, 46, 0.1), 0 2px 8px rgba(26, 26, 46, 0.06);
  --radius: 6px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--gold); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: 8px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Type system */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}
h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.08; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
h3 { font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; }
h4 { font-size: 17px; line-height: 1.35; font-weight: 600; font-family: 'Inter', sans-serif; letter-spacing: 0; }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 640px;
}

/* Header / nav */
header.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  line-height: 1;
}
.brand:hover { color: var(--accent); }
.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(26, 26, 46, 0.12);
}
.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}
.brand-wordmark .name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  line-height: 1;
}
nav.primary ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.primary a {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color 0.15s ease;
}
nav.primary a:hover { border-bottom-color: var(--gold); }
nav.primary a[aria-current="page"] {
  border-bottom-color: var(--gold);
  color: var(--accent);
  font-weight: 600;
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  color: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(26, 42, 74, 0.18);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn-gold {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a67e54;
  border-color: #a67e54;
  color: #fff;
}

/* Hero */
.hero {
  padding: 90px 0 80px;
  background: linear-gradient(180deg, var(--bg) 0%, #f3f1ea 100%);
  position: relative;
  overflow: hidden;
}
.hero-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text h1 { margin-bottom: 22px; }
.hero-text .lead { margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(212, 184, 142, 0.4);
  pointer-events: none;
}
.hero-logo {
  max-width: 72%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Sections */
section { padding: 80px 0; }
section.tight { padding: 56px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { display: block; }
.section-head p { max-width: 600px; margin: 12px auto 0; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature {
  text-align: left;
  padding: 0;
}
.feature-num {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 14px;
  display: block;
}
.feature h3 { margin-bottom: 10px; }
.feature p { margin: 0; font-size: 15.5px; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #e5e2d8 0%, #d4d0c4 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-image.dark { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-soft) 100%); }
.card-image.gold { background: linear-gradient(135deg, var(--gold) 0%, #a67e54 100%); }
.card-image-label {
  font-family: 'Playfair Display', serif;
  color: rgba(255, 255, 255, 0.85);
  font-size: 22px;
  letter-spacing: 0.04em;
}
.card-image.muted .card-image-label { color: rgba(26, 26, 46, 0.4); }
.card-body { padding: 24px 26px 28px; }
.card-body h3 { font-size: 22px; margin-bottom: 8px; }
.card-body p { font-size: 15px; margin-bottom: 16px; }
.card-body .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Blog card */
.blog-card .card-image { aspect-ratio: 16 / 10; }
.blog-card .card-body h3 { font-size: 20px; }

/* Quote / testimonial */
.quote-section {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}
.quote-section .eyebrow { color: var(--gold); }
.quote-section blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.4;
  font-weight: 400;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto 24px;
  color: #fff;
  letter-spacing: -0.005em;
}
.quote-attribution {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* Split content section */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #d4d0c4 0%, #b8b3a4 100%);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.split-image::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Spec list (fabric / construction details) */
.spec-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 28px 0;
}
.spec-list > div {
  display: flex;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.spec-list > div:last-child { border-bottom: none; }
.spec-list dt {
  flex: 0 0 200px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.spec-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}

/* Contact form */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 12px; }
.contact-info-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.contact-info-block:last-child { border-bottom: none; }
.contact-info-block .label {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.contact-info-block .value { color: var(--ink); font-size: 16px; line-height: 1.55; }
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 36px 32px;
  border-radius: var(--radius);
}
.contact-form .field {
  margin-bottom: 18px;
}
.contact-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 7px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26, 42, 74, 0.08);
  background: #fff;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .btn { width: 100%; margin-top: 8px; }

/* Footer */
footer.site-foot {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 36px;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-grid h4 {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif;
}
.foot-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.foot-grid li { margin-bottom: 8px; }
.foot-grid a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.foot-grid a:hover { color: var(--gold-soft); }
.foot-brand-block .brand { color: #fff; }
.foot-brand-block .brand-wordmark .name { color: #fff; }
.foot-brand-block .brand-sub { color: var(--gold-soft); }
.foot-brand-block .brand-logo {
  width: 56px;
  height: 56px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.foot-brand-block p { color: rgba(255, 255, 255, 0.6); margin-top: 14px; font-size: 14px; line-height: 1.6; }
.foot-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.foot-bottom .socials { display: flex; gap: 16px; }
.foot-bottom .socials a { color: rgba(255, 255, 255, 0.6); }
.foot-bottom .socials a:hover { color: var(--gold-soft); }

/* Page header (sub-page hero) */
.page-header {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 60px;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header .eyebrow { color: var(--gold-soft); }
.page-header p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin: 0 auto;
  font-size: 17px;
}

/* CTA strip */
.cta-strip {
  background: var(--gold);
  color: #fff;
  text-align: center;
  padding: 56px 0;
}
.cta-strip h2 { color: #fff; margin-bottom: 12px; }
.cta-strip p { color: rgba(255, 255, 255, 0.95); max-width: 540px; margin: 0 auto 24px; }
.cta-strip .btn-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta-strip .btn-primary:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Mobile */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  nav.primary ul {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 18px;
    box-shadow: var(--shadow);
  }
  nav.primary ul.open { display: flex; }
  nav.primary li { border-bottom: 1px solid var(--line); }
  nav.primary li:last-child { border-bottom: none; }
  nav.primary a { padding: 14px 0; border-bottom: none; display: block; }

  .hero { padding: 56px 0 50px; }
  .hero-row { grid-template-columns: 1fr; gap: 36px; }
  .hero-image { max-width: 380px; margin: 0 auto; }

  .feature-grid, .card-grid, .card-grid-2, .split, .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-brand-block { grid-column: 1 / -1; }

  section { padding: 56px 0; }
  .quote-section { padding: 72px 0; }
  .spec-list > div { flex-direction: column; gap: 4px; }
  .spec-list dt { flex: 0; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .hero { padding: 44px 0 40px; }
  .hero-ctas .btn { flex: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
}
