/* ============================================================
   I AM TICHBORNE — shared stylesheet
   ============================================================ */

:root {
  --navy: #1A2128;
  --navy-deep: #12171C;
  --cream: #F2EBDC;
  --cream-bright: #FAF6EC;
  --orange: #C77A45;
  --orange-bright: #DD9A66;
  --rust: #8B3A2B;
  --grey: #9B9488;
  --grey-dim: #6B6559;
  --line: rgba(242, 235, 220, 0.14);
  --line-strong: rgba(242, 235, 220, 0.26);

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-label: 'Inter', sans-serif;
}

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

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.wrap-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ---------- Texture ---------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header / Nav ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, var(--navy) 88%, transparent);
  padding: 22px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.site-title em {
  font-style: italic;
  color: var(--orange-bright);
}

nav.main-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav.main-nav a {
  font-family: var(--font-label);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: var(--grey);
  transition: color 0.25s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  margin-left: 22px;
  white-space: nowrap;
}

nav.main-nav a:first-child { margin-left: 0; }

nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--orange-bright);
  border-color: var(--orange);
}

/* mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--cream);
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
}

@media (max-width: 760px) {
  nav.main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    justify-content: flex-start;
  }
  nav.main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-inner { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 56px 0 64px;
  position: relative;
}

.hero-eyebrow {
  font-family: var(--font-label);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
  display: block;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6.5vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--cream-bright);
}

.hero-title em {
  font-style: italic;
  color: var(--orange-bright);
}

.hero-sub {
  margin-top: 22px;
  font-size: 17px;
  color: var(--grey);
  max-width: 560px;
  font-weight: 400;
}

.hero-image-frame {
  margin-top: 44px;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  background: var(--navy-deep);
}

.hero-image-frame img { width: 100%; display: block; }

/* ---------- CTA buttons ---------- */
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.btn {
  font-family: var(--font-label);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 2px;
  display: inline-block;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-1px); }

.btn-secondary {
  border-color: var(--line-strong);
  color: var(--cream);
  background: transparent;
}
.btn-secondary:hover { border-color: var(--orange); color: var(--orange-bright); }

.btn-tertiary {
  color: var(--grey);
  background: transparent;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  padding: 13px 4px;
}
.btn-tertiary:hover { color: var(--orange-bright); text-decoration-color: var(--orange); }

.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--orange-bright);
  outline-offset: 3px;
}

/* ---------- Section scaffolding ---------- */
section { padding: 72px 0; position: relative; }

.section-rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 34px;
}

.section-eyebrow {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  display: block;
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 28px;
  color: var(--cream-bright);
  line-height: 1.12;
}

.section-title em { font-style: italic; color: var(--orange-bright); }

.body-copy p {
  font-size: 16.5px;
  color: var(--cream);
  max-width: 680px;
  font-weight: 400;
}
.body-copy p + p { margin-top: 18px; }
.body-copy { color: var(--cream); }
.body-copy strong { color: var(--cream-bright); font-weight: 600; }

/* ---------- Placard motif (signature element) ---------- */
.placard-pull {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 36px 0;
  flex-wrap: wrap;
}

.placard {
  background: var(--navy-deep);
  border: 1px solid var(--line-strong);
  padding: 16px 22px;
  border-radius: 1px;
  font-family: var(--font-label);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--cream-bright);
  text-transform: uppercase;
  transform: rotate(-1deg);
  box-shadow: 0 10px 22px -8px rgba(0,0,0,0.5);
}

.placard.alt { transform: rotate(1deg); border-color: rgba(199,122,69,0.4); }

.placard-question { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--grey); }

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-family: var(--font-label);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--grey-dim);
}
.footer-nav a:hover { color: var(--orange-bright); }

.footer-credit {
  font-family: var(--font-label);
  font-size: 10.5px;
  color: var(--grey-dim);
  letter-spacing: 0.04em;
}

.footer-credit a { color: var(--grey); text-decoration: underline; text-decoration-color: var(--line-strong); }
.footer-credit a:hover { color: var(--orange-bright); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 22px; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  html { scroll-behavior: auto; }
}
