/* ════════════════════════════════════════════════════════════════
   GilbeyPink — CONTENT PAGE STYLES
   Shared layout for service / portfolio / tutorial pages.
   Loaded AFTER styles.css (so it can override the design system) and
   only on inner pages — never on the homepage — so page-level IDs
   (#cta, #testimonials, #note …) can't leak into index.html.
═════════════════════════════════════════════════════════════════ */

/* ─── PAGE HERO ─── */
#page-hero { min-height: 54vh; background: var(--charcoal); display: flex; flex-direction: column; justify-content: flex-end; padding: 8rem 5vw 5rem; position: relative; overflow: hidden; }
#page-hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.page-hero-content { position: relative; z-index: 2; }
.page-hero-breadcrumb { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.3); margin-bottom: 1.25rem; }
.page-hero-breadcrumb a { color: var(--pink); text-decoration: none; }
.page-hero-title { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(3rem, 8vw, 7rem); font-weight: 400; font-style: italic; line-height: 1.12; color: var(--white); margin-bottom: 1.25rem; padding-bottom: .06em; opacity: 0; animation: fadeUp .7s .3s ease forwards; }
.page-hero-sub { font-size: clamp(.88rem, 1.2vw, 1rem); font-weight: 300; font-style: italic; color: rgba(255,255,255,.45); max-width: 46ch; line-height: 1.8; opacity: 0; animation: fadeUp .7s .5s ease forwards; }

/* ─── FOUNDER'S NOTE / APPROACH ─── */
#note { background: var(--note-bg); padding: 7rem 5vw; }
.note-layout { display: grid; grid-template-columns: 1fr 300px; gap: 6rem; align-items: start; }
.note-from { font-family: 'Montserrat', sans-serif; font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--pink); margin-bottom: 2.5rem; display: block; }
.note-body p { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.08rem; font-weight: 400; color: #3a3a3a; line-height: 2.05; margin-bottom: 1.6rem; }
.note-body p:last-of-type { margin-bottom: 0; }
.note-divider { width: 48px; height: 1px; background: var(--pink); opacity: .5; margin: 2.5rem 0; }
.note-signature { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.5rem; font-style: italic; color: var(--charcoal); margin-top: 2.5rem; }
.note-aside { position: sticky; top: 8rem; display: flex; flex-direction: column; gap: 2rem; }
.note-photo { width: 100%; aspect-ratio: 3/4; background: #ebe4dc; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.note-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); }
.note-photo-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.note-photo-placeholder p { font-family: 'Libre Baskerville', Georgia, serif; font-size: .82rem; font-style: italic; color: #8f8274; text-align: center; line-height: 1.7; }
.note-pull { font-family: 'Libre Baskerville', Georgia, serif; font-size: 1.05rem; font-style: italic; color: var(--charcoal); line-height: 1.65; border-left: 2px solid var(--pink); padding-left: 1.25rem; }

/* ─── SHOWREEL / VISUAL BAND ─── */
#showreel { padding: 0; background: #0a0a0a; }
.showreel-inner { position: relative; width: 100%; aspect-ratio: 16/9; max-height: 82vh; overflow: hidden; }
.showreel-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; background: linear-gradient(135deg, #111 0%, #1a1a1a 50%, #0d0d0d 100%); }
.showreel-placeholder::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(60deg, rgba(255,150,182,.03) 0, rgba(255,150,182,.03) 1px, transparent 0, transparent 50%); background-size: 30px 52px; pointer-events: none; }
.showreel-play-btn { width: 88px; height: 88px; border-radius: 50%; border: 2px solid rgba(255,150,182,.45); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; transition: border-color .3s, box-shadow .3s; }
.showreel-play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 14px 0 14px 26px; border-color: transparent transparent transparent var(--pink); margin-left: 5px; }
.showreel-play-btn:hover { border-color: var(--pink); box-shadow: 0 0 0 12px rgba(255,150,182,.08); }
.showreel-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: rgba(255,150,182,.5); position: relative; z-index: 1; }
.showreel-coming { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(1rem, 2vw, 1.4rem); font-style: italic; color: rgba(255,255,255,.25); position: relative; z-index: 1; }
.showreel-iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: none; }

/* ─── BRASS TACKS BRIDGE ─── */
#brass-tacks { background: var(--charcoal); padding: 6rem 5vw; }
.brass-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--pink); margin-bottom: 1.25rem; }
.brass-title { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 400; font-style: italic; color: var(--white); line-height: 1.1; }
.brass-right p { font-size: .97rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,.45); line-height: 1.9; margin-bottom: 1rem; }
.brass-right p:last-of-type { margin-bottom: 0; }
.brass-nav { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; }
.brass-nav-item { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.35); text-decoration: none; padding: .5rem 1rem; border: 1px solid rgba(255,255,255,.1); transition: color .2s, border-color .2s; }
.brass-nav-item:hover { color: var(--pink); border-color: rgba(255,150,182,.4); }

/* ─── CONTENT SECTION PADDING ─── */
section.content { padding: 7rem 5vw; }

/* ─── TYPES / OFFERINGS GRID ─── */
.types-section { background: var(--white); padding: 7rem 5vw; }
.types-intro { max-width: 60ch; margin-bottom: 4rem; }
.types-intro p { font-size: .97rem; font-weight: 300; font-style: italic; color: #5c5c5c; line-height: 1.85; }
.types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #f0f0f0; }
.types-grid .type-card:last-child:nth-child(3n-1) { grid-column: span 2; }
.type-card { background: var(--white); padding: 2.5rem 2rem; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: .85rem; transition: transform .25s, box-shadow .25s; }
.type-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--pink), rgba(255,150,182,0)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.type-card:hover::before { transform: scaleX(1); }
.type-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.type-num { font-family: 'Libre Baskerville', Georgia, serif; font-size: 2rem; color: #ebebeb; line-height: 1; transition: color .3s; }
.type-card:hover .type-num { color: rgba(255,150,182,.4); }
.type-card-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.type-card h3 { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal); }
.type-badge { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .3rem .7rem; line-height: 1; }
.type-badge--trial { background: rgba(255,150,182,.12); color: var(--pink); border: 1px solid rgba(255,150,182,.35); }
.type-badge--link { background: var(--charcoal); color: var(--white); text-decoration: none; display: inline-block; transition: background .2s; }
.type-badge--link:hover { background: var(--pink); }
.type-card p { font-size: .82rem; font-weight: 300; font-style: italic; color: #666; line-height: 1.7; flex: 1; }
.type-card-note { font-size: .72rem; font-weight: 600; color: var(--pink); text-transform: uppercase; letter-spacing: .08em; margin-top: auto; }

/* ─── TUTORIAL + TESTIMONIAL VIDEOS ─── */
#tutorial { background: var(--pink-light); padding: 7rem 5vw; }
.tutorial-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; margin-top: 4rem; }
.tutorial-video-wrap { position: relative; aspect-ratio: 16/9; background: #1a1a1a; overflow: hidden; }
.tutorial-video-wrap::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(60deg, rgba(255,150,182,.03) 0, rgba(255,150,182,.03) 1px, transparent 0, transparent 50%); background-size: 30px 52px; }
.tutorial-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.tutorial-play-btn { width: 64px; height: 64px; border-radius: 50%; border: 1.5px solid rgba(255,150,182,.5); display: flex; align-items: center; justify-content: center; }
.tutorial-play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent var(--pink); margin-left: 4px; }
.tutorial-play p { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: rgba(255,255,255,.4); }
.testi-videos-col { display: flex; flex-direction: column; gap: 1rem; }
.testi-video-item { position: relative; aspect-ratio: 16/9; background: #1a1a1a; overflow: hidden; }
.testi-video-item::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(60deg, rgba(255,150,182,.03) 0, rgba(255,150,182,.03) 1px, transparent 0, transparent 50%); background-size: 30px 52px; }
.testi-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .75rem; }
.testi-video-play-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,150,182,.45); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-video-play-btn::after { content: ''; display: block; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 11px; border-color: transparent transparent transparent var(--pink); margin-left: 3px; }
.testi-video-label { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.35); }

/* ─── WHAT'S INCLUDED ─── */
#included { background: var(--white); padding: 7rem 5vw; }
.included-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 3.5rem; background: #f0f0f0; }
.included-card { background: var(--white); padding: 2.25rem 1.75rem; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.included-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--pink), rgba(255,150,182,0)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.included-card:hover::before { transform: scaleX(1); }
.included-card:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,.07); }
.included-num { font-family: 'Libre Baskerville', Georgia, serif; font-size: 2.25rem; color: #ebebeb; line-height: 1; margin-bottom: 1.1rem; transition: color .3s; }
.included-card:hover .included-num { color: rgba(255,150,182,.4); }
.included-card h3 { font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--charcoal); margin-bottom: .5rem; }
.included-card p { font-size: .82rem; font-weight: 300; font-style: italic; color: #666; line-height: 1.65; }
.included-standard { display: inline-block; margin-top: .85rem; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--pink); border: 1px solid rgba(255,150,182,.3); padding: .25rem .65rem; }

/* ─── TESTIMONIALS ─── */
#testimonials { background: var(--pink-light); padding: 7rem 5vw; }
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.testi-card { background: var(--white); padding: 2.5rem; position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; border: 1px solid rgba(255,150,182,.22); box-shadow: 0 0 0 3px rgba(255,150,182,.05); transition: transform .25s, box-shadow .25s; }
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 0 0 3px rgba(255,150,182,.10), 0 18px 50px rgba(0,0,0,.08); }
.testi-card::before { content: '\201C'; font-family: 'Libre Baskerville', Georgia, serif; font-size: 6rem; color: rgba(255,150,182,.14); position: absolute; top: .5rem; right: 1.5rem; line-height: 1; pointer-events: none; z-index: 0; }
.testi-stars { display: flex; gap: 3px; margin-bottom: 1.1rem; position: relative; z-index: 1; }
.star { color: var(--pink); font-size: .75rem; }
.testi-quote { font-size: .92rem; font-weight: 300; font-style: italic; color: #555; line-height: 1.8; margin-bottom: 1.5rem; max-width: 56%; position: relative; z-index: 1; }
.testi-meta { position: relative; z-index: 1; max-width: 56%; }
.testi-name { font-size: .78rem; font-weight: 700; color: var(--charcoal); text-transform: uppercase; letter-spacing: .06em; }
.testi-role { font-size: .68rem; color: #757575; margin-top: .15rem; }
.testi-cutout { position: absolute; right: 0; bottom: 0; height: 82%; width: 46%; display: flex; align-items: flex-end; justify-content: center; z-index: 0; pointer-events: none; filter: grayscale(1) drop-shadow(1.5px 0 0 var(--pink)) drop-shadow(-1.5px 0 0 var(--pink)) drop-shadow(0 1.5px 0 var(--pink)) drop-shadow(0 -1.5px 0 var(--pink)) drop-shadow(0 0 14px var(--pink-glow)); }
.testi-cutout img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom right; display: block; margin-left: auto; }

/* ─── CTA ─── */
#cta { background: var(--charcoal); text-align: center; padding: 8rem 5vw; }
.cta-overline { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--pink); margin-bottom: 1.5rem; }
.cta-headline { font-family: 'Libre Baskerville', Georgia, serif; font-size: clamp(2rem, 4.5vw, 4.5rem); font-weight: 400; line-height: 1.08; color: var(--white); max-width: 18ch; margin: 0 auto 1.25rem; }
.cta-headline em { font-style: italic; color: var(--pink); }
.cta-sub { font-size: .95rem; font-weight: 300; font-style: italic; color: rgba(255,255,255,.4); max-width: 44ch; margin: 0 auto 3rem; line-height: 1.8; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ─── RESPONSIVE (content pages) ─── */
@media (max-width: 1024px) {
  .note-layout { grid-template-columns: 1fr 240px; gap: 4rem; }
  .types-grid { grid-template-columns: repeat(2, 1fr); }
  .included-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .note-layout { grid-template-columns: 1fr; }
  .note-aside { position: static; flex-direction: row; align-items: flex-start; }
  .note-photo { width: 140px; flex-shrink: 0; }
  .types-grid { grid-template-columns: 1fr; }
  .types-grid .type-card:last-child:nth-child(3n-1) { grid-column: span 1; }
  .tutorial-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .included-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-quote, .testi-meta { max-width: 62%; }
  .testi-cutout { width: 42%; height: 72%; }
}
