/* A.P Apparel — static site styles */
:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e5e2dc;
  --bg: #ffffff;
  --bg-soft: #f6f3ee;
  --accent: #b89a6a;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}
.site-header.static { position: static; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.brand { font-family: 'Playfair Display', serif; font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase; }
.brand a { color: inherit; }
.nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: inherit; font-size: 0.82rem; letter-spacing: 0.15em; text-transform: uppercase; }
.nav a.current { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.nav-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; font-size: 1.4rem; }

/* Hero */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 6rem 2rem;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.30);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { color: #fff; margin-bottom: 0.4em; }
.hero-sub { font-size: 1.05rem; letter-spacing: 0.06em; opacity: 0.95; margin-bottom: 2rem; }

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 1px solid currentColor;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Sections */
.section { padding: 5rem 2rem; }
.section-dark { background: var(--bg-soft); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.wrap-narrow { max-width: 760px; margin: 0 auto; text-align: center; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .kicker { display: block; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }

/* Banner (secondary hero for non-home pages) */
.banner {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
}
.banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.banner-content { position: relative; z-index: 1; }
.banner h1 { color: #fff; }

/* 3 column grid */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.three-col .card { text-align: center; }
.three-col img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 1rem; }
.three-col h3 { text-transform: uppercase; letter-spacing: 0.15em; font-family: 'Inter', sans-serif; font-size: 0.9rem; margin-bottom: 0.6rem; }
.three-col p { color: var(--ink-soft); font-size: 0.95rem; }

/* Icons row */
.icon-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.icon-row .icon { width: 64px; height: 64px; margin: 0 auto 1rem; color: var(--ink); }
.icon-row h3 { text-transform: uppercase; letter-spacing: 0.18em; font-family: 'Inter', sans-serif; font-size: 0.85rem; margin-bottom: 0.6rem; }
.icon-row p { font-size: 0.95rem; color: var(--ink-soft); }

/* Feature / why-us bg block */
.feature-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
}
.feature-bg::before { content: ''; position: absolute; inset: 0; background: rgba(20,20,20,0.55); }
.feature-bg > * { position: relative; z-index: 1; }
.feature-bg h2 { color: #fff; }

/* Careers / positions */
.position { padding: 2.5rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 2rem; }
.position:last-child { border-bottom: 1px solid var(--line); }
.position h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; text-transform: none; letter-spacing: normal; font-weight: 400; margin: 0; }
.position ul { padding-left: 1.2rem; margin: 0.6rem 0 0; }
.position p { margin-bottom: 0.6rem; }
.position-qual { font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 0.4rem; }

/* Forms */
form.apparel-form { max-width: 640px; margin: 0 auto; text-align: left; }
form.apparel-form .field { margin-bottom: 1.2rem; }
form.apparel-form label { display: block; font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 0.4rem; }
form.apparel-form input,
form.apparel-form select,
form.apparel-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 0;
}
form.apparel-form input:focus,
form.apparel-form select:focus,
form.apparel-form textarea:focus { outline: none; border-color: var(--ink); }
form.apparel-form textarea { min-height: 140px; resize: vertical; }
form.apparel-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
form.apparel-form button { margin-top: 1rem; }
.form-message { padding: 1rem; margin-top: 1rem; border: 1px solid; display: none; }
.form-message.ok { display: block; border-color: #4a8f4a; color: #2d662d; background: #f0f7f0; }
.form-message.err { display: block; border-color: #a53030; color: #8a2020; background: #fdf0f0; }

/* Contact / map */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info p { margin: 0.2em 0; }
.contact-map iframe { width: 100%; height: 380px; border: 0; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #bfb8ad;
  padding: 3rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.site-footer a { color: inherit; text-decoration: underline; }
.site-footer a:hover { color: var(--accent); }
.site-footer .addr { max-width: 720px; margin: 0 auto 0.5rem; line-height: 1.7; }

/* Responsive */
@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: 1rem 2rem; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 1rem; }
  .nav a { color: #fff; }
  .nav-toggle { display: block; }
  .three-col, .icon-row, .contact-grid { grid-template-columns: 1fr; }
  .position { grid-template-columns: 1fr; gap: 0.8rem; }
  form.apparel-form .two { grid-template-columns: 1fr; }
  .site-header { padding: 1rem 1.2rem; }
  .section { padding: 3rem 1.2rem; }
}
