/* Style B, "Club". References: Club Peppermint and Nude Project.
   Full bleed photography, centred layout, small wide spaced capitals,
   underlined text links instead of boxed buttons, image led sections.
   Same two colours and Lora only. */

.style-club { --track: 0.22em; text-align: left; }

/* Small capitals used across this style */
.style-club .label,
.style-club .nav-links a,
.style-club .btn,
.style-club .steps h3,
.style-club .service h3,
.style-club .audience h3,
.style-club .footer-links a,
.style-club .footer-links button {
  text-transform: uppercase;
  letter-spacing: var(--track);
}

/* Header. At the top of the page only the logo shows, centred over the photo.
   Once the visitor scrolls, the bar settles on ivory, the logo glides to the
   left and the navigation fades in one link after another. The privacy page,
   which has no photo, starts in the scrolled state. */
.style-club { --ease: cubic-bezier(.22, .61, .36, 1); --glide: .7s; }
.style-club .site-header {
  background: transparent; color: var(--ivory);
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.style-club .site-header .wrap { position: relative; display: flex; justify-content: flex-end; align-items: center; height: 76px; }
.style-club .brand {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: left var(--glide) var(--ease), transform var(--glide) var(--ease);
}
.style-club .brand img { height: 30px; width: auto; transition: opacity .45s var(--ease); }
.style-club .brand .logo-green { position: absolute; inset: 0; opacity: 0; }
.style-club .nav-links { gap: 26px; }
.style-club .nav-links a { font-size: 12px; letter-spacing: 0.16em; white-space: nowrap; color: inherit; }
.style-club .nav-links li {
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.style-club .nav-toggle { color: inherit; }

/* Scrolled state, and the privacy page */
.style-club .site-header.scrolled,
.style-club.page-doc .site-header { background: var(--ivory); color: var(--green); border-bottom-color: var(--rule); }
/* The logo glide is for laptop and desktop screens only. Phones and tablets keep it centred. */
@media (min-width: 1181px) {
  .style-club .site-header.scrolled .brand,
  .style-club.page-doc .brand { left: var(--gutter); transform: translate(0, -50%); }
}
.style-club .site-header.scrolled .logo-green,
.style-club.page-doc .logo-green { opacity: 1; }
.style-club .site-header.scrolled .logo-ivory,
.style-club.page-doc .logo-ivory { opacity: 0; }
.style-club .site-header.scrolled .nav-links li,
.style-club.page-doc .nav-links li {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility 0s;
}
/* Links arrive one after another, after the logo has started to move */
.style-club .site-header.scrolled .nav-links li:nth-child(1) { transition-delay: .25s; }
.style-club .site-header.scrolled .nav-links li:nth-child(2) { transition-delay: .31s; }
.style-club .site-header.scrolled .nav-links li:nth-child(3) { transition-delay: .37s; }
.style-club .site-header.scrolled .nav-links li:nth-child(4) { transition-delay: .43s; }
.style-club .site-header.scrolled .nav-links li:nth-child(5) { transition-delay: .49s; }

/* Mobile menu open: header on ivory */
body.style-club:has(.mobile-menu:not([hidden])) .site-header { background: var(--ivory); color: var(--green); }
body.style-club:has(.mobile-menu:not([hidden])) .logo-green { opacity: 1; }
body.style-club:has(.mobile-menu:not([hidden])) .logo-ivory { opacity: 0; }

/* Phones and tablets: the menu button stays available at the top and the logo stays centred */
@media (max-width: 1180px) {
  .style-club .nav-links { display: none; }
  .style-club .nav-toggle { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .style-club .brand, .style-club .brand img, .style-club .nav-links li, .style-club .site-header { transition: none !important; }
}

/* Hero: full bleed photograph with a green wash */
.style-club .hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(94vh, 900px);
  display: flex; align-items: flex-end;
  padding-block: calc(140px + env(safe-area-inset-top, 0px)) clamp(64px, 9vw, 120px);
  color: var(--ivory); text-align: center;
}
.style-club .hero .wrap { width: 100%; display: flex; flex-direction: column; align-items: center; }
.style-club .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.style-club .hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 82, 56, 0.35) 0%, rgba(18, 82, 56, 0.25) 40%, rgba(18, 82, 56, 0.82) 100%);
}
.style-club .hero h1 {
  max-width: 22ch; font-size: clamp(26px, 3.6vw, 48px); font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.18em; line-height: 1.35;
}
.style-club .hero-sub { margin-inline: auto; color: var(--ivory-soft); max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); }
.style-club .hero-actions { justify-content: center; gap: 36px; }

/* Text link buttons, underlined, like a shop call to action */
.style-club .btn { min-height: 44px; padding: 0 2px; border: 0; border-bottom: 1px solid currentColor; background: transparent; font-size: 13px; color: inherit; }
.style-club .btn-solid, .style-club .btn-line { background: transparent; color: inherit; }
.style-club .btn:hover { border-bottom-width: 2px; background: transparent; color: inherit; }
.style-club .hero .btn { color: var(--ivory); }
/* The form button stays solid so it reads as the main action */
.style-club #submitBtn { background: var(--green); color: var(--ivory); border: 1px solid var(--green); padding: 0 32px; min-height: 52px; }
.style-club #submitBtn:hover { background: transparent; color: var(--green); }

/* The separate photo strip is not used: photos live inside the sections */
.style-club .photo-strip { display: none; }
.style-club #who { margin-top: 0 !important; }

/* Sections: label centred above, content centred */
.style-club .section-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 64px); }
.style-club .section-grid > .label { padding-top: 0; text-align: center; font-size: 12px; }
.style-club .section .label { font-size: 12px; letter-spacing: var(--track); }

/* Who I work with: two image cards, captions underneath like a product grid */
.style-club .audiences { gap: clamp(12px, 1.6vw, 20px); }
.style-club .audience-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 22px; }
.style-club .audience h3 { font-size: 13px; font-weight: 500; padding-bottom: 0; margin-bottom: 12px; border-bottom: 0; color: var(--green); }
.style-club .audience p { color: var(--ink-soft); font-size: 17px; max-width: 44ch; }

/* How I work: centred row */
.style-club #how { background: var(--green); color: var(--ivory); --ink-soft: var(--ivory-soft); --rule: var(--ivory-rule); --rule-strong: var(--ivory-rule); }
.style-club #how .label { color: var(--ivory-soft); }
.style-club .steps { border-top: 0; text-align: center; }
.style-club .steps li, .style-club .steps li + li { padding: 8px clamp(14px, 2vw, 28px); border-left: 1px solid var(--rule); }
.style-club .steps li:first-child { border-left: 0; }
.style-club .steps li::before { margin-bottom: 18px; font-size: 13px; }
.style-club .steps h3 { font-size: 14px; font-weight: 500; margin-bottom: 14px; }
@media (max-width: 1000px) {
  .style-club .steps li:nth-child(3) { border-left: 0; }
  .style-club .steps li:nth-child(n+3) { border-top: 0; margin-top: 40px; }
}
@media (max-width: 560px) {
  .style-club .steps li, .style-club .steps li + li { border-left: 0; padding-inline: 0; }
  /* A divider above every step after the first, with even spacing */
  .style-club .steps li:nth-child(n+2) { border-top: 1px solid var(--rule); padding-top: 32px; margin-top: 24px; }
}

/* Services: four columns, a quiet list */
.style-club #services { padding-top: clamp(72px, 10vw, 136px) !important; }
.style-club .services { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; text-align: center; gap: 0; }
.style-club .service, .style-club .service:nth-child(even) { padding: 8px clamp(14px, 2vw, 28px); border: 0; border-left: 1px solid var(--rule); }
.style-club .service:first-child { border-left: 0; }
.style-club .service h3 { font-size: 13px; font-weight: 500; line-height: 1.6; margin-bottom: 16px; }
.style-club .service p { margin-inline: auto; font-size: 16px; }
@media (max-width: 1000px) {
  .style-club .services { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .style-club .service:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .style-club .services { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .style-club .service, .style-club .service:nth-child(even) { border-left: 0; padding: 28px 0; border-top: 1px solid var(--rule); }
  .style-club .service:first-child { border-top: 0; }
}

/* Founder: large photograph, story beside it */
.style-club .founder { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; align-items: stretch; padding-inline: 0; max-width: none; }
.style-club #founder { padding-block: 0; }
.style-club #founder .wrap { padding-inline: 0; max-width: none; }
.style-club .founder-photo img { height: 100%; aspect-ratio: auto; min-height: 520px; object-position: center 25%; }
.style-club .founder > div:last-child { padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px); }
.style-club .founder h2 { text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(26px, 3vw, 40px); font-weight: 400; }
@media (max-width: 860px) {
  .style-club .founder { grid-template-columns: minmax(0, 1fr); }
  .style-club .founder-photo { max-width: none; }
  .style-club .founder-photo img { min-height: 0; aspect-ratio: 1 / 1; }
}

/* Contact: centred heading over the form */
.style-club .contact { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin-inline: auto; gap: 48px; }
.style-club .contact-intro { text-align: center; }
.style-club .contact-intro p { margin-inline: auto; }
.style-club .contact-intro h2 { text-transform: uppercase; letter-spacing: 0.14em; font-size: clamp(26px, 3vw, 40px); font-weight: 400; }

/* Footer: centred, wordmark large at the end, like a label sewn in */
.style-club .site-footer { text-align: center; }
.style-club .footer-values { font-style: normal; text-transform: uppercase; letter-spacing: 0.2em; font-size: clamp(16px, 2.2vw, 26px); }
.style-club .footer-meta { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.style-club .footer-logo { order: 3; }
.style-club .footer-logo img { height: clamp(64px, 10vw, 120px); }
.style-club .footer-links { justify-content: center; font-size: 12px; }
.style-club .footer-company { justify-items: center; }

/* Privacy page: no photograph, so the header starts on ivory */
.style-club.page-doc .doc h1 { text-transform: uppercase; letter-spacing: 0.14em; font-weight: 400; font-size: clamp(30px, 4vw, 48px); }
.style-club.page-doc .doc h2 { font-size: clamp(22px, 2.2vw, 26px); }

/* How I Work: no divider lines at any screen size. Spacing alone separates the steps. */
.style-club #how .steps,
.style-club #how .steps li { border: 0; }
