/* The Tiffany Rufino Agency: shared styles for every page */
:root {
  --orange: #fe6b41;
  --black: #020000;
  --cream: #f4f2ea;
  --peach: #f9bb9f;
  --white: #fff;
  --gutter: clamp(20px, 4.5vw, 70px);
  --max: 1400px;
  --head: "Cabin", system-ui, sans-serif;
  --body: "Epilogue", system-ui, sans-serif;
  --h1: clamp(2.3rem, 4.3vw, 4.15rem);
  --h2: clamp(1.75rem, 2.9vw, 2.8rem);
  --h3: clamp(2rem, 4vw, 3.85rem);
  --h4: clamp(1.45rem, 2vw, 1.95rem);
  --p-lg: clamp(1.05rem, 1.48vw, 1.42rem);
  --p: clamp(1rem, 1.26vw, 1.21rem);
  --header-h: 88px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: var(--p); line-height: 1.55; color: var(--black); background: var(--white); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }
h4 { font-size: var(--h4); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: .6em 1em; z-index: 100; }
.skip:focus { left: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* colors */
.c-orange { color: var(--orange); }
.c-black { color: var(--black); }
.c-cream { color: var(--cream); }
.c-white { color: var(--white); }
.c-peach { color: var(--peach); }
.c-blush { color: #f9e3d8; }
.c-pink { color: #fbd8d8; }
.bg-orange { background: var(--orange); }
.bg-black { background: var(--black); color: var(--white); }
.bg-white { background: var(--white); }

/* layout */
.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 930px; margin-inline: auto; }
section { padding-block: clamp(48px, 6vw, 96px); position: relative; }
section.tight { padding-block: clamp(28px, 3vw, 48px); }
section.flush-top { padding-top: 0; }
section.flush-bottom { padding-bottom: 0; }
.center { text-align: center; }
.lead p, p.lead { font-size: var(--p-lg); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split.r-wide { grid-template-columns: 0.9fr 1.1fr; }
.split.l-wide { grid-template-columns: 1.1fr 0.9fr; }
.split > .bleed-right { margin-right: calc(-1 * var(--gutter)); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 60px); }
.stack-sm > * + * { margin-top: .6em; }
.rounded { border-radius: 24px; overflow: hidden; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* buttons */
.btn { display: inline-block; font-family: var(--body); font-weight: 900; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 1.35em 2.6em; border-radius: 4px; background: var(--orange); color: var(--white); border: 0; cursor: pointer; text-align: center; line-height: 1.3; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }
.btn.black { background: var(--black); color: var(--white); }
.btn.white { background: var(--white); color: var(--black); }
.btn.cream { background: var(--cream); color: var(--black); }
.btn.peach { background: var(--peach); color: var(--white); }
.btn.tag { cursor: default; padding: 2em 1.6em; width: 100%; font-size: 13px; }
.btn.tag:hover { opacity: 1; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin-top: 1.4em; }
.btn-row.left { justify-content: flex-start; }

/* hand-drawn highlight marks */
mark { background: none; color: inherit; position: relative; white-space: nowrap; }
mark.u { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 50 3, 120 3, 198 6 M6 10 C 70 7, 140 7, 196 9' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 100% .28em; background-position: 0 100%; padding-bottom: .08em; }
mark.u.orange { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 50 3, 120 3, 198 6 M6 10 C 70 7, 140 7, 196 9' stroke='%23fe6b41' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
mark.u.cream { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 50 3, 120 3, 198 6 M6 10 C 70 7, 140 7, 196 9' stroke='%23f4f2ea' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); }
mark.s { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 6 L 198 9 M4 14 L 196 11' stroke='%23fe6b41' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 60% .6em; background-position: 0 55%; }
mark.pill { background: rgba(254,107,65,.14); border: 2px solid var(--orange); border-radius: 999px; padding: .05em .6em; }
mark.wrap-ok { white-space: normal; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; color: var(--white); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); width: min(1500px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav > ul { display: flex; gap: clamp(14px, 2vw, 34px); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a:not(.btn), .nav button.folder { font-family: var(--body); font-weight: 600; font-size: 15px; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 6px 0; }
.nav a:not(.btn):hover, .nav button.folder:hover, .nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav li { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #000; padding: 14px 20px; list-style: none; margin: 0; min-width: 240px; box-shadow: 0 8px 20px rgba(0,0,0,.3); }
.nav .sub li + li { margin-top: 8px; }
.nav .sub a { font-weight: 500; white-space: nowrap; }
.nav li:hover > .sub, .nav li:focus-within > .sub, .nav li.open > .sub { display: block; }
.nav .btn { padding: 1.1em 1.9em; }
.menu-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.menu-toggle svg { width: 30px; height: 30px; }

/* footer */
.site-footer { background: var(--orange); text-align: center; padding: clamp(40px, 5vw, 64px) var(--gutter); }
.site-footer .name { font-family: var(--head); font-size: var(--h2); margin: 0 0 .5em; }
.socials { display: flex; gap: 10px; justify-content: center; list-style: none; padding: 0; margin: 0 0 1.4em; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; background: var(--peach); color: var(--white); border-radius: 2px; }
.socials svg { width: 16px; height: 16px; fill: currentColor; }
.copyright { font-size: 13px; color: var(--cream); margin: 0; }

/* hero: full-bleed background photo with dark overlay */
.photo-hero { min-height: clamp(420px, 40vw, 650px); display: grid; place-items: center; text-align: center; color: var(--white); background: var(--black) center / cover no-repeat; isolation: isolate; }
.photo-hero::before { content: ""; position: absolute; inset: 0; background: rgba(2,0,0,.47); z-index: -1; }
.photo-hero.light::before { background: rgba(2,0,0,.3); }
.photo-hero h1, .photo-hero h2 { margin-bottom: .5em; }
.photo-band { min-height: clamp(300px, 26vw, 400px); display: grid; place-items: center; text-align: center; color: var(--cream); background: var(--black) center / cover no-repeat; isolation: isolate; }
.photo-band::before { content: ""; position: absolute; inset: 0; background: rgba(2,0,0,.4); z-index: -1; }
.photo-band.tall { min-height: clamp(400px, 46vw, 700px); }
.feature-band { min-height: clamp(420px, 45vw, 700px); display: flex; align-items: flex-end; color: var(--cream); background: var(--black) center / cover no-repeat; isolation: isolate; }
.feature-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2,0,0,.75), rgba(2,0,0,.15)); z-index: -1; }
.feature-band .inner { max-width: 1050px; }

/* home */
.home-hero { background: var(--orange); padding-top: 0; text-align: center; }
.home-hero .photo { position: relative; }
.home-hero .photo > img:first-child { width: 100%; aspect-ratio: 1400 / 893; object-fit: cover; }
.home-hero .badge { position: absolute; top: 0; right: 0; width: clamp(110px, 22%, 342px); aspect-ratio: 342 / 236; object-fit: contain; }
.home-hero h1.disrupt { font-size: clamp(4.4rem, 11.4vw, 11rem); color: #000; margin: -.12em 0 .05em; line-height: 1; }
.home-hero .tagline { font-size: var(--h2); color: var(--cream); font-weight: 700; margin: 0; font-family: var(--head); }
.pain { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; margin: 1.4em 0 .8em; }
.pain h2 { font-size: clamp(1.6rem, 2.9vw, 2.8rem); margin: 0; }
.what-i-do .copy { text-align: center; }
.what-i-do .copy p { font-size: var(--p-lg); }
.what-i-do h2 { color: var(--orange); }
.home-meet h4 { margin-bottom: 1.6em; }

/* service cards */
.card { display: flex; flex-direction: column; text-align: center; }
.card img { width: 100%; aspect-ratio: 432 / 280; object-fit: cover; margin-bottom: 18px; }
.card h3 { font-size: clamp(1.25rem, 1.7vw, 1.6rem); margin-bottom: .5em; }
.card p { font-size: .95rem; }
.card .btn { margin-top: auto; align-self: center; }

/* carousels */
.carousel { position: relative; }
.carousel .track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track > * { scroll-snap-align: start; flex: 0 0 auto; }
.carousel .arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #444; color: var(--white); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.carousel .arrow.prev { left: 0; }
.carousel .arrow.next { right: 0; }
.carousel .arrow svg { width: 22px; height: 22px; }
.logos .track { padding-inline: 60px; }
.logos .track > li { width: clamp(140px, 16vw, 259px); height: 132px; display: grid; place-items: center; list-style: none; }
.logos .track { list-style: none; margin: 0; }
.logos img { max-height: 90px; width: auto; max-width: 80%; object-fit: contain; }
.bg-black .carousel .arrow { background: #3a3a3a; }

/* testimonials */
.quotes .track > figure { width: 100%; margin: 0; padding: 10px 70px; text-align: center; }
.quotes blockquote { margin: 0 auto; font-family: var(--head); font-size: clamp(1.3rem, 2.7vw, 2.6rem); line-height: 1.22; max-width: 1300px; }
.quotes figcaption { margin-top: 1.2em; font-size: .9rem; }
.bg-white .quotes blockquote { color: var(--black); }

/* marquee */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee .run { display: inline-flex; gap: .6em; animation: marquee 30s linear infinite; font-family: var(--head); font-size: var(--h1); line-height: 1.2; padding-block: .1em; }
.marquee .run span { padding-right: .6em; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .run { animation: none; } html { scroll-behavior: auto; } }

/* facts */
.facts p { margin-bottom: .9em; }
.facts ul { margin-top: -.4em; }

/* icon list grids */
.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; padding: 0; margin: 0; }
.icon-grid.three { grid-template-columns: repeat(3, 1fr); }
.icon-grid.two { grid-template-columns: repeat(2, 1fr); }
.icon-grid li { text-align: center; }
.icon-grid img { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 16px; }
.icon-grid h3 { font-size: clamp(1.25rem, 1.8vw, 1.7rem); margin-bottom: .5em; }
.icon-grid p { font-size: .98rem; }
.icon-grid.left li { text-align: left; }

/* accordion */
.accordion { border-top: 1px solid currentColor; }
.accordion details { border-bottom: 1px solid currentColor; }
.accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--head); font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4em; line-height: 1; }
.accordion details[open] summary::after { content: "\2212"; }
.accordion .body { padding: 0 0 18px; font-size: .98rem; }
.accordion .body ul { margin-top: .6em; }

/* people (Women's V.O.I.C.E.S.) */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.person { background: var(--white); color: var(--black); text-align: center; }
.person img { width: 100%; aspect-ratio: 459 / 452; object-fit: cover; }
.person .info { padding: 16px 12px 22px; }
.person .info .name { font-size: 1.35rem; font-weight: 700; margin: 0 0 .3em; }
.person .name a { text-decoration: none; }
.person .info p { font-size: .8rem; margin: 0 0 .2em; }
.person-callout { display: grid; place-items: center; text-align: center; padding: 20px; }
.person-callout h2 { font-size: var(--h1); color: var(--white); }

/* forms */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label, .form legend { font-size: .95rem; font-weight: 500; display: block; margin-bottom: 6px; }
.form .hint { font-size: .8rem; opacity: .8; font-weight: 400; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #bbb; border-radius: 3px; background: #fafafa; color: var(--black); }
.form textarea { min-height: 110px; resize: vertical; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form .choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin: 6px 0; }
.form .choice input { margin-top: .3em; accent-color: var(--orange); }
.form .section-note { border-top: 1px solid currentColor; padding-top: 14px; font-size: .95rem; }
.form .hp { position: absolute; left: -9999px; }
.form .status { min-height: 1.2em; font-size: .95rem; }
.bg-black .form label, .bg-black .form legend { color: var(--white); }
.inline-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.inline-form input { min-width: 240px; padding: 14px 16px; font: inherit; border: 1px solid #ccc; border-radius: 2px; }
.ask-first h2.small { font-size: clamp(1.6rem, 2.8vw, 2.75rem); margin-bottom: .1em; }
.ask-first h2.big { font-size: clamp(3rem, 7.3vw, 7.07rem); color: var(--orange); }

/* video */
.video-wrap { position: relative; background: #000; aspect-ratio: 16 / 9; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; }

/* sponsor tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1100px; margin: 30px auto 0; }
.tiers ul { font-size: .98rem; }

/* tiffology */
.tiffology { min-height: 80vh; display: grid; place-items: center; text-align: center; }
.tiffology img { width: 200px; margin: 0 auto 10px; }

/* NY long-form */
.longform { max-width: 1100px; }
.longform h2 { margin-top: 1.4em; }
.longform p, .longform li { font-size: var(--p); }

/* responsive */
@media (max-width: 1020px) {
  :root { --header-h: 70px; }
  .brand img { height: 40px; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #000; flex-direction: column; align-items: flex-start; padding: 28px var(--gutter); overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: flex-start; gap: 18px; width: 100%; }
  .nav a:not(.btn), .nav button.folder { font-size: 22px; }
  .nav .sub a { white-space: normal; font-size: 18px; }
  .nav .sub { position: static; transform: none; box-shadow: none; padding: 10px 0 0 16px; display: none; min-width: 0; }
  .nav li:hover > .sub { display: none; }
  .nav li.open > .sub { display: block; }
  .nav .btn { margin-top: 10px; font-size: 13px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .people { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .split, .split.r-wide, .split.l-wide, .grid2, .grid3, .tiers, .pain, .form .row { grid-template-columns: 1fr; }
  .split > .bleed-right { margin-right: 0; }
  .split .order-first-m { order: -1; }
  .icon-grid, .icon-grid.three, .icon-grid.two { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr; }
  .pain { gap: 10px; }
  .quotes .track > figure { padding: 10px 50px; }
  .logos .track { padding-inline: 50px; }
  .btn { font-size: 11px; }
  .btn-row .btn { width: 100%; max-width: 360px; }
}

/* fixed-width image columns that collapse on phones */
.split.quote-cols { grid-template-columns: 224px 1fr; }
.split.facts-cols { grid-template-columns: minmax(0, 518px) 1fr; }
@media (max-width: 760px) {
  .split.quote-cols, .split.facts-cols { grid-template-columns: 1fr; }
  .split.quote-cols img { max-width: 224px; }
}

/* Nov 8 2026: consistent buttons and list alignment across screen sizes */
/* letter-spacing leaves a trailing gap after the last letter; balance it so button text sits dead center */
.btn { padding-left: calc(2.6em + .2em); }
/* card buttons: same width and height in every column, text centered even when it wraps */
.card .btn { display: inline-flex; align-items: center; justify-content: center; align-self: center; width: min(100%, 300px); min-height: 5.3em; padding: 1em 1.2em 1em 1.4em; }
.btn-row .btn { display: inline-flex; align-items: center; justify-content: center; }
/* bullet lists: wrapped lines line up exactly with the first line of text */
main ul:not([class]) { list-style: none; padding-left: 1.1em; }
main ul:not([class]) > li { position: relative; }
main ul:not([class]) > li::before { content: "\2022"; position: absolute; left: -1em; }
@media (max-width: 760px) { .card .btn { width: min(100%, 360px); } }
