/* Tropicbird Polo Co. — brand site styles. No build step, no external fonts. */
:root {
  --navy: #0d2340;
  --navy-2: #163457;
  --coral: #e8453c;
  --coral-dark: #c8332b;
  --sand: #f4efe4;
  --sand-2: #e8e3d5;
  --ink: #14202e;
  --muted: #55606e;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(13, 35, 64, 0.12);
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--coral-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--coral); margin: 0 0 .8em; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: var(--white); }
.btn-primary:hover { background: var(--coral-dark); color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-2); color: var(--white); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 35, 64, .97); color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand img { width: 46px; height: auto; }
.brand span { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: #ffc9c5; }
.nav-links .btn { min-height: 40px; padding: 8px 18px; }
.nav-toggle {
  display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: var(--white);
  border-radius: 10px; width: 48px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); padding: 8px 20px 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links li:last-child a { border-bottom: 0; margin-top: 12px; }
  .brand { flex: 1; min-width: 0; }
  .brand span { font-size: 1rem; letter-spacing: .1em; white-space: normal; line-height: 1.15; }
  .nav-toggle { flex: none; }
}
@media (max-width: 380px) {
  .brand img { width: 36px; }
  .brand span { font-size: .85rem; letter-spacing: .06em; }
  .wrap { padding: 0 16px; }
}

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { color: var(--white); }
.hero .lede { color: #d6dde7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-note { margin-top: 22px; font-size: .92rem; color: #aebbcc; }
.hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-photo { width: 100%; border-radius: var(--radius); background: var(--white); aspect-ratio: 1; object-fit: cover; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.hero-photo:nth-child(2) { margin-top: 48px; }
.hero-bird { position: absolute; width: 140px; right: -10px; top: -34px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); pointer-events: none; }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; padding-bottom: 52px; }
  .hero-bird { width: 100px; top: -22px; right: 0; }
}

/* Sections */
section { padding: 80px 0; }
@media (max-width: 820px) { section { padding: 56px 0; } }
.section-head { max-width: 720px; margin-bottom: 36px; }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-bottom: 52px; }
.collection {
  display: block; padding: 22px 22px 20px; background: var(--white); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); border-top: 4px solid var(--coral);
  transition: transform .15s;
}
.collection:hover { transform: translateY(-3px); color: var(--ink); }
.collection h3 { margin-bottom: .3em; }
.collection p { margin: 0; color: var(--muted); font-size: .95rem; }
.collection .go { display: inline-block; margin-top: 12px; font-weight: 700; color: var(--coral-dark); font-size: .92rem; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(13,35,64,.18); color: var(--ink); }
.card img { aspect-ratio: 1; object-fit: cover; width: 100%; background: #f1f1f1; }
.card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--muted); }
.card h3 { margin: 0; font-size: 1.08rem; }
.card .shop { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--coral-dark); font-size: .95rem; }
.grid-cta { text-align: center; margin-top: 44px; }

/* Story */
.story { background: var(--white); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.welcome {
  background: var(--sand); border-left: 5px solid var(--coral); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; margin: 0 0 26px;
}
.welcome footer { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 10px; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.facts .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: .9rem; }
.facts strong { display: block; }
.facts span { color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .story .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* Connect */
.connect { background: var(--navy); color: var(--white); text-align: center; }
.connect h2 { color: var(--white); }
.connect .lede { color: #d6dde7; margin: 0 auto 30px; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 26px; }
.social a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 22px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: var(--white); text-decoration: none; font-weight: 600;
}
.social a:hover { background: var(--white); color: var(--navy); }
.social svg { width: 20px; height: 20px; flex: none; }
.email-line a { color: #ffc9c5; font-weight: 700; word-break: break-word; }

/* Footer */
.site-footer { background: #091a30; color: #aebbcc; padding: 36px 0; font-size: .92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.site-footer a { color: #e1e7ef; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; }

/* Legal pages */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal article { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(24px, 5vw, 52px); }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.6rem); }
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal .updated { color: var(--muted); font-size: .95rem; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .4em; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 700; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
