/* textryanking.com — mobile-first, cologne-ad hero + warm fan-site pages */

:root {
  --paper: #f4eadb;
  --paper-deep: #ead9c0;
  --ink: #1b1410;
  --ink-soft: #3f332c;
  --muted: #6b5c50;
  --rust: #c4492c;
  --rust-hover: #a83820;
  --rust-shadow: #7a2414;
  --gold: #e8c990;
  --cream: #fff8ee;
  --sage: #5b6b4a;
  --line: rgba(27, 20, 16, 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(27, 20, 16, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

/* ---------- Hero (cologne ad) ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  color: var(--cream);
  overflow: hidden;
  background: #120e0c;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 9, 8, 0.15) 0%, rgba(12, 9, 8, 0.12) 42%, rgba(12, 9, 8, 0.78) 100%),
    linear-gradient(90deg, rgba(12, 9, 8, 0.28) 0%, rgba(12, 9, 8, 0) 45%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: 2rem 1.25rem 2.4rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 16vw, 6.5rem);
  line-height: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline {
  margin: 1rem 0 1.6rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 4.4vw, 1.7rem);
  line-height: 1.25;
  color: #f3e6d2;
  max-width: 22ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-text {
  width: 100%;
  max-width: 22rem;
  padding: 1.05rem 1.4rem;
  font-size: 1.15rem;
  color: #fff8f5;
  background: var(--rust);
  border-radius: 999px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 10px 0 var(--rust-shadow),
    0 18px 28px rgba(0, 0, 0, 0.28);
}

.btn-text:hover {
  background: var(--rust-hover);
  transform: translateY(1px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.22) inset,
    0 8px 0 var(--rust-shadow),
    0 14px 22px rgba(0, 0, 0, 0.28);
}

.btn-text:active {
  transform: translateY(6px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18) inset,
    0 3px 0 var(--rust-shadow),
    0 8px 14px rgba(0, 0, 0, 0.25);
}

.btn-text .icon {
  font-size: 1.2em;
  line-height: 1;
}

.btn-secondary {
  width: auto;
  padding: 0.8rem 1.3rem;
  font-size: 0.92rem;
  color: var(--ink);
  background: transparent;
  border: 2px solid var(--ink);
  border-radius: 999px;
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- Page sections ---------- */

main {
  background:
    radial-gradient(1200px 400px at 10% 0%, rgba(196, 73, 44, 0.06), transparent 50%),
    var(--paper);
}

.wrap {
  width: min(1080px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.intro {
  padding: 3.25rem 0 1rem;
  text-align: center;
}

.intro h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.1rem);
  font-weight: 600;
  line-height: 1.1;
}

.lede {
  margin: 0 auto;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.note {
  display: inline-block;
  margin-top: 1.1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid rgba(91, 107, 74, 0.35);
  border-radius: 999px;
  background: rgba(91, 107, 74, 0.08);
}

/* ---------- Facts ---------- */

.facts {
  padding: 2rem 0 1rem;
}

.facts h2,
.gallery h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 600;
  text-align: center;
}

.fact-grid {
  display: grid;
  gap: 0.9rem;
}

.fact {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  box-shadow: 0 8px 18px rgba(27, 20, 16, 0.04);
}

.fact .emoji {
  font-size: 1.55rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.fact h3 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.15;
}

.fact p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Gallery ---------- */

.gallery {
  padding: 2.5rem 0 1rem;
}

.gallery-grid {
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--cream);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.card figure { margin: 0; }

.frame {
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(160deg, #d8c4a6, #c9b391 40%, #b89b74);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  text-align: center;
  color: var(--ink);
  padding: 1rem;
}

.placeholder .big {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.placeholder p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}

.card figcaption {
  padding: 0.95rem 1.05rem 1.15rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.card figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

/* ---------- Mid-page CTA ---------- */

.cta {
  padding: 3rem 0 2rem;
  text-align: center;
}

.cta p {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
}

.cta .btn-text { max-width: 20rem; }

/* ---------- Footer ---------- */

footer {
  padding: 2rem 0 2.6rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

footer p { margin: 0.4rem 0 0; }

footer .fine {
  font-size: 0.78rem;
  max-width: 28rem;
  margin: 0.85rem auto 0;
}

/* ---------- Responsive ---------- */

@media (min-width: 640px) {
  .hero-content { padding: 3rem 2.5rem 3.2rem; }
  .btn-text { width: auto; padding-left: 2rem; padding-right: 2rem; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .card:first-child { grid-column: 1 / -1; }
  .card:first-child .frame { aspect-ratio: 4 / 3; max-height: 640px; }
}

@media (min-width: 960px) {
  .hero-content { padding: 4rem 4rem 4.2rem; }
  .fact-grid { grid-template-columns: repeat(6, 1fr); }
  .fact { grid-column: span 2; }
  .fact:nth-child(4) { grid-column: 2 / span 2; }
  .fact:nth-child(5) { grid-column: 4 / span 2; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .card:nth-child(1) { grid-column: span 3; }
  .card:nth-child(2) { grid-column: span 3; }
  .card:nth-child(3),
  .card:nth-child(4),
  .card:nth-child(5) { grid-column: span 2; }
  .card:nth-child(1) .frame,
  .card:nth-child(2) .frame { aspect-ratio: 4 / 5; max-height: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
