/* ==========================================================================
   Davies Design Co. — site styles
   Layout note: sections use percentage side padding (--gutter) exactly like the
   original Elementor build: 20% on desktop, 12% on tablet, 24px on mobile.
   ========================================================================== */

/* ---- Fonts -------------------------------------------------------------- */
@font-face { font-family: "Grift"; font-weight: 100; font-style: normal; font-display: swap; src: url("../fonts/grift-light.woff2") format("woff2"); }
@font-face { font-family: "Grift"; font-weight: 200; font-style: normal; font-display: swap; src: url("../fonts/grift-medium.woff2") format("woff2"); }
@font-face { font-family: "Grift"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/grift-regular.woff2") format("woff2"); }
@font-face { font-family: "Grift"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/grift-bold.woff2") format("woff2"); }
@font-face { font-family: "FA Solid"; font-weight: 900; font-style: normal; font-display: block; src: url("../fonts/fa-solid-subset.woff2") format("woff2"); }
@font-face { font-family: "FA Brands"; font-weight: 400; font-style: normal; font-display: block; src: url("../fonts/fa-brands-subset.woff2") format("woff2"); }

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --c-text: #001828;        /* dark navy: text + dark sections */
  --c-light: #fcfbfb;       /* off-white */
  --c-paper: #f7f6f5;
  --c-white: #ffffff;
  --c-accent: #ff7900;      /* orange */
  --c-clear: rgba(2, 1, 1, 0);
  --gutter: 5vw;  /* content runs the full width of the window */
  --radius: 5px;
  --texture: url("../images/paper-texture-background.webp");
}
@media (max-width: 1200px) { :root { --gutter: 7vw; } }
@media (max-width: 767px)  { :root { --gutter: 24px; } }

/* ---- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Grift", sans-serif; font-size: 16px; line-height: 1.5; color: var(--c-text); background: var(--c-light); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; border: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, ul { margin: 0; padding: 0; }
ul { list-style: none; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--c-accent); color: #fff; padding: 8px 16px; }
.skip-link:focus { left: 8px; top: 8px; }

/* Display headings (the big bold titles) */
.display, .page-title h1, .work__head h2, .idea h2, .cta-together h2, .mission h2, .process__intro h2, .hero h1 {
  font-family: "Grift", sans-serif; font-weight: 900; font-size: 72px; line-height: 60px; letter-spacing: -3px;
}

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 9px;
  font: 700 20px/19px "Grift", sans-serif; letter-spacing: -1px; text-transform: capitalize;
  min-height: 40px; box-sizing: border-box; padding: 8px 16px; border: 2px solid var(--c-accent); border-radius: var(--radius);
  background: var(--c-accent); color: var(--c-light); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s;
}
.btn:focus-visible { background: var(--c-clear); color: var(--c-accent); }
@media (hover: hover) { .btn:hover { background: var(--c-clear); color: var(--c-accent); } }
.btn--light { background: var(--c-light); border-color: var(--c-light); color: var(--c-text); }
.btn--light:focus-visible { background: var(--c-clear); color: var(--c-light); }
@media (hover: hover) { .btn--light:hover { background: var(--c-clear); color: var(--c-light); } }
.btn--header { padding: 8px 16px; font-size: 20px; }
.btn--header:focus-visible { background: var(--c-text); color: var(--c-light); border-color: var(--c-light); }
@media (hover: hover) { .btn--header:hover { background: var(--c-text); color: var(--c-light); border-color: var(--c-light); } }
.btn .fa-solid { font-size: 20px; line-height: 1; }
.btn:not(:has(i)) { flex-direction: row; }

/* ---- Icons -------------------------------------------------------------- */
.fa-solid, .fa-brands { display: inline-block; font-style: normal; font-variant: normal; line-height: 1; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-solid { font-family: "FA Solid"; font-weight: 900; }
.fa-brands { font-family: "FA Brands"; font-weight: 400; }
.fa-arrow-right::before { content: "\f061"; }
.fa-facebook-f::before { content: "\f39e"; }
.fa-linkedin::before { content: "\f08c"; }
.fa-instagram::before { content: "\f16d"; }
.fa-tiktok::before { content: "\e07b"; }

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: relative; z-index: 95; display: flex; align-items: center; justify-content: space-between;
  min-height: 100px; padding: 0 var(--gutter); background: var(--c-text); color: var(--c-light);
}
.site-header__logo { display: block; width: 200px; flex: 0 0 auto; }
.site-header__logo img { width: 100%; height: auto; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  display: inline-block; padding: 5px 4px; font: 700 20px/1 "Grift", sans-serif; letter-spacing: -1px; text-transform: capitalize;
  color: var(--c-light); transition: color .3s, transform .3s;
}
.site-nav a:focus-visible, .site-nav a.is-active { color: var(--c-accent); }
@media (hover: hover) { .site-nav a:hover { color: var(--c-accent); } }
@media (hover: hover) { .site-nav a:hover { transform: none; } }
.nav-toggle { display: none; }
@media (max-width: 1200px) {
  .site-header { padding: 0 5%; }
  .site-header__right { gap: 28px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 33px; height: 33px; padding: 0; background: none; border: 0; cursor: pointer; order: 1; }
  .site-header__right > .btn { order: 2; }
  .nav-toggle span { display: block; width: 22px; height: 3px; background: var(--c-light); border-radius: 2px; transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--c-text); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { display: block; padding: 28px 20px; text-align: center; font-size: 24px; line-height: 24px; }
  @media (hover: hover) { .site-nav a:hover { transform: none; } }
  .site-nav a.is-active { background: var(--c-light); }
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer { position: relative; z-index: 6; background: var(--c-text); color: var(--c-light); }
.site-footer__grid { display: flex; flex-wrap: wrap; align-content: flex-start; gap: 57px 0; padding: 40px var(--gutter) 65px; }
.footer-col { width: 33.3333%; padding: 4px; display: flex; flex-direction: column; gap: 20px; }
.footer-heading { font: 700 24px/24px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); }
.footer-heading--big { font-size: 48px; line-height: 50px; letter-spacing: -3px; margin-right: 28px; margin-bottom: -15px; }
.footer-buttons { display: flex; flex-wrap: wrap; gap: 14px 21px; width: 86%; }
.footer-brand { width: 70%; display: flex; flex-direction: column; gap: 24px; }
.footer-brand img { width: 42%; }
.footer-brand p { font-size: 18px; line-height: 24px; font-weight: 400; }
.footer-links { display: flex; flex-direction: column; gap: 19px; }
.footer-links a { display: block; height: 10px; font: 400 18px/10px "Grift", sans-serif; text-transform: capitalize; color: var(--c-light); transition: color .3s; }
.footer-links a:focus-visible { color: var(--c-accent); }
@media (hover: hover) { .footer-links a:hover { color: var(--c-accent); } }
.footer-col > p { font-size: 18px; line-height: 24px; font-weight: 400; }
.footer-col > p a { transition: color .5s; }
@media (hover: hover) { .footer-col > p a:hover { color: var(--c-accent); } }
.social { display: flex; gap: 20px; }
.social a { display: flex; align-items: center; justify-content: center; width: 23px; height: 23px; line-height: 1; color: var(--c-accent); font-size: 23px; transition: color .3s; }
.social a:focus-visible { color: var(--c-light); }
@media (hover: hover) { .social a:hover { color: var(--c-light); } }
.site-footer__legal {
  display: flex; align-items: center; justify-content: center; min-height: 45px; padding: 0 8%; text-align: center;
  font: 700 16px/1.5 "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; color: var(--c-light);
  text-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

@media (max-width: 1200px) {
  .site-footer__grid { padding: 8% var(--gutter) calc(8% + 30px); gap: 48px 0; }
  .footer-col { width: 50%; padding: 0; }
  .footer-col:first-child { width: 100%; }
  .footer-col:first-child .footer-heading--big { max-width: 85%; }
  .footer-col:nth-child(6) { margin-top: 29px; }
  .footer-brand { width: 50%; }
  .footer-brand img { width: 58.8%; }
}

/* ---- Shared page pieces ------------------------------------------------- */
.page-title { display: flex; flex-direction: column; justify-content: center; min-height: 200px; background: var(--texture) var(--c-light); text-align: center; }
.page-title h1 { color: var(--c-text); }

.prose p + p { margin-top: 0; }
.prose p { margin: 0; }
.prose p.gap { line-height: inherit; }

/* Work grid (2 columns, 0.56 aspect ratio tiles) */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #dfe3e6; }
.work-item img { width: 100%; height: 100%; object-fit: cover; }
.work-item__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0, 24, 40, .27); opacity: 0; transition: opacity 1s; border-radius: var(--radius); }
.work-item:focus-visible .work-item__overlay { opacity: 1; }
@media (hover: hover) { .work-item:hover .work-item__overlay { opacity: 1; } }
.work-item__title { font: 700 48px/1.2 "Grift", sans-serif; text-align: center; color: var(--c-light); padding: 0 16px; }
@media (max-width: 1200px) {
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work { padding: 6.5% var(--gutter) 8.4%; }
  .work--page { padding: 6.1% var(--gutter) 8.4%; }
  .work__head h2 { font-size: 50px; line-height: 45px; margin-bottom: 26px; }
  .work__head .btn { margin-bottom: 26px; }
}
@media (max-width: 767px) { .work-item__title { font-size: 36px; } }

.work { padding: 69px var(--gutter) 64px; background: var(--texture) var(--c-paper); position: relative; z-index: 3; }
.work__head { display: flex; flex-direction: row; align-items: flex-end; justify-content: space-between; }
.work__head h2 { color: var(--c-text); font-size: 72px; line-height: 50px; margin-bottom: 37px; letter-spacing: -3px; }
.work__head .btn { margin-bottom: 14px; }
.work--page { background: var(--c-light); padding: 64px var(--gutter) 62px; }
@media (max-width: 767px) {
  .work { padding: 40px 24px; }
  .work__head { flex-direction: column; align-items: center; gap: 26px; }
  .work__head h2 { font-size: 40px; text-align: center; }
  .work__head .btn { margin-bottom: 0; }
}

/* Scroll reveal */
.fade-up, .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s ease, transform 1s ease; }
.is-visible { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) { .fade-up, .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .fade-up, .no-js .reveal { opacity: 1; transform: none; }

/* ---- Home --------------------------------------------------------------- */
.hero {
  position: sticky; top: 0; z-index: 1; display: flex; flex-direction: row; align-items: center; min-height: 10vh;
  padding: 0 var(--gutter); background: var(--texture) var(--c-paper);
}
.hero__text { width: 100%; min-height: 100px; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.hero h1 { color: var(--c-text); }
.hero__lede { margin: 2% 0 2% 0; font-size: 18px; font-weight: 400; color: var(--c-text); }
.hero__image { flex: 0 0 500px; width: 500px; display: flex; padding-top: 31px; align-self: stretch; align-items: flex-end; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; }
@media (max-width: 1200px) {
  .hero { flex-direction: column; align-items: center; padding: 0 var(--gutter); }
  .hero__text { margin-top: 10%; }
  .hero h1 { font-size: 50px; line-height: .9em; }
  .hero__lede { line-height: 24px; }
  .hero__image { flex: none; width: 100%; max-width: 555px; align-self: center; padding-top: 31px; }
}
@media (max-width: 767px) {
  .hero { min-height: 415px; padding: 0 24px; }
  .hero h1 { font-size: 40px; }
  .hero__image { margin-top: 36px; padding-top: 0; }
}

.statement { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 52px; padding: 6% 0 5%; background: var(--c-light); }
.statement__text { padding: 0 var(--gutter); font: 700 69px/60px "Grift", sans-serif; letter-spacing: -3px; color: var(--c-text); }
.statement mark { background: linear-gradient(var(--c-accent), var(--c-accent)) left / 100% 100% no-repeat; color: var(--c-light); padding: 0 6px 0 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
/* Highlight sweep (matches the original Qi highlight): words wipe in left to right once the text scrolls into view */
html:not(.no-js) .statement__text:not(.is-appeared) mark { background-size: 0 100%; }
.statement__text.is-appeared mark { animation: highlight-sweep 1.1s cubic-bezier(.32,.32,.15,1.17) forwards; }
.statement__text.is-appeared mark:nth-of-type(2n) { animation-delay: .2s; animation-fill-mode: both; }
@keyframes highlight-sweep { from { background-size: 0 100%; } to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .statement__text.is-appeared mark { animation: none; } html:not(.no-js) .statement__text:not(.is-appeared) mark { background-size: 100% 100%; } }
@media (max-width: 1200px) { .statement { padding: 11% 0 7%; } .statement__text { padding: 0 var(--gutter); font-size: 50px; line-height: .9em; } }
@media (max-width: 767px) { .statement { gap: 30px; padding: 50px 0 36px; } .statement__text { padding: 0 24px; font-size: 40px; } }

/* Logo marquee: continuous linear scroll, like the old carousel */
.marquee { overflow: hidden; padding: 5px 0; --show: 7; --gap: 80px; --slide: calc((100vw - (var(--show) - 1) * var(--gap)) / var(--show)); }
.marquee__track { display: flex; width: max-content; gap: var(--gap); padding-right: var(--gap); animation: marquee 20.25s linear infinite; }
.marquee__track li { flex: 0 0 var(--slide); }
.marquee__track img { width: 100%; height: 80px; object-fit: contain; object-position: center; }
@keyframes marquee { to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@media (max-width: 1200px) { .marquee { --show: 5; --gap: 15px; } .marquee__track { animation-duration: 32.4s; } }
@media (max-width: 767px) { .marquee { --show: 3; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

.testimonials { position: relative; z-index: 4; display: flex; flex-direction: column; padding: 5% var(--gutter) 6%; background: var(--c-text); color: var(--c-light); }
.testimonials__label { text-align: center; font: 700 16px/50px "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
.testimonials__row { display: flex; flex-direction: row; gap: 50px; margin-top: 24px; }
.testimonial { flex: 1 1 0; padding: 0 5px; }
.testimonial blockquote p { font-size: 18px; line-height: 24px; margin-bottom: 24px; font-weight: 400; }
.testimonial strong { display: block; font: 700 16px/24px "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; }
.testimonial span { display: block; font-size: 16px; font-weight: 400; }
@media (max-width: 1200px) { .testimonials { padding: 8% var(--gutter); } }
@media (max-width: 767px) { .testimonials { padding: 40px 24px; } .testimonials__row { flex-direction: column; gap: 50px; } .testimonials__label { margin-bottom: 0; } }

.idea { position: relative; z-index: 5; display: flex; flex-direction: row; align-items: flex-start; padding: 5% var(--gutter) 0; background: var(--c-light); }
.idea__text { width: 100%; min-height: 500px; padding-right: 5%; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.idea h2 { font-size: 72px; line-height: 60px; color: var(--c-text); }
.idea__text p { margin: 3% 0 0; padding-right: 30%; font-size: 16px; color: var(--c-text); margin-bottom: 10px; }
.idea__photo { position: relative; width: 100%; min-height: 420px; border-radius: var(--radius); overflow: hidden; }
.idea__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.idea__img--hover { opacity: 0; }
@media (hover: hover) { .idea__photo:hover .idea__img--hover { opacity: 1; } }
@media (max-width: 1200px) {
  .idea { padding: 8% var(--gutter); margin: 0; }
  .idea__text { width: 50%; min-height: 300px; padding: 0; }
  .idea__photo { width: 50%; min-height: 420px; }
  .idea h2 { font-size: 50px; line-height: .9em; }
  .idea__text p { margin: 3% 5% 0 0; padding: 0; line-height: 24px; letter-spacing: 0; }
}
@media (max-width: 767px) {
  .idea { flex-direction: row; flex-wrap: wrap; padding: 40px 24px; }
  .idea__text { width: 100%; min-height: 0; margin-top: 24px; order: 2; }
  .idea__photo { width: 100%; max-width: 500px; min-height: 300px; order: 1; }
  .idea h2 { font-size: 40px; }
}

/* ---- About -------------------------------------------------------------- */
.about-row { display: flex; flex-direction: row; align-items: flex-start; padding: 5% var(--gutter) 0; background: var(--c-light); }
.about-row--first { flex-direction: row-reverse; }
.about-row--second { padding-top: 3%; }
.about-row__text { flex: 0 1 100%; display: flex; flex-direction: column; gap: 5px; }
.prose-sm { font-size: 16px; font-weight: 400; }
.prose-sm p + p { margin-top: 10px; }
.about-row--first .about-row__text { padding-left: 30px; }
.about-row--second .about-row__text { padding-right: 30px; }
.about-row__photo { flex: 0 1 80%; min-height: 320px; border-radius: var(--radius); overflow: hidden; }
.about-row__photo img { display: block; width: 100%; height: 320px; object-fit: cover; }
@media (max-width: 1200px) {
  .about-row { padding: 8% var(--gutter) 2%; }
  .about-row--second { padding: 2% var(--gutter) 8%; }
  .about-row__text, .about-row__photo { flex: 0 0 50%; width: 50%; }
  .about-row--first .about-row__text { padding-left: 30px; }
  .about-row--second .about-row__text { padding-right: 30px; }
  .about-row__text { gap: 0; }
  .prose-sm p { margin-bottom: 10px; }
  .prose-sm p + p { margin-top: 0; }
  .about-row .prose-sm { line-height: 24px; }
}
@media (max-width: 767px) {
  .about-row, .about-row--first { flex-direction: column; padding: 40px 24px 0; gap: 24px; }
  .about-row__text, .about-row__photo { flex: none; width: 100%; max-width: 500px; }
  .about-row__photo { min-height: 320px; order: -1; }
  .about-row .prose-sm { line-height: 24px; }
  .page-title { min-height: 100px; }
}
@media (min-width: 768px) and (max-width: 1200px) { .page-title { min-height: 140px; } }

.mission { position: relative; margin-top: 5%; padding: 85.4px var(--gutter) 102px; background: var(--c-text) var(--bg) center / cover no-repeat; color: var(--c-light); isolation: isolate; }
.mission::before { content: ""; position: absolute; inset: 0; background: var(--c-text); opacity: .87; z-index: -1; }
.mission h2 { color: var(--c-light); }
.mission > * { padding: 0 5px; }
.mission p { margin-top: 16px; font-size: 18px; line-height: 24px; font-weight: 400; }

.process { background: var(--c-text); color: var(--c-light); }
.process__intro { padding: 85.4px var(--gutter) 21px; display: flex; flex-direction: column; gap: 0; }
.process__intro > * { padding: 0 5px; }
.process__intro h2 { color: var(--c-light); }
.process__intro p { margin-top: 16px; font-size: 18px; line-height: 24px; font-weight: 400; }
.process__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; grid-auto-rows: 1fr; padding: 0 var(--gutter) 94px; }
.process-step { display: flex; flex-direction: column; padding: 5px; }
.process-step img { width: 100%; height: 290px; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.process-step h3 { font: 700 24px/1.2 "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); margin-top: 0; line-height: 30px; }
.process-step p { font-size: 18px; line-height: 24px; font-weight: 400; color: var(--c-light); }
@media (max-width: 1200px) { .process__intro { padding: 8% var(--gutter) 16px; } .process__steps { padding: 0 var(--gutter) 8%; } }
@media (max-width: 767px) { .process__intro { padding: 40px 24px 16px; } .process__steps { padding: 0 24px 40px; grid-template-columns: minmax(0, 1fr); } .process-step img { height: auto; } }

.trusted { display: flex; flex-direction: column; gap: 0; padding: 5% 0 6%; background: var(--c-light); }
.trusted h5 { text-align: center; font: 700 18px/18px "Grift", sans-serif; color: var(--c-text); margin-bottom: 38px; }
.work--about { margin: 0; }

.cta-together { display: flex; flex-direction: column; align-items: center; gap: 0; margin: 5% 0; padding: 0 var(--gutter); text-align: center; }
.cta-together h2 { color: var(--c-text); }
.cta-together p { margin: 20px 0; font-size: 18px; font-weight: 400; }
@media (max-width: 767px) { .cta-together h2 { font-size: 40px; } }

/* ---- Contact ------------------------------------------------------------ */
.contact { display: flex; flex-direction: row; gap: 0; padding: 69px var(--gutter); background: var(--c-light); }
.contact__info { width: 100%; min-height: 618px; padding: 80px 5px 0; padding-right: 5%; display: flex; flex-direction: column; justify-content: space-between; }
.contact__info h2 { letter-spacing: -3px; font: 700 48px/40px "Grift", sans-serif; margin-bottom: 24px; color: var(--c-text); }
.contact__info > div:first-child p { font-size: 16px; line-height: 24px; max-width: 252px; }
.contact__info h2 { max-width: 360px; }
.contact__details { display: flex; flex-direction: column; gap: 0; padding-bottom: 9px; margin-left: -5px; }
.contact__details > div { display: flex; flex-direction: column; gap: 13px; }
.contact__details > div:nth-child(1) { height: 95px; }
.contact__details > div:nth-child(2) { height: 88px; }
.contact__details h6 { font: 700 24px/24px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); }
.contact__details p { font-size: 18px; line-height: 24px; font-weight: 400; color: var(--c-text); }
.contact__details .social a { color: var(--c-accent); }
.contact__form { width: 100%; display: flex; flex-direction: column; gap: 14px; padding: 0 5px; }
.field-label { font: 700 20px/24px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); margin-bottom: -6px; }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; min-height: 48px; padding: 5px 14px; font: 400 16px/1.4 "Grift", sans-serif; color: var(--c-text);
  background: #fff; border: 2px solid var(--c-text); border-radius: var(--radius);
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: 2px solid var(--c-accent); outline-offset: 0; }
.contact__form select { min-height: 40px; height: 40px; }
.contact__form .btn { align-self: stretch; min-height: 40px; width: 100%; margin-top: 0; }
.form-status { font-size: 16px; }
@media (max-width: 1200px) {
  .contact { flex-direction: column; padding: calc(5.76% + 46px) var(--gutter) calc(6.4% + 1px); }
  .contact__info { min-height: 0; padding: 0 5px; justify-content: flex-start; }
  .contact__info h2 { max-width: none; margin-bottom: 17px; }
  .contact__info > div:first-child p { max-width: none; margin-bottom: 43px; }
  .contact__details { display: grid; grid-template-columns: 253fr 389fr 194fr; padding: 0; margin-left: -5px; margin-right: 0; }
  .contact__details > div:nth-child(n) { height: auto; }
  .contact__form { margin-top: 31px; }
}
@media (max-width: 767px) { .contact { flex-direction: column; padding: 40px 24px; } .contact__info { min-height: 0; padding: 0 0 30px; gap: 30px; } }

/* ---- Project pages ------------------------------------------------------ */
.project-hero {
  position: relative; display: flex; align-items: flex-end; min-height: 700px; background: var(--c-text) center center / cover no-repeat; background-color: var(--c-text);
}
.project-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 1, 1, 0) 0%, #000 100%); opacity: .61; }
.project-intro, .project-section, .project-services { display: flex; flex-direction: row; gap: 20px; margin: 5% 0; padding: 0 var(--gutter); }
.project-intro__head, .project-intro__body, .project-section > *, .project-services > * { width: 100%; }
.project-intro__head { display: flex; flex-direction: column; justify-content: space-between; }
.project-intro h1 { font: 700 60px/50px "Grift", sans-serif; letter-spacing: -3px; color: var(--c-text); }
.project-meta { display: flex; flex-direction: column; gap: 4px; }
.project-meta p { font: 700 16px/1em "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; color: var(--c-text); }
.project-intro__body, .project-section__body { display: flex; align-items: flex-end; font-size: 18px; line-height: 24px; font-weight: 400; color: var(--c-text); }
.project-intro__body .prose, .project-section__body .prose { width: 100%; }
.project-section h2 { font: 700 24px/1em "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); }
.gallery { display: flex; flex-direction: row; gap: 20px; margin: 0 0 20px; padding: 0 var(--gutter); }
.gallery img { flex: 1 1 0; min-width: 0; width: 100%; height: auto; border-radius: var(--radius); }
.project-testimonial { display: flex; flex-direction: column; align-items: center; margin: 5% 0; padding: 0 var(--gutter); text-align: center; }
.project-testimonial__quote { font-size: 18px; line-height: 24px; font-weight: 400; color: var(--c-text); }
.project-testimonial__name { margin-top: 0; font: 700 16px/1.5 "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; color: var(--c-text); }
.project-testimonial__role { font-size: 16px; font-weight: 400; color: var(--c-text); }
.project-services { gap: 0; }
.project-services > * { width: 57%; }
.project-services h3 { font: 700 24px/1.25 "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); }
.project-services .prose { font-size: 18px; line-height: 24px; font-weight: 400; }
.project-services__cta { display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; }
.project-note { padding: 0 var(--gutter) 46px; font-size: 16px; line-height: 24px; text-align: center; color: var(--c-text); margin-top: 0; }
@media (max-width: 1200px) {
  .project-hero { min-height: 200px; padding-bottom: 3%; }
  .project-intro h1 { font-size: 50px; }
}
@media (max-width: 767px) {
  .project-hero { min-height: 100px; }
  .project-intro, .project-section { flex-direction: column; gap: 20px; margin: 10% 0; }
  .project-intro h1 { font-size: 40px; }
  .project-intro__head { gap: 6px; }
  .project-intro__body { margin-top: 9px; font-size: 16px; }
  .project-section__body { font-size: 16px; }
  .project-section h2 { margin-bottom: 6px; line-height: 1em; }
  .gallery { gap: 10px; margin-bottom: 10px; }
  .gallery--2 { flex-direction: row; }
  .project-testimonial__quote { font-size: 16px; }
  .project-services > * { width: 50%; }
  .project-services .prose { font-size: 16px; }
}

/* ---- Tablet overrides that must follow base rules ----------------------- */
@media (max-width: 1200px) {
  .work { padding: 6.5% var(--gutter) 8.4%; }
  .work--page { padding: 6.1% var(--gutter) 8.4%; }
  .work__head h2 { font-size: 50px; line-height: 45px; margin-bottom: 26px; }
  .work__head .btn { margin-bottom: 26px; }
}
@media (max-width:1200px) and (min-width:768px) { .mission { margin-top: 0; padding: 95px var(--gutter) 102px; } .process__steps { grid-template-columns: minmax(0,1fr); } .process-step img { height: 290px; } }
@media (max-width:1200px) { .process__steps { grid-template-columns: minmax(0,1fr); } }
@media (max-width:767px) { .mission { margin-top: 0; padding: 56px 24px; } .mission > *, .process__intro > * { padding: 0; } .about-row, .about-row--first, .about-row--second { padding: 32px 24px 0; gap: 20px; } .about-row--second { padding-bottom: 32px; } .about-row__photo img, .about-row__photo { height: auto; min-height: 0; aspect-ratio: 4 / 3; } .about-row__photo img { height: 100%; } .process-step { padding: 0; } .process-step img { height: auto; aspect-ratio: 473 / 290; } .process__steps { gap: 32px; padding: 0 24px 48px; } .trusted { padding: 40px 0; } }
@media (max-width:1200px) and (min-width:768px) { .mission { padding-bottom: 110px; } .process__steps { padding-bottom: calc(8% + 193px); } .trusted { padding-bottom: calc(6% - 7px); } }
@media (max-width:767px) { .about-row--first .about-row__text, .about-row--second .about-row__text { padding: 0; } .about-row__text { max-width: none; } .about-row__photo { max-width: none; } }

/* ---- Mobile type scale + overflow fixes (<=767px) ------------------------
   One scale: page titles/hero 40/44 · section headings 36/40 · sub-headings 24/30
   · body 16/24 · buttons/labels 18/24 · footer links 16/24 */
@media (max-width: 767px) {
  html, body { overflow-x: clip; }
  .page-title h1, .hero h1, .display { font-size: 40px; line-height: 44px; letter-spacing: -2px; }
  .work__head h2, .mission h2, .process__intro h2, .cta-together h2, .idea h2, .contact__info h2 { font-size: 36px; line-height: 40px; letter-spacing: -2px; }
  .work__head h2, .mission h2, .process__intro h2 { margin-bottom: 16px; }
  .contact__info h2 { max-width: none; }
  .statement__text { font-size: 36px; line-height: 40px; }
  .process-step h3, .project-section h2, .project-services h3, .footer-heading:not(.footer-heading--big) { font-size: 24px; line-height: 30px; }
  .footer-heading--big { font-size: 36px; line-height: 40px; margin-bottom: 0; }
  p, .prose-sm, .prose, .hero__lede, .idea__text p, .mission p, .process__intro p, .process-step p, .testimonial__quote, .testimonial,
  .project-intro__body, .project-section__body, .project-note, .footer-col > p, .contact__info p, .cta-together p, .project-testimonial__quote,
  .site-footer__legal, .site-footer a { font-size: 16px; line-height: 24px; }
  .contact__field label, .contact__form label, label { font-size: 18px; line-height: 24px; }
  .btn, .btn--header { font-size: 18px; line-height: 24px; }
  .btn .fa-solid { font-size: 18px; }
  .contact__details { display: flex; flex-direction: column; gap: 20px; }
  .contact__details > * { width: 100%; max-width: 100%; }
  .footer-col a { height: auto; }
  .site-nav a { font-size: 24px; line-height: 24px; }
  .testimonials__label { font-size: 16px; line-height: 24px; letter-spacing: 1.7px; }
  .site-footer__grid { padding: 48px 24px 56px; gap: 36px 0; }
  .footer-col, .footer-col:first-child, .footer-col:nth-child(6) { width: 100%; margin-top: 0; }
  .footer-col:first-child .footer-heading--big { max-width: none; margin-right: 0; }
  .footer-buttons { width: 100%; }
  .footer-brand { width: 100%; }
  .footer-brand img { width: 120px; }
  .contact__details, .contact__details > * { margin-left: 0; padding-left: 0; }
  .contact__form { padding: 0; }
  .project-services { flex-direction: column; gap: 24px; }
  .project-services > * { width: 100%; }
  .project-services__cta { align-items: flex-start; }
  .footer-links { gap: 14px; }
  .footer-links a { height: auto; font-size: 16px; line-height: 24px; }
  .footer-col > p a { word-break: break-word; }
}

/* ---- Mobile vertical rhythm: 48px between sections, 24px side gutters, everything flush to the gutter ---- */
@media (max-width: 767px) {
  .statement { padding: 48px 0; }
  .work, .work--page, .work--about { padding: 48px 24px; }
  .testimonials, .idea, .contact { padding: 48px 24px; }
  .testimonial { padding: 0; }
  .testimonials__row { gap: 40px; margin-top: 16px; }
  .trusted { padding: 48px 0; }
  .mission { padding: 48px 24px; }
  .process__intro { padding: 48px 24px 24px; }
  .process__steps { padding: 0 24px 48px; gap: 32px; }
  .about-row, .about-row--first { padding: 48px 24px 0; }
  .about-row--second { padding: 32px 24px 48px; }
  .cta-together { margin: 48px 0; padding: 0 24px; }
  .project-intro, .project-section, .project-testimonial, .project-services { margin: 48px 0 0; }
  .project-note { padding: 24px 24px 48px; }
  .site-footer__grid { padding: 48px 24px; }
  .work__head { margin-bottom: 24px; }
}
@media (max-width: 767px) { .project-intro + .gallery, .project-section + .gallery { margin-top: 24px; } .gallery + .project-section, .gallery + .project-testimonial { margin-top: 48px; } }
@media (max-width: 767px) { .site-header { padding: 0 24px; } .site-header__logo { width: 140px; } .site-header__right { gap: 16px; } }

/* ---- Refinements ---- */
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.is-success { color: #1f7a3d; }
.form-status.is-error { color: #b3261e; }
.read-more { align-self: flex-start; margin: 0 0 24px; padding: 0; background: none; border: 0; border-bottom: 2px solid var(--c-accent); color: var(--c-accent); font: 700 16px/24px "Grift", sans-serif; cursor: pointer; }
.read-more[hidden] { display: none; }
.testimonial blockquote.is-clamped p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.project-intro + .gallery, .project-section + .gallery { margin-top: 24px; }
@media (max-width: 767px) {
  .project-hero { min-height: 200px; }
  .site-footer__grid { row-gap: 32px; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
  .footer-col:nth-child(4), .footer-col:nth-child(6) { width: 50%; order: 1; }
  .footer-col:nth-child(5) { order: 2; }
  .footer-col:nth-child(6) { padding-left: 0; }
}
@media (max-width: 1200px) { .project-hero { background-position: center center; } }
@media (max-width: 767px) { .project-hero { min-height: 220px; padding-bottom: 0; } }

/* ---- Project pages: one consistent vertical rhythm (64px desktop / 40px mobile between blocks) ---- */
:root { --pgap: 64px; }
@media (max-width: 767px) { :root { --pgap: 40px; } }
.project-intro, .project-section, .project-testimonial, .project-services { margin: 0 0 var(--pgap); }
.project-intro { margin-top: var(--pgap); }
.project-intro + .gallery, .project-section + .gallery { margin-top: 0; }
.gallery + .project-section, .gallery + .project-testimonial, .gallery + .project-services,
.project-testimonial + .project-services { margin-top: var(--pgap); }
.project-testimonial + .project-services { margin-top: 0; }
@media (max-width: 767px) { .gallery { margin-bottom: 10px; } .project-note { padding-top: 0; } }

.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px 16px; }
.hero .btn--light { border-color: var(--c-text); background: transparent; color: var(--c-text); }
.hero .btn--light:focus-visible { background: var(--c-text); color: var(--c-light); }
@media (hover: hover) { .hero .btn--light:hover { background: var(--c-text); color: var(--c-light); } }
@media (min-width: 1201px) { .hero__buttons { flex-wrap: nowrap; width: max-content; gap: 14px; } }
@media (max-width: 767px) { .btn, .btn--header { font-size: 16px; line-height: 24px; padding: 8px 14px; gap: 8px; letter-spacing: -.5px; } .btn .fa-solid { font-size: 16px; } .hero__buttons { gap: 10px; } }

.testimonials__cta { display: flex; justify-content: center; margin-top: 48px; }
@media (max-width: 767px) { .testimonials__cta { margin-top: 40px; } }

/* ---- Testimonials: three short quotes, open ---- */
.testimonials__row { display: grid; align-items: start; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: 40px; }
.testimonial { display: flex; flex-direction: column; gap: 14px; padding: 0; }
.testimonial blockquote { margin-bottom: 0; }
.testimonial blockquote p { font: 700 24px/30px "Grift", sans-serif; letter-spacing: -1px; margin-bottom: 0; }
@media (max-width: 1200px) { .testimonials__row { gap: 32px; } .testimonial blockquote p { font-size: 20px; line-height: 26px; } }
@media (max-width: 900px) { .testimonials__row { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 767px) { .testimonial blockquote p { font-size: 22px; line-height: 28px; } .testimonials__cta { justify-content: flex-start; } }

/* ---- Mobile text blocks: heading 16px above its paragraph, paragraph 24px above its button ---- */
@media (max-width: 767px) {
  .hero__text, .idea__text { gap: 0; }
  .hero__lede, .idea__text p { margin: 16px 0 24px; padding: 0; }
  .hero__buttons { margin-top: 0; }
  .work__head { gap: 24px; }
  .work__head h2, .work__head .btn { margin-bottom: 0; }
  .cta-together h2 { margin: 0; }
  .cta-together p { margin: 16px 0 24px; }
}

/* ---- Hero eyebrow, work cards, services ---- */
.hero__eyebrow { font: 700 22px/28px "Grift", sans-serif; letter-spacing: -.5px; color: var(--c-accent); }
.work-grid { row-gap: 40px; }
.work-card { display: flex; flex-direction: column; gap: 16px; }
.work-card__meta { display: flex; flex-direction: column; gap: 4px; }
.work-card__meta h3 { font: 700 24px/30px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); }
@media (hover: hover) { .work-card__meta h3 a:hover { color: var(--c-accent); } }
.work-card__tags { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-accent); }
.work-card__summary { font-size: 16px; line-height: 24px; color: var(--c-text); }
.work-item__overlay { display: none; }
.work-item { transition: transform .4s, box-shadow .4s; }
.work-item:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 24, 40, .18); }
@media (hover: hover) { .work-item:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0, 24, 40, .18); } }
.services { position: relative; z-index: 3; padding: 32px var(--gutter) 24px; background: var(--c-light); }
.services__title { font: 700 48px/50px "Grift", sans-serif; letter-spacing: -2px; color: var(--c-text); text-align: center; margin-bottom: 40px; }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.service { padding-top: 20px; border-top: 3px solid var(--c-text); }
.service h3 { font: 700 24px/30px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); margin-bottom: 8px; }
.service p { font-size: 16px; line-height: 24px; color: var(--c-text); }
@media (max-width: 1200px) { .services { padding: 64px var(--gutter) 16px; } .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }
@media (max-width: 767px) { .hero__eyebrow { font-size: 18px; line-height: 24px; } .services { padding: 48px 24px; } .services__title { font-size: 36px; line-height: 40px; margin-bottom: 24px; } .services__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .work-grid { row-gap: 32px; } }

/* ---- Work cards: info overlaid on the image over a gradient ---- */
.work-grid { row-gap: 20px; }
.work-card { display: block; }
.work-card .work-item { display: block; }
.work-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .8) 100%); pointer-events: none; transition: opacity .4s; }
.work-card__meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; flex-direction: column; gap: 4px; padding: 24px; color: var(--c-light); }
.work-card__tags { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #ffb066; }
.work-card__title { font: 700 30px/34px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); }
.work-card__summary { font-size: 16px; line-height: 24px; color: rgba(252, 251, 251, .92); }
.work-item:focus-visible::after { opacity: .85; }
@media (hover: hover) { .work-item:hover::after { opacity: .85; } }
@media (max-width: 1200px) { .work-item { aspect-ratio: 4 / 3; } }
@media (max-width: 767px) { .work-card__meta { padding: 16px; } .work-card__title { font-size: 24px; line-height: 28px; } .work-card__summary { font-size: 14px; line-height: 20px; } .work-item { aspect-ratio: 4 / 3; } }
.work-item { aspect-ratio: 5 / 4; }
.work-item::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .8) 100%); }
.work-item img { object-position: center 35%; }
@media (max-width: 767px) { .work-item { aspect-ratio: 1 / 1; } }

/* ---- Work cards: 16:9 tiles; name always shown, details slide in on hover ---- */
.work-item, .work-grid .work-item { aspect-ratio: 16 / 9; }
.work-item img { object-position: center; }
.work-item::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100%); opacity: 1; transition: opacity .5s; }
.work-item:focus-visible::after { opacity: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 10%, rgba(0, 0, 0, .88) 100%); }
@media (hover: hover) { .work-item:hover::after { opacity: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 10%, rgba(0, 0, 0, .88) 100%); } }
.work-card__meta { gap: 0; padding: 20px 24px; }
.work-card__title { font-size: 30px; line-height: 34px; }
.work-card__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .5s ease, opacity .5s ease; }
.work-card__more-inner { overflow: hidden; display: flex; flex-direction: column; gap: 4px; min-height: 0; transform: translateY(10px); transition: transform .5s ease; }
.work-card__tags { margin-top: 8px; color: var(--c-accent); }
.work-item:focus-visible .work-card__more { grid-template-rows: 1fr; opacity: 1; }
@media (hover: hover) { .work-item:hover .work-card__more { grid-template-rows: 1fr; opacity: 1; } }
.work-item:focus-visible .work-card__more-inner { transform: none; }
@media (hover: hover) { .work-item:hover .work-card__more-inner { transform: none; } }
/* touch screens have no hover: show the service tags under the name, keep it compact */
@media (hover: none) { .work-card__more { grid-template-rows: 1fr; opacity: 1; } .work-card__more-inner { transform: none; } .work-card__summary { display: none; } }
@media (max-width: 767px) { .work-item { aspect-ratio: 16 / 9; } .work-card__meta { padding: 12px 16px; } .work-card__title { font-size: 22px; line-height: 26px; } .work-card__summary { font-size: 14px; line-height: 20px; } }

/* =============================================================================
   TYPE SCALE (single source of truth — keep new text on these steps)
   Display  72/60  · tablet 50/48 · mobile 40/44   page titles, hero, section headings
   Heading  48/50  · tablet 40/44 · mobile 32/36   project titles, contact + footer headings
   Sub-head 24/30  (all sizes)                      card titles, step/section sub-heads, footer column heads
   Lead     20/28  (all sizes)                      hero eyebrow
   Body L   18/24  · mobile 16/24                   ledes, quotes, long-form paragraphs
   Body     16/24                                    paragraphs, lists, footer links, summaries
   Label    16/24  uppercase, 1.7px tracking         names, section labels, legal
   Caption  13/20  uppercase, 1.5px tracking         service tags
   Weights: 700 for everything bold (Grift Bold), 400 for body. Tracking: -3 / -2 / -1px by step.
   ============================================================================= */
:root { --t-display: 72px; --t-display-lh: 60px; --t-heading: 48px; --t-heading-lh: 50px; }
@media (max-width: 1200px) { :root { --t-display: 50px; --t-display-lh: 48px; --t-heading: 40px; --t-heading-lh: 44px; } }
@media (max-width: 767px) { :root { --t-display: 40px; --t-display-lh: 44px; --t-heading: 32px; --t-heading-lh: 36px; } }

/* Display */
.display, .page-title h1, .hero h1, .work__head h2, .idea h2, .cta-together h2, .mission h2, .process__intro h2, .statement__text {
  font-weight: 700; font-size: var(--t-display); line-height: var(--t-display-lh); letter-spacing: -3px;
}
.statement__text mark { font: inherit; letter-spacing: inherit; }
@media (max-width: 767px) { .display, .page-title h1, .hero h1, .work__head h2, .idea h2, .cta-together h2, .mission h2, .process__intro h2, .statement__text { letter-spacing: -2px; } }
.work__head h2 { margin-bottom: 0; }

/* Heading */
.project-intro h1, .contact__info h2, .footer-heading--big {
  font-weight: 700; font-size: var(--t-heading); line-height: var(--t-heading-lh); letter-spacing: -2px;
}
.contact__info h2 { margin-bottom: 24px; }
.footer-heading--big { margin-bottom: 16px; }

/* Sub-head */
.project-section h2, .project-services h3, .process-step h3, .footer-heading:not(.footer-heading--big), .work-card__title, .project-testimonial__name + *, .contact__details h6 {
  font-weight: 700; font-size: 24px; line-height: 30px; letter-spacing: -1px;
}
.project-testimonial__name + * { font-weight: 400; letter-spacing: 0; font-size: 16px; line-height: 24px; }

/* Lead */
.hero__eyebrow { font-size: 20px; line-height: 28px; letter-spacing: -.5px; }

/* Label + caption */
.testimonials__label { font-size: 16px; line-height: 24px; padding: 13px 0; letter-spacing: 1.7px; text-transform: uppercase; }
.work-card__tags { font-size: 13px; line-height: 20px; letter-spacing: 1.5px; }

/* Work cards: tags + summary fade and slide up, staggered, on hover/focus */
.work-card__more { transition: grid-template-rows .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.work-card__more-inner { transform: none; }
.work-card__tags, .work-card__summary { opacity: 0; transform: translateY(18px); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.7,.2,1); }
.work-item:focus-visible .work-card__tags { opacity: 1; transform: none; transition-delay: .08s; }
@media (hover: hover) { .work-item:hover .work-card__tags { opacity: 1; transform: none; transition-delay: .08s; } }
.work-item:focus-visible .work-card__summary { opacity: 1; transform: none; transition-delay: .18s; }
@media (hover: hover) { .work-item:hover .work-card__summary { opacity: 1; transform: none; transition-delay: .18s; } }
@media (hover: none) { .work-card__tags { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .work-card__tags, .work-card__summary { transition: none; transform: none; } }

/* Work card hover: keep the image untouched, only intensify the bottom gradient */
.work-item:focus-visible::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100%); opacity: 1; }
@media (hover: hover) { .work-item:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .8) 100%); opacity: 1; } }
.work-item::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .5s ease; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 100%); }
.work-item:focus-visible::before { opacity: 1; }
@media (hover: hover) { .work-item:hover::before { opacity: 1; } }
.work-card__meta { z-index: 2; }

/* Softer resting gradient; hover layer adds the extra intensity */
.work-item::after, .work-item:focus-visible::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .5) 100%); opacity: 1; }
@media (hover: hover) { .work-item:hover::after { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .5) 100%); opacity: 1; } }
.work-item::before { background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .6) 100%); }

/* My Work section spacing */
.work { padding-top: 80px; padding-bottom: 80px; }
.work--page { padding-top: 64px; padding-bottom: 80px; }
.work__head { align-items: center; margin-bottom: 40px; }
.work__head h2, .work__head .btn { margin-bottom: 0; }
@media (max-width: 1200px) { .work { padding-top: 64px; padding-bottom: 64px; } .work__head { margin-bottom: 32px; } }
@media (max-width: 767px) { .work { padding: 48px 24px; } .work__head { gap: 20px; margin-bottom: 24px; } }

/* Testimonials — mobile spacing + alignment */
@media (max-width: 767px) {
  .testimonials__label { text-align: left; padding: 0; }
  .testimonials__row { margin-top: 32px; gap: 0; }
  .testimonial { gap: 16px; padding: 32px 0; border-top: 1px solid rgba(252, 251, 251, .18); }
  .testimonial:first-child { padding-top: 0; border-top: 0; }
  .testimonial:last-child { padding-bottom: 0; }
  .testimonial blockquote p { font-size: 24px; line-height: 30px; }
  .testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
  .testimonials__cta { margin-top: 40px; }
}

@media (max-width: 767px) { .footer-brand img { width: 72px; } }

/* =============================================================================
   PROCESS TIMELINE (About) — line draws with scroll, steps light up + slide in
   ============================================================================= */
.process .timeline { display: block; position: relative; padding: 24px var(--gutter) 120px; counter-reset: none; }
.timeline__line { position: absolute; top: 24px; bottom: 120px; left: 50%; width: 2px; margin-left: -1px; background: rgba(252, 251, 251, .16); border-radius: 2px; }
.timeline__progress { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--tl-p, 0) * 1px); background: var(--c-accent); border-radius: 2px; box-shadow: 0 0 12px rgba(255, 122, 0, .55); }
.process .process-step { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 96px; align-items: center; padding: 0; margin-bottom: 96px; }
.process .process-step:last-child { margin-bottom: 0; }
.process .process-step img { width: 100%; height: auto; aspect-ratio: 473 / 290; margin: 0; grid-column: 1; grid-row: 1; }
.process .process-step__body { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 8px; }
.process .process-step:nth-child(even) img { grid-column: 2; }
.process .process-step:nth-child(even) .process-step__body { grid-column: 1; text-align: right; align-items: flex-end; }
.process-step__num { font: 700 16px/24px "Grift", sans-serif; letter-spacing: 1.7px; text-transform: uppercase; color: var(--c-accent); }
.process .process-step h3 { margin: 0; }
.process .process-step p { max-width: 420px; }
.process-step__node { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--c-text); border: 2px solid rgba(252, 251, 251, .3); box-sizing: border-box; z-index: 2; transition: background .4s, border-color .4s, box-shadow .4s, transform .4s; }

/* scroll states (only when JS is running) */
html:not(.no-js) .process .process-step img, html:not(.no-js) .process .process-step__body { opacity: 0; transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html:not(.no-js) .process .process-step img { transform: translateX(-48px); }
html:not(.no-js) .process .process-step__body { transform: translateX(48px); transition-delay: .12s; }
html:not(.no-js) .process .process-step:nth-child(even) img { transform: translateX(48px); }
html:not(.no-js) .process .process-step:nth-child(even) .process-step__body { transform: translateX(-48px); }
html:not(.no-js) .process .process-step.is-active img, html:not(.no-js) .process .process-step.is-active .process-step__body { opacity: 1; transform: none; }
.process-step.is-active .process-step__node { background: var(--c-accent); border-color: var(--c-accent); transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255, 122, 0, .22); }

@media (max-width: 900px) {
  .process .timeline { padding: 16px var(--gutter) 80px; }
  .timeline__line { left: calc(var(--gutter) + 11px); top: 16px; bottom: 80px; }
  .process .process-step { grid-template-columns: minmax(0, 1fr); padding-left: 48px; margin-bottom: 64px; row-gap: 20px; }
  .process .process-step img, .process .process-step:nth-child(even) img { grid-column: 1; grid-row: 1; }
  .process .process-step__body, .process .process-step:nth-child(even) .process-step__body { grid-column: 1; grid-row: 2; text-align: left; align-items: flex-start; }
  .process-step__node { left: 0; top: 0; margin: 0; transform: none; }
  .process-step.is-active .process-step__node { transform: scale(1.15); }
  html:not(.no-js) .process .process-step img, html:not(.no-js) .process .process-step:nth-child(even) img { transform: translateY(32px); }
  html:not(.no-js) .process .process-step__body, html:not(.no-js) .process .process-step:nth-child(even) .process-step__body { transform: translateY(32px); }
}
@media (max-width: 767px) { .process .timeline { padding: 8px 24px 56px; } .timeline__line { top: 8px; bottom: 56px; } .process .process-step { padding-left: 40px; margin-bottom: 48px; } }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .process .process-step img, html:not(.no-js) .process .process-step__body { opacity: 1; transform: none; transition: none; } }

/* About: benefit line under title + CTA after the process */
.page-title--lede { padding: 40px var(--gutter); gap: 16px; }
.page-title__lede { max-width: 640px; margin: 0 auto; font-size: 18px; line-height: 24px; color: var(--c-text); }
.process .timeline { padding-bottom: 64px; }
.process .timeline__line { bottom: 64px; }
.process__cta { display: flex; justify-content: center; padding: 0 var(--gutter) 96px; }
@media (max-width: 900px) { .process .timeline { padding-bottom: 48px; } .process .timeline__line { bottom: 48px; } .process__cta { padding-bottom: 64px; } }
@media (max-width: 767px) { .page-title--lede { padding: 32px 24px; gap: 12px; } .page-title__lede { font-size: 16px; } .process .timeline { padding-bottom: 40px; } .process .timeline__line { bottom: 40px; } .process__cta { justify-content: flex-start; padding: 0 24px 56px; } }

/* Home statement: copy + proof numbers */
.statement__top { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 0 var(--gutter); }
.statement__top .statement__text { padding: 0; font-size: var(--t-heading); line-height: var(--t-heading-lh); letter-spacing: -2px; }
.statement__stats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.statement__stats li { display: flex; flex-direction: column; gap: 2px; padding: 20px 0; border-top: 1px solid rgba(0, 24, 40, .14); }
.statement__stats li:first-child { padding-top: 0; border-top: 0; }
.statement__stats li:last-child { padding-bottom: 0; }
.statement__stats strong { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -2px; color: var(--c-accent); }
.statement__stats span { font-size: 16px; line-height: 24px; color: var(--c-text); }
@media (max-width: 1200px) { .statement__top { grid-template-columns: minmax(0, 1fr); gap: 40px; } .statement__stats { flex-direction: row; gap: 24px; } .statement__stats li { flex: 1; border-top: 1px solid rgba(0, 24, 40, .14); padding: 16px 0 0; } .statement__stats li:first-child { padding-top: 16px; border-top: 1px solid rgba(0, 24, 40, .14); } .statement__stats li:last-child { padding-bottom: 0; } }
@media (max-width: 767px) { .statement__top { padding: 0 24px; gap: 32px; } .statement__stats { flex-direction: column; gap: 0; } .statement__stats li { flex-direction: row; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(0, 24, 40, .14); } .statement__stats li:first-child { padding-top: 14px; } .statement__stats strong { min-width: 56px; } }

/* Statement stats: larger numbers, no divider lines */
.statement__stats li, .statement__stats li:first-child { border-top: 0; padding: 0; }
.statement__stats { gap: 28px; }
.statement__stats strong { font-size: 72px; line-height: 60px; letter-spacing: -3px; }
@media (max-width: 1200px) { .statement__stats { flex-direction: row; gap: 24px; } .statement__stats li, .statement__stats li:first-child { padding: 0; border-top: 0; } .statement__stats strong { font-size: 50px; line-height: 48px; } }
@media (max-width: 767px) { .statement__stats { flex-direction: column; gap: 20px; } .statement__stats li, .statement__stats li:first-child { flex-direction: row; align-items: baseline; gap: 16px; padding: 0; } .statement__stats strong { font-size: 40px; line-height: 44px; letter-spacing: -2px; min-width: 88px; } }

/* =============================================================================
   ENTRANCE ANIMATION — fade + short rise, staggered. Subtle by design.
   Tagged in js/main.js; works without JS (everything simply shows).
   ============================================================================= */
.fade-up, .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22, .61, .36, 1) var(--d, 0s), transform .8s cubic-bezier(.22, .61, .36, 1) var(--d, 0s); }
.hero__image.reveal { transform: none; transition: opacity 1s ease var(--d, 0s); }
@media (max-width: 767px) { .fade-up, .reveal { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .fade-up, .reveal { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* Header: pinned, hides while scrolling down, returns on any scroll up */
.site-header { position: sticky; top: 0; transition: transform .35s cubic-bezier(.22, .61, .36, 1), box-shadow .35s ease; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .28); }
@media (prefers-reduced-motion: reduce) { .site-header { transition: none; } }

/* Stats band: a dark sheet that rises over the statement, numbers count up inside it */
.statement { padding-bottom: 96px; }
.stats-band { position: relative; z-index: 3; margin-top: -48px; padding: 80px var(--gutter); background: var(--c-text); color: var(--c-light); border-radius: 32px 32px 0 0; }
.stats-band__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.stats-band__list li { display: flex; flex-direction: column; gap: 8px; }
.stats-band strong { font: 700 var(--t-display)/var(--t-display-lh) "Grift", sans-serif; letter-spacing: -3px; color: var(--c-accent); }
.stats-band span { font-size: 18px; line-height: 24px; color: var(--c-light); }
@media (max-width: 1200px) { .statement { padding-bottom: 80px; } .stats-band { padding: 64px var(--gutter); border-radius: 24px 24px 0 0; margin-top: -40px; } .stats-band__list { gap: 24px; } .stats-band strong { letter-spacing: -2px; } .stats-band span { font-size: 16px; } }
@media (max-width: 767px) { .statement { padding-bottom: 72px; } .stats-band { padding: 48px 24px; margin-top: -32px; border-radius: 20px 20px 0 0; } .stats-band__list { grid-template-columns: minmax(0, 1fr); gap: 20px; } .stats-band__list li { flex-direction: row; align-items: baseline; gap: 16px; } .stats-band strong { min-width: 88px; letter-spacing: -2px; } }

/* Calm stat row: sits quietly under the statement, no band */
.statement { padding-bottom: 5%; }
.stats-band { display: none; }
.stat-row { list-style: none; margin: 0; padding: 0 var(--gutter); display: flex; gap: 72px; }
.stat-row li { display: flex; flex-direction: column; gap: 2px; }
.stat-row strong { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -2px; color: var(--c-accent); }
.stat-row span { font-size: 16px; line-height: 24px; color: var(--c-text); }
@media (max-width: 1200px) { .stat-row { gap: 40px; } .statement { padding-bottom: 7%; } }
@media (max-width: 767px) { .stat-row { padding: 0 24px; gap: 20px; } .stat-row li { flex: 1; min-width: 0; } .stat-row strong { font-size: 32px; line-height: 36px; } .stat-row span { font-size: 14px; line-height: 20px; } .statement { padding-bottom: 36px; } }

/* Static logo grid (replaces the sliding strip) */
.logo-grid { list-style: none; margin: 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 56px; align-items: center; }
.logo-grid li { display: flex; align-items: center; justify-content: center; }
.logo-grid img { width: 100%; max-width: 160px; height: 64px; object-fit: contain; }
@media (max-width: 1200px) { .logo-grid { gap: 32px 40px; } }
@media (max-width: 767px) { .logo-grid { padding: 0 24px; gap: 24px 20px; } .logo-grid img { height: 44px; } }

/* Logo grid right edge follows the statement's visible text width */
@media (min-width: 768px) { .logo-grid { padding-right: calc(var(--gutter) + 4.5%); } }

/* Logo grid: more, smaller logos */
.logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 32px; }
.logo-grid img { max-width: 110px; height: 44px; }
@media (max-width: 1200px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; } .logo-grid img { max-width: 120px; } }
@media (max-width: 767px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 14px; } .logo-grid img { height: 36px; } }

/* Statement highlights: shorter so lines of orange never touch */
:root { --hl-h: 60%; }
@media (max-width: 1200px) { :root { --hl-h: 67%; } }
@media (max-width: 767px) { :root { --hl-h: 75%; } }
.statement mark { background: linear-gradient(var(--c-accent), var(--c-accent)) left var(--hl-y) / 100% var(--hl-h) no-repeat; }
html:not(.no-js) .statement__text:not(.is-appeared) mark { background-size: 0 var(--hl-h); }
@keyframes highlight-sweep { from { background-size: 0 var(--hl-h); } to { background-size: 100% var(--hl-h); } }
@media (prefers-reduced-motion: reduce) { html:not(.no-js) .statement__text:not(.is-appeared) mark { background-size: 100% var(--hl-h); } }

/* Logo grid: 3 rows (15 on desktop, 12 on tablet/mobile) */
.logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1200px) { .logo-grid li:nth-child(n + 13) { display: none; } }

/* Highlight bands: sit on the letters (cap height to just under baseline), clear of neighbouring lines */
:root { --hl-h: 71%; --hl-y: 50%; }
.statement mark { background-position: left var(--hl-y); }
.statement__text { line-height: 68px; }
@media (max-width: 1200px) { .statement__text { line-height: 50px; } }
@media (max-width: 767px) { .statement__text { line-height: 44px; } }
:root { --hl-h: 74%; }
@media (max-width: 767px) { :root { --hl-h: 78%; } }

/* Logo grid spans the full content width (same edges as the section below) */
@media (min-width: 768px) { .logo-grid { padding-right: var(--gutter); } }
@media (min-width: 1201px) { .logo-grid li:nth-child(5n + 1) { justify-content: flex-start; } .logo-grid li:nth-child(5n) { justify-content: flex-end; } }
@media (max-width: 1200px) { .logo-grid li:nth-child(4n + 1) { justify-content: flex-start; } .logo-grid li:nth-child(4n) { justify-content: flex-end; } }
@media (max-width: 1200px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Testimonials: thin line between each quote and the person */
.testimonial figcaption { border-top: 1px solid rgba(252, 251, 251, .22); padding-top: 14px; }
@media (max-width: 767px) { .testimonial, .testimonial:first-child { border-top: 0; padding: 0; } .testimonial:not(:first-child) { padding-top: 8px; } .testimonials__row { gap: 40px; } }

/* Header motion: long, soft ease-out glide (slide + fade), plus a gentle drop-in on page load */
.site-header { transition: transform .75s cubic-bezier(.16, 1, .3, 1), opacity .5s ease, box-shadow .5s ease; will-change: transform; animation: header-in .9s cubic-bezier(.16, 1, .3, 1) backwards; }
.site-header.is-hidden { transform: translateY(-100%); opacity: 0; }
@keyframes header-in { from { transform: translateY(-24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .site-header { animation: none; transition: none; } }

/* Header: slide only, no fade */
.site-header { transition: transform .75s cubic-bezier(.16, 1, .3, 1), box-shadow .5s ease; }
.site-header.is-hidden { opacity: 1; }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* Header: gradual start (ease-in-out) instead of an instant jump */
.site-header { transition: transform .8s cubic-bezier(.5, 0, .2, 1), box-shadow .5s ease; animation-timing-function: cubic-bezier(.5, 0, .2, 1); animation-duration: .9s; }

/* Header: exponential ease-in-out (slow start, rapid middle, soft landing) */
.site-header { transition: transform 1s cubic-bezier(.87, 0, .13, 1), box-shadow .5s ease; animation-timing-function: cubic-bezier(.87, 0, .13, 1); animation-duration: 1s; }

/* Header: a touch quicker */
.site-header { transition: transform .7s cubic-bezier(.87, 0, .13, 1), box-shadow .5s ease; animation-duration: .7s; }

/* Header: no entrance animation on page load / page switches */
.site-header { animation: none; }

.form-note { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--c-text); opacity: .7; }

/* WORK FILTER */
.filter { margin-bottom: 40px; }
.filter__views { display: flex; flex-wrap: wrap; gap: 8px 32px; }
.filter__view, .filter__opt { font: inherit; background: none; border: 0; padding: 0; color: var(--c-text); cursor: pointer; position: relative; transition: color .25s ease; }
.filter__view { font-size: 24px; line-height: 32px; font-weight: 700; opacity: .4; transition: color .25s ease, opacity .25s ease; }
@media (hover: hover) { .filter__view:hover { opacity: 1; } }
.filter__view.is-on { opacity: 1; cursor: default; }
.filter__sub { display: flex; flex-wrap: wrap; gap: 6px 28px; list-style: none; margin: 18px 0 0; padding: 0; }
.filter__sub[hidden] { display: none; }
.filter__opt { font-size: 18px; line-height: 26px; padding-bottom: 2px; }
.filter__opt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,1,.3,1); }
@media (hover: hover) { .filter__opt:hover { color: var(--c-accent); } }
.filter__opt.is-on::after { transform: scaleX(1); }
@media (hover: hover) { .filter__opt:hover::after { transform: scaleX(1); } }
.filter__opt.is-on { color: var(--c-accent); font-weight: 700; }
.filter__view:focus-visible, .filter__opt:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 4px; }
.work-card.is-filtered-out { display: none; }
.work-card.is-filter-in { animation: filterIn .45s cubic-bezier(.16,1,.3,1) both; }
@keyframes filterIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.filter__empty { text-align: center; padding: 40px 0; }
.filter__reset { font: inherit; background: none; border: 0; padding: 0; color: var(--c-accent); text-decoration: underline; cursor: pointer; }
@media (max-width: 767px) {
  .filter { margin-bottom: 28px; }
  .filter__views { gap: 4px 20px; }
  .filter__view { font-size: 18px; line-height: 28px; }
  .filter__sub { gap: 4px 20px; margin-top: 12px; }
  .filter__opt { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .work-card.is-filter-in { animation: none; } }

/* Button arrow nudge */
.btn .fa-arrow-right { transition: transform .35s cubic-bezier(.16,1,.3,1); }
.btn:focus-visible .fa-arrow-right { transform: translateX(5px); }
@media (hover: hover) { .btn:hover .fa-arrow-right { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .btn .fa-arrow-right { transition: none; } }
.contact__details > div { display: flex; flex-direction: column; align-items: flex-start; }
.contact__details p a { color: inherit; text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; transition: color .25s ease; } @media (hover: hover) { .contact__details p a:hover { color: var(--c-accent); } }
.footer-col > p a { text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 4px; transition: color .25s ease; }

/* Project closing CTA */
.project-next { display: flex; flex-direction: row; align-items: stretch; gap: 20px; margin: 5% 0 0; padding: 64px var(--gutter); border-top: 2px solid rgba(2,26,42,.12); }
.project-next__cta { width: 57%; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.project-next__cta h2 { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); margin: 0; }
.project-next__cta p { margin: 0; }
.project-next__link { width: 43%; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; color: var(--c-text); text-decoration: none; }
.project-next__label { font-size: 14px; line-height: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .6; }
.project-next__title { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -1px; transition: color .25s ease; }
.project-next__title .fa-arrow-right { font-size: .7em; margin-left: 6px; display: inline-block; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.project-next__link:focus-visible .project-next__title { color: var(--c-accent); }
@media (hover: hover) { .project-next__link:hover .project-next__title { color: var(--c-accent); } }
.project-next__link:focus-visible .fa-arrow-right { transform: translateX(5px); }
@media (hover: hover) { .project-next__link:hover .fa-arrow-right { transform: translateX(5px); } }
@media (max-width: 767px) { .project-next { flex-direction: column; gap: 40px; padding: 48px var(--gutter); } .project-next__cta, .project-next__link { width: 100%; } }
.project-next__link { gap: 2px; opacity: .6; transition: opacity .3s ease; align-items: flex-start; }
.project-next__link:focus-visible { opacity: 1; }
@media (hover: hover) { .project-next__link:hover { opacity: 1; } }
.project-next__label { font-size: 12px; line-height: 16px; }
.project-next__title { font: 400 20px/28px "Grift", sans-serif; letter-spacing: -.5px; }
.project-next__title .fa-arrow-right { font-size: 16px; margin-left: 4px; }
.project-next__cta { width: 100%; }
.project-next__link--inline { width: auto; align-items: flex-start; justify-content: flex-start; }
.project-services__cta { display: flex; align-items: flex-start; }
.project-services__cta { justify-content: flex-end; }
.project-next__link--inline { align-items: flex-end; text-align: right; }
.project-services > .project-services__cta { flex: 1 1 0; width: auto; }
.project-services > .project-services__list { flex: 0 0 57%; width: 57%; }
@media (max-width: 767px) { .project-services > .project-services__list { flex: none; width: 100%; } .project-services > .project-services__cta { flex: none; width: 100%; } }
.project-services > .project-services__cta { align-items: flex-end; justify-content: flex-end; }
@media (max-width: 767px) { .project-services > .project-services__cta { align-items: flex-start; } .project-next__link--inline { align-items: flex-start; text-align: left; } }
body::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 100px; z-index: 0; pointer-events: none; background: var(--texture) 0 100px var(--c-light); }
@media (min-width: 1201px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .logo-grid li:nth-child(5n + 1), .logo-grid li:nth-child(5n) { justify-content: center; } .logo-grid li:nth-child(4n + 1) { justify-content: flex-start; } .logo-grid li:nth-child(4n) { justify-content: flex-end; } }
@media (min-width: 1201px) {
  .logo-grid { gap: 44px 48px; }
  .logo-grid li, .logo-grid li:nth-child(4n + 1), .logo-grid li:nth-child(4n) { justify-content: center; }
  .logo-grid img { max-width: 170px; height: 64px; }
}

/* Home mission statement size */
.statement__text { font-size: 58px; line-height: 66px; letter-spacing: -2.5px; }
@media (max-width: 1200px) { .statement__text { font-size: 44px; line-height: 54px; } }
@media (max-width: 767px) { .statement__text { font-size: 36px; line-height: 46px; letter-spacing: -1.5px; } }

/* Stat numbers match the mission statement size */
.stat-row strong { font-size: 58px; line-height: 66px; letter-spacing: -2.5px; }
@media (max-width: 1200px) { .stat-row strong { font-size: 44px; line-height: 54px; } }
@media (max-width: 767px) { .stat-row strong { font-size: 36px; line-height: 46px; letter-spacing: -1.5px; } }

/* Tighter spacing between mission, numbers and logos */
.statement { gap: 40px; }
@media (max-width: 1200px) { .statement { gap: 36px; } }
@media (max-width: 767px) { .statement { gap: 28px; } }

/* Extra room above the logo grid */
.statement .logo-grid { margin-top: 20px; }
@media (max-width: 1200px) { .statement .logo-grid { margin-top: 14px; } }
@media (max-width: 767px) { .statement .logo-grid { margin-top: 10px; } }

/* Mission line spacing: match desktop proportions */
@media (max-width: 1200px) { .statement__text { line-height: 50px; } }
@media (max-width: 767px) { .statement__text { line-height: 41px; } }

/* Services: top-left corner, drop in from the top on hover */
.work-card__tags { position: absolute; top: 16px; left: 16px; z-index: 3; margin: 0; padding: 6px 12px; background: rgba(0, 24, 40, .82); color: #ffb066; border-radius: 4px; transform: translateY(-24px); }
.work-item:focus-visible .work-card__tags { transition-delay: 0s; }
@media (hover: hover) { .work-item:hover .work-card__tags { transition-delay: 0s; } }
@media (max-width: 767px) { .work-card__tags { top: 12px; left: 12px; font-size: 11px; line-height: 16px; padding: 5px 10px; } }

/* Service tag uses the brand orange, like the mission highlights */
.work-card__tags { background: var(--c-accent); color: var(--c-light); border-radius: 0; }
/* Navy tag with brand-orange text so it reads on any image */
.work-card__tags { background: var(--c-text); color: var(--c-accent); }

/* Darker, fully opaque navy behind the service tag */
.work-card__tags { background: #000f1a; }

/* No lift on card hover */
.work-item:focus-visible { transform: none; box-shadow: none; }
@media (hover: hover) { .work-item:hover { transform: none; box-shadow: none; } }

/* Video card covers */
.work-item video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logo grid: outer logos sit flush with the mission text edges */
.logo-grid li:nth-child(4n + 1) { justify-content: flex-start; }
.logo-grid li:nth-child(4n) { justify-content: flex-end; }
.logo-grid li:nth-child(4n + 1) img { object-position: left center; }
.logo-grid li:nth-child(4n) img { object-position: right center; }

/* Touch screens: service tags stay hidden (no hover to reveal them) */
@media (hover: none) { .work-card__tags { opacity: 0; transform: translateY(-24px); } }

/* Touch screens: no extra hover gradient (descriptions don't appear there) */
@media (hover: none) { .work-item:hover::before, .work-item:focus-visible::before { opacity: 0; } }

/* Logo marquee: one scrolling row inside the mission text width, fading out to the right */
.statement .marquee { overflow: hidden; margin: 0 var(--gutter); padding: 0; --item: 150px; --gap: 56px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 4%, #000 15%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 4%, #000 15%, rgba(0, 0, 0, 0) 100%); }
.statement .marquee__track { display: flex; width: max-content; margin: 0; padding: 0 var(--gap) 0 0; list-style: none; gap: var(--gap); animation: marquee-row 48s linear infinite; }
.statement .marquee__track li { flex: 0 0 var(--item); display: flex; align-items: center; justify-content: center; }
.statement .marquee__track img { width: 100%; max-width: var(--item); height: 56px; object-fit: contain; }
@keyframes marquee-row { to { transform: translateX(-50%); } }
@media (max-width: 1200px) { .statement .marquee { --item: 130px; --gap: 40px; animation: none; } .statement .marquee__track { animation-duration: 40s; } }
@media (max-width: 767px) { .statement .marquee { margin: 0 24px; --item: 110px; --gap: 32px; } .statement .marquee__track img { height: 44px; } .statement .marquee__track { animation-duration: 32s; } }
@media (prefers-reduced-motion: reduce) { .statement .marquee__track { animation: none; } }

/* Marquee fades evenly on both sides */
.statement .marquee { -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 25%, #000 75%, rgba(0, 0, 0, 0) 100%); mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 25%, #000 75%, rgba(0, 0, 0, 0) 100%); }

/* Marquee: no fade, spans the full screen width */
.statement .marquee, .statement .marquee { margin: 0; -webkit-mask-image: none; mask-image: none; }
@media (max-width: 767px) { .statement .marquee { margin: 0; } }

/* Mission statement: tighter lines on mobile */
@media (max-width: 767px) { .statement__text { line-height: 38px; } }

/* About "My Mission": same look as the home mission statement */
.mission > h2 { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--c-accent); margin: 0 0 20px; }
.mission > p.statement__text { margin-top: 0; padding: 0; font-weight: 700; font-size: 58px; line-height: 66px; letter-spacing: -2.5px; color: var(--c-light); }
@media (max-width: 1200px) { .mission > p.statement__text { font-size: 44px; line-height: 54px; } }
@media (max-width: 767px) { .mission > p.statement__text { font-size: 36px; line-height: 38px; letter-spacing: -1.5px; } }
.mission > h2 { padding: 0; }
.mission mark { background: linear-gradient(var(--c-accent), var(--c-accent)) left / 100% 100% no-repeat; color: var(--c-light); padding: 0 6px 0 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.mission mark { background-position: left var(--hl-y); background-size: 100% var(--hl-h); }

/* Process timeline runs all the way down to the Let's Talk button */
.process .timeline__line { bottom: 0; }

/* a little more air between the stats and the scrolling logos */
.statement .stat-row + .marquee { margin-top: 16px; }
@media (max-width: 1200px) { .statement .stat-row + .marquee { margin-top: 12px; } }
@media (max-width: 767px) { .statement .stat-row + .marquee { margin-top: 10px; } }

/* Home mission/stats/logos section: navy background */
.statement { background: var(--c-text); }
.statement .statement__text { color: var(--c-light); }
.statement .stat-row span { color: rgba(252, 251, 251, .8); }
.statement .marquee__track img { filter: brightness(0) invert(1); opacity: .85; }

/* Service tags: corners match the card radius */
.work-card__tags { border-radius: var(--radius); }

/* Service tags: brand navy, same as the section backgrounds */
.work-card__tags { background: var(--c-text); color: var(--c-accent); }

/* Mobile: compact line spacing across the site */
@media (max-width: 767px) {
  p, .prose, .prose-sm, .hero__lede, .page-title__lede, .idea__text p, .about-row .prose-sm, .mission p, .process__intro p,
  .process-step p, .contact__details p, .contact__info > div:first-child p, .project-intro__body, .project-section__body,
  .project-testimonial__quote, .project-services .prose, .project-note, .footer-brand p, .footer-col > p,
  .site-footer__legal, .site-footer a { line-height: 1.35; }
  .page-title h1, .hero h1, .display, .project-intro h1 { line-height: 1.05; }
  .work__head h2, .mission h2, .process__intro h2, .cta-together h2, .idea h2, .services__title, .footer-heading--big { line-height: 1.05; }
  .process-step h3, .project-section h2, .project-services h3, .footer-h { line-height: 1.15; }
  .testimonial blockquote p { line-height: 1.22; }
  .work-card__summary { line-height: 1.3; }
  .stat-row span { line-height: 1.25; }
}

/* Mobile menu: each page slides down in turn, slightly offset, using the desktop header's easing */
@media (max-width: 1200px) {
  .site-nav { display: block; overflow: hidden; background: transparent; visibility: hidden; pointer-events: none; transition: visibility 0s linear 1s; }
  .site-nav ul { background: transparent; }
  .site-nav li { background: var(--c-text); transform: translateY(calc(-100% * (var(--i, 0) + 1))); transition: transform .7s cubic-bezier(.87, 0, .13, 1) calc(var(--r, 0) * 60ms); }
  .site-nav li:nth-child(1) { --i: 0; } .site-nav li:nth-child(2) { --i: 1; } .site-nav li:nth-child(3) { --i: 2; } .site-nav li:nth-child(4) { --i: 3; } .site-nav li:nth-child(5) { --i: 4; }
  .site-nav li:nth-last-child(1) { --r: 0; } .site-nav li:nth-last-child(2) { --r: 1; } .site-nav li:nth-last-child(3) { --r: 2; } .site-nav li:nth-last-child(4) { --r: 3; } .site-nav li:nth-last-child(5) { --r: 4; }
  .site-nav.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .site-nav.is-open li { transform: none; transition-delay: calc(var(--i, 0) * 90ms); }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1200px) { .site-nav, .site-nav li { transition: none; } }

/* Mobile menu: each page slides out from behind the one above it */
@media (max-width: 1200px) { .site-nav li { position: relative; z-index: calc(10 - var(--i, 0)); } }

/* Home hero: the service name rotates in brand orange */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rotator { display: block; position: relative; overflow: hidden; padding-bottom: .16em; margin-bottom: -.16em; color: var(--c-text); }
.rotator__word { display: block; white-space: nowrap; transition: transform .7s cubic-bezier(.87, 0, .13, 1); }
.rotator__word--next { position: absolute; left: 0; top: 0; transform: translateY(150%); }

/* Desktop: faster logo scroller */
@media (min-width: 1201px) { .statement .marquee__track { animation-duration: 30s; } }

/* Mobile hero: scale the headline so the longest rotating word ("Social media design") always fits */
@media (max-width: 767px) { .hero h1 { font-size: min(40px, calc((100vw - 48px) / 8.3)); } }

/* ---- Service pages ------------------------------------------------------ */
.svc-hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 16px; min-height: 460px; padding: 120px var(--gutter) 56px; color: var(--c-light); background: linear-gradient(90deg, rgba(0,24,40,.55), rgba(0,24,40,.05) 70%), var(--bg) center / cover no-repeat var(--c-text); }
.svc-hero h1 { font: 900 72px/60px "Grift", sans-serif; letter-spacing: -3px; color: var(--c-light); }
.svc-hero__lede { font-size: 20px; line-height: 28px; max-width: 560px; }

.svc-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; align-items: center; padding: 72px var(--gutter); background: var(--c-light); }
.svc-intro__text h2 { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -2px; color: var(--c-text); margin-bottom: 16px; }
.svc-intro__text p { font-size: 18px; line-height: 26px; }
.svc-intro__img { width: 100%; height: auto; border-radius: var(--radius); }

.svc-included { padding: 72px var(--gutter); background: var(--texture) var(--c-paper); }
.svc-included h2 { font: 900 72px/60px "Grift", sans-serif; letter-spacing: -3px; color: var(--c-text); margin-bottom: 36px; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.svc-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.svc-grid h3 { font: 700 24px/30px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-text); }
.svc-grid p { font-size: 16px; line-height: 24px; }

.svc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 8px var(--gutter) 72px; }
.svc-steps li { border-top: 2px solid var(--c-accent); padding-top: 14px; }
.svc-steps h3 { font: 700 32px/36px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); }
.svc-process .process-step__num { color: var(--c-accent); }
.svc-process .process__intro { padding-bottom: 28px; }

.svc-work { padding: 72px var(--gutter) 0; }
.svc-more { padding: 72px var(--gutter) 0; }
.svc-more h2 { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -2px; color: var(--c-text); margin-bottom: 24px; }
.svc-more__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.svc-more__list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 20px 22px; border: 2px solid var(--c-text); border-radius: var(--radius); transition: background .2s, color .2s; }
.svc-more__list strong { font: 700 22px/28px "Grift", sans-serif; letter-spacing: -1px; }
.svc-more__list a:focus-visible { background: var(--c-text); color: var(--c-light); }
@media (hover: hover) { .svc-more__list a:hover { background: var(--c-text); color: var(--c-light); } }

@media (max-width: 1200px) { .svc-steps, .svc-more__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .svc-hero { min-height: 340px; padding: 80px 24px 36px; background-position: 88% center; }
  .svc-hero h1, .svc-included h2 { font-size: 48px; line-height: 50px; letter-spacing: -2px; }
  .svc-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 40px 24px; }
  .svc-included, .svc-work, .svc-more { padding: 40px 24px 0; }
  .svc-included { padding-bottom: 40px; }
  .svc-grid { gap: 16px; }
  .svc-steps { padding: 8px 24px 40px; gap: 16px; }
  .svc-more__list { grid-template-columns: minmax(0, 1fr); }
}

/* ---- Process timeline: refined motion ----------------------------------- */
.timeline__progress { box-shadow: 0 0 10px rgba(255, 121, 0, .45); }
.timeline__progress::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 5px rgba(255, 121, 0, .18), 0 0 14px rgba(255, 121, 0, .7); opacity: calc(min(var(--tl-p, 0), 1)); }
.process-step__node { transition: background .45s ease, border-color .45s ease, box-shadow .45s ease, transform .3s ease; }
html:not(.no-js) .process .timeline .process-step:nth-child(n) img { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .8s ease, transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: 0s; }
html:not(.no-js) .process .timeline .process-step:nth-child(n) .process-step__body { opacity: 1; transform: none; transition-delay: 0s; }
html:not(.no-js) .process .timeline .process-step:nth-child(n) .process-step__body > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
html:not(.no-js) .process .timeline .process-step.is-in:nth-child(n) img { opacity: 1; transform: none; }
html:not(.no-js) .process .timeline .process-step.is-in .process-step__body > * { opacity: 1; transform: none; }
html:not(.no-js) .process .timeline .process-step.is-in .process-step__body > :nth-child(1) { transition-delay: .18s; }
html:not(.no-js) .process .timeline .process-step.is-in .process-step__body > :nth-child(2) { transition-delay: .28s; }
html:not(.no-js) .process .timeline .process-step.is-in .process-step__body > :nth-child(3) { transition-delay: .38s; }
@media (prefers-reduced-motion: reduce) {
  html:not(.no-js) .process .timeline .process-step:nth-child(n) img, html:not(.no-js) .process .timeline .process-step .process-step__body > * { opacity: 1; transform: none; transition: none; }
}

/* Timeline: flat, on-brand (no glow) */
.timeline__line { width: 4px; margin-left: -2px; background: rgba(252, 251, 251, .14); border-radius: 4px; }
.timeline__progress { border-radius: 4px; box-shadow: none; }
.timeline__progress::after { content: none; }
.process-step__node { width: 24px; height: 24px; margin: -12px 0 0 -12px; border-width: 4px; border-color: rgba(252, 251, 251, .22); }
.process-step.is-active .process-step__node { background: var(--c-accent); border-color: var(--c-text); box-shadow: 0 0 0 4px var(--c-accent); transform: none; }
@media (max-width: 1200px) { .process-step__node { margin: 0; } .process-step.is-active .process-step__node { transform: none; } }

/* Process steps: larger headings, no step numbers */
.process .process-step h3 { font-size: 40px; line-height: 44px; letter-spacing: -1.5px; }
.svc-steps h3 { font-size: 40px; line-height: 44px; letter-spacing: -1.5px; }
@media (max-width: 767px) { .process .process-step h3, .svc-steps h3 { font-size: 32px; line-height: 36px; } }

/* Timeline dots: unlit = filled, same tone as the line track */
.process-step__node { background: #233846; border-color: #233846; }

/* Timeline dots: unlit dot = size of the lit dot's orange center */
.process-step__node { width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 0; transition: background .3s ease, box-shadow .3s ease, width .3s ease, height .3s ease, margin .3s ease; }
.process-step.is-active .process-step__node { width: 24px; height: 24px; margin: -12px 0 0 -12px; border: 4px solid var(--c-text); }
@media (max-width: 1200px) { .process-step__node { margin: 4px 0 0 4px; } .process-step.is-active .process-step__node { margin: 0; } }

/* Service page: deliverables list */
.svc-list__title { margin: 28px 0 12px; font: 700 20px/26px "Grift", sans-serif; letter-spacing: -.5px; color: var(--c-text); }
.svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
.svc-list li { position: relative; padding-left: 22px; font-size: 17px; line-height: 24px; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--c-accent); border-radius: 2px; }
@media (max-width: 480px) { .svc-list { grid-template-columns: minmax(0, 1fr); } }

/* Deliverables: one plain list, no icons */
.svc-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
.svc-list li { padding-left: 0; }
.svc-list li::before { content: none; }

/* Deliverables: gray list, orange-highlighted heading (same highlight as the mission statement) */
.svc-list li { color: rgba(0, 24, 40, .5); }
.svc-list__title mark { background: var(--c-accent); color: var(--c-light); padding: 2px 8px 3px; border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* Service hero: title left, deliverables right on navy */
.svc-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: end; gap: 48px; min-height: 520px; background: linear-gradient(90deg, rgba(0,24,40,.55), rgba(0,24,40,.9) 55%), var(--bg) center / cover no-repeat var(--c-text); }
.svc-hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.svc-hero__list .svc-list__title { margin-top: 0; }
.svc-hero__list .svc-list li { color: rgba(252, 251, 251, .8); }
@media (max-width: 900px) { .svc-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; } }
@media (max-width: 767px) { .svc-hero { min-height: 0; background-position: 88% center; } }

.svc-hero__lede { font-size: 18px; line-height: 27px; max-width: 600px; }

/* Service hero: image under a navy overlay */
.svc-hero { background: linear-gradient(90deg, rgba(0,24,40,.76), rgba(0,24,40,.7)), var(--bg) center / cover no-repeat var(--c-text); }

/* Service hero: the image + navy overlay are set inline on the element (url resolves from the page) */
.svc-hero { background-color: var(--c-text); background-size: cover; background-position: center; background-repeat: no-repeat; }
@media (max-width: 767px) { .svc-hero { background-position: 88% center; } }

/* Icons (inline SVG, brand colors only) */
.icon { display: inline-flex; width: 28px; height: 28px; flex: none; color: var(--c-accent); }
.icon svg { width: 100%; height: 100%; display: block; }
.process-step__body .icon, .process-step > .icon { margin-bottom: 12px; }
.contact__details h6 { display: flex; align-items: center; gap: 10px; }
.contact__details h6 .icon { width: 24px; height: 24px; }
.svc-more__name { display: inline-flex; align-items: center; gap: 12px; }
.svc-more__list a:focus-visible .icon { color: var(--c-accent); }
@media (hover: hover) { .svc-more__list a:hover .icon { color: var(--c-accent); } }


/* Services hero: more breathing room */
.svc-hero { min-height: 600px; padding-top: 160px; padding-bottom: 96px; gap: 96px; align-items: center; }
.svc-hero__main { gap: 28px; }
.svc-hero__lede { max-width: 540px; }
.svc-hero__list { justify-self: end; width: 100%; max-width: 320px; }
.svc-hero__list .svc-list__title { margin-bottom: 24px; }
.svc-hero .svc-list { gap: 14px; }
@media (max-width: 900px) { .svc-hero { min-height: 0; padding: 96px 24px 56px; gap: 40px; align-items: start; } .svc-hero__list { justify-self: start; max-width: none; } }

/* Deliverables column matches the height of the text group */
@media (min-width: 901px) {
  .svc-hero { align-items: stretch; align-content: center; }
  .svc-hero__list { display: flex; flex-direction: column; height: 0; min-height: 100%; }
  .svc-hero__list .svc-list__title { align-self: flex-start; margin-bottom: 0; }
  .svc-hero .svc-list { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0; padding-top: 28px; }
}

/* Services dropdown: same look as the mobile menu (navy rows, centered bold links, light row on hover/active) */
.subnav a { display: block; text-align: center; white-space: nowrap; }
@media (min-width: 1201px) {
  .site-nav li.has-sub { padding: 36px 0; margin: -36px 0; }
  .site-nav .subnav { position: absolute; top: 100%; left: 0; right: 0; display: flex; justify-content: center; background: var(--c-text); border-top: 1px solid rgba(252, 251, 251, .14); clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; transition: clip-path .5s cubic-bezier(.87, 0, .13, 1), visibility 0s linear .5s; z-index: 5; }
  .site-nav .subnav li { background: none; transform: none; }
  .site-nav .has-sub:focus-within .subnav { clip-path: inset(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  @media (hover: hover) { .site-nav .has-sub:hover .subnav { clip-path: inset(0); visibility: visible; pointer-events: auto; transition-delay: 0s; } }
  .site-nav .subnav a { padding: 30px 40px; font-size: 20px; line-height: 20px; }
  .site-nav .subnav a:focus-visible, .site-nav .subnav a.is-active { background: var(--c-light); color: var(--c-accent); }
  @media (hover: hover) { .site-nav .subnav a:hover { background: var(--c-light); color: var(--c-accent); } }
}
@media (max-width: 1200px) {
  .site-nav .subnav { display: block; }
  .site-nav .subnav li { transform: none; transition: none; z-index: auto; position: static; background: transparent; }
  .site-nav .subnav a { padding: 16px 20px; font-size: 20px; line-height: 20px; color: rgba(252, 251, 251, .75); }
  .site-nav .subnav a.is-active { color: var(--c-accent); background: transparent; }
  .site-nav li.has-sub > a { padding-bottom: 12px; }
}

/* Dropdown indicator (desktop): small chevron that flips when open */
@media (min-width: 1201px) {
  .site-nav li.has-sub > a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 2px 3px 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform .3s cubic-bezier(.87, 0, .13, 1); vertical-align: middle; }
  .site-nav .has-sub:focus-within > a::after { transform: translateY(3px) rotate(225deg); }
  @media (hover: hover) { .site-nav .has-sub:hover > a::after { transform: translateY(3px) rotate(225deg); } }
}

/* Dropdown links: orange text on hover, no light background */
@media (min-width: 1201px) {
  .site-nav .subnav a:focus-visible, .site-nav .subnav a.is-active { background: none; color: var(--c-accent); }
  @media (hover: hover) { .site-nav .subnav a:hover { background: none; color: var(--c-accent); } }
}

/* Dropdown: links stacked vertically in the full-width bar */
@media (min-width: 1201px) {
  .site-nav .subnav { flex-direction: column; align-items: center; gap: 0; padding: 12px 0 20px; }
  .site-nav .subnav a { padding: 16px 40px; }
}

/* Dropdown: short grace period before closing, and a taller hover bridge, so the pointer can travel to it */
@media (min-width: 1201px) {
  .site-nav li.has-sub { padding: 36px 0 44px; margin: -36px 0 -44px; }
  .site-nav .subnav { transition: clip-path .5s cubic-bezier(.87, 0, .13, 1) .35s, visibility 0s linear .85s; }
  .site-nav .has-sub:focus-within .subnav { transition-delay: 0s, 0s; }
  @media (hover: hover) { .site-nav .has-sub:hover .subnav { transition-delay: 0s, 0s; } }
}

@media (min-width: 1201px) {
  .site-nav .has-sub.is-pinned .subnav { clip-path: inset(0); visibility: visible; pointer-events: auto; transition-delay: 0s, 0s; }
  .site-nav .has-sub.is-pinned > a { color: var(--c-accent); }
  .site-nav .has-sub.is-pinned > a::after { transform: translateY(3px) rotate(225deg); }
}

/* Home hero: name tag beside the portrait */
.hero__figure { position: relative; flex: 0 0 500px; width: 500px; align-self: stretch; display: flex; }
.hero__figure .hero__image { flex: 1 1 auto; width: 100%; }
.hero__tag { position: absolute; left: 61%; top: 30%; z-index: 2; display: flex; flex-direction: column; gap: 2px; padding: 14px 18px 16px; background: var(--c-text); color: var(--c-light); border-radius: 6px; border-top: 6px solid var(--c-accent); transform: rotate(-3deg); transform-origin: left center; white-space: nowrap; }
.hero__tag-hello { font: 700 12px/16px "Grift", sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--c-accent); }
.hero__tag strong { font: 800 24px/28px "Grift", sans-serif; letter-spacing: -1px; }
.hero__tag-role { font: 400 15px/20px "Grift", sans-serif; color: rgba(252, 251, 251, .85); }
@media (max-width: 1200px) { .hero__figure { flex: none; width: 100%; max-width: 555px; align-self: center; } }
@media (max-width: 767px) { .hero__figure .hero__image { margin-top: 36px; } .hero__tag { left: 58%; top: 40%; padding: 10px 14px 12px; } .hero__tag strong { font-size: 20px; line-height: 24px; } .hero__tag-role { font-size: 13px; line-height: 18px; } }
.hero__tag { border-top: 0; padding: 14px 18px; }
.hero__tag { background: none; color: var(--c-text); border-radius: 0; padding: 0; transform: none; }
.hero__tag strong { color: var(--c-text); }
.hero__tag-role { color: var(--c-text); }
.hero__tag { left: calc(61% + 50px); }
@media (max-width: 767px) { .hero__tag { left: calc(58% + 32px); } }
.hero__tag { left: calc(61% + 20px); top: 55%; }
@media (max-width: 767px) { .hero__tag { left: calc(58% + 12px); top: 52%; } }
.hero__tag { top: 48%; }
.hero__tag-role { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 767px) { .hero__tag { top: 45%; } .hero__tag-role { font-size: 12px; line-height: 18px; } }

/* Small all-caps labels (same style as the project card tags) */
.svc-list__title { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
.svc-list__title mark { padding: 4px 10px 5px; }
.site-nav .subnav a { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; }
@media (min-width: 1201px) { .site-nav .subnav a { padding: 16px 40px; } }
@media (max-width: 1200px) { .site-nav .subnav a { padding: 14px 20px; } }

/* Work filter options: small all-caps labels */
.filter__opt { font: 700 13px/20px "Grift", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; padding-bottom: 4px; }

/* Contact page icons: navy */
.contact__details .icon, .contact__details .social a, .contact__details .social i { color: var(--c-text); }
.hero__tag { gap: 0; }
.hero__tag strong { line-height: 24px; }
.hero__tag-role { margin-top: -2px; line-height: 16px; }
.hero__tag-role { margin-top: 1px; }

/* Contact form: placeholder-style select, booking link */
.contact__form select:invalid, .contact__form select[name="budget"]:has(option[value=""]:checked) { color: rgba(0, 24, 40, .55); }
.form-booking { margin: 4px 0 0; font-size: 16px; line-height: 24px; }
.form-booking a { color: var(--c-text); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }

/* quotes + estimate note */
.svc-quote{padding:56px var(--gutter);background:var(--c-light);}
.svc-quote__fig,.top-quote{max-width:760px;margin:0 auto;text-align:center;}
.svc-quote blockquote p,.top-quote blockquote p{font-size:22px;line-height:32px;margin:0 0 20px;}
.svc-quote figcaption strong,.top-quote figcaption strong{display:block;font:700 13px/20px "Grift",sans-serif;letter-spacing:1.5px;text-transform:uppercase;}
.svc-quote figcaption span,.top-quote figcaption span{display:block;font-size:16px;}
.top-quote{margin-top:48px;}
.process__note{margin:18px auto 0;max-width:520px;text-align:center;font-size:16px;line-height:24px;}
.page-title + .work--page + .svc-quote{margin-top:0;}
@media (max-width:767px){.svc-quote{padding:40px 24px}.svc-quote blockquote p,.top-quote blockquote p{font-size:19px;line-height:28px}}

/* dropdown links match the nav tabs */
.site-nav .subnav a { font: 700 20px/20px "Grift", sans-serif; letter-spacing: -1px; text-transform: capitalize; }
@media (max-width: 1200px) { .site-nav .subnav a { font-size: 24px; line-height: 24px; } }

/* service pages: selected work, big first tile, results always visible */
.svc-featured { padding: 64px var(--gutter) 24px; }
.svc-featured .work__head { margin-bottom: 32px; }
.svc-featured .work-card__more { grid-template-rows: 1fr; opacity: 1; }
.svc-featured .work-card__tags, .svc-featured .work-card__summary { opacity: 1; transform: none; }
.svc-featured .work-card__summary { display: block; }
@media (max-width: 767px) { .svc-featured { padding: 40px 24px 8px; } .svc-featured .work-card__summary { display: none; } }
/* example tiles are images only: no text overlay, so no shading */
.svc-featured .work-item::before, .svc-featured .work-item::after { display: none; }
.svc-featured__cta { display: flex; justify-content: center; margin-top: 40px; }
/* related work: breathing room below the cards and above the heading */
.svc-work { padding: 80px var(--gutter); }
.svc-work .work__head { margin-bottom: 40px; }
@media (max-width: 1200px) { .svc-work { padding: 64px var(--gutter); } }
@media (max-width: 767px) { .svc-work { padding: 48px 24px; } .svc-work .work__head { margin-bottom: 24px; } }

/* examples grid: even space above and below */
.svc-featured { padding: 72px var(--gutter); }
@media (max-width: 1200px) { .svc-featured { padding: 64px var(--gutter); } }
@media (max-width: 767px) { .svc-featured { padding: 48px 24px; } }
/* compact process row on the smaller service pages */
.process-compact { background: var(--c-text); color: var(--c-light); padding: 72px var(--gutter); }
.process-compact h2 { font: 900 72px/60px "Grift", sans-serif; letter-spacing: -3px; color: var(--c-light); margin-bottom: 40px; }
.process-compact__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.process-compact__steps h3 { font: 700 24px/30px "Grift", sans-serif; letter-spacing: -1px; margin: 12px 0 6px; color: var(--c-light); }
.process-compact__steps p { font-size: 16px; line-height: 24px; color: rgba(252, 251, 251, .8); margin: 0; }
.process-compact .process__cta { margin-top: 48px; display: flex; justify-content: center; }
@media (max-width: 1200px) { .process-compact { padding: 64px var(--gutter); } .process-compact h2 { font-size: 50px; line-height: 50px; } .process-compact__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .process-compact { padding: 48px 24px; } .process-compact h2 { font-size: 36px; line-height: 40px; letter-spacing: -2px; } .process-compact__steps { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.process-compact .process__cta { padding: 0; margin-bottom: 0; }
/* image sections on service pages: plain white */
.svc-featured, .svc-work { background: #fff; background-image: none; }
/* Contact page icons: orange */
.contact__details .icon, .contact__details .social a, .contact__details .social i { color: var(--c-accent); }

/* paper texture kept only on the home hero; everywhere else is clean */
.page-title, .work, .svc-included { background: var(--c-light); background-image: none; }

/* Service pages: image sections navy */
.svc-featured { background: var(--c-text); background-image: none; }
.process-compact .process__cta { justify-content: flex-start; }

/* Service page header: former background image as a strip above the title, no overlay */
.svc-head { background: var(--c-text); }
.svc-strip { padding: 112px var(--gutter) 0; }
.svc-strip img { display: block; width: 100%; height: 260px; object-fit: cover; border-radius: 4px; }
.svc-head .svc-hero { background: none; min-height: 0; padding-top: 64px; }
@media (max-width: 900px) { .svc-head .svc-hero { padding-top: 40px; } }
@media (max-width: 767px) { .svc-strip { padding: 88px 24px 0; } .svc-strip img { height: 170px; } }
.svc-strip { padding: 0; }
.svc-strip img { height: 300px; border-radius: 0; }
@media (max-width: 767px) { .svc-strip { padding: 0; } .svc-strip img { height: 180px; } }
.svc-featured .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 767px) { .svc-featured .work-grid { grid-template-columns: minmax(0, 1fr); } }
.project-testimonial__name { margin-top: 20px; }

/* Contact: Design Retainer */
.retainer .retainer__intro { max-width: 620px; font-size: 18px; line-height: 27px; color: rgba(252, 251, 251, .85); margin: -12px 0 40px; }
.retainer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-bottom: 56px; }
.retainer .svc-list__title { margin-top: 0; color: var(--c-light); }
.retainer .svc-list li { color: rgba(252, 251, 251, .85); }
.retainer__how { font: 700 28px/34px "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); margin: 0 0 24px; }
.retainer__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 48px; }
.retainer__cta p { max-width: 520px; font-size: 18px; line-height: 27px; color: rgba(252, 251, 251, .85); }
.project-next__cta p a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .retainer__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-bottom: 40px; } }
.retainer .svc-list { gap: 12px; }
.retainer .svc-list li { padding-left: 22px; }
.retainer .svc-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--c-accent); border-radius: 2px; }
.retainer .svc-list li::before { width: 7px; height: 7px; top: 10px; border-radius: 0; }
/* Retainer: thin line separating the footer */
.retainer { position: relative; }
.retainer::after { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); bottom: 0; height: 1px; background: rgba(252, 251, 251, .22); }
.retainer::after { left: 0; right: 0; }
/* Home hero: rotating word sits beside "I design" */
.rotator { display: inline-block; vertical-align: top; }
@media (max-width: 767px) { .hero h1 { font-size: min(40px, calc((100vw - 48px) / 8.6)); } }
/* Rotator is as wide as the longest word, so no word is clipped mid-swap */
.rotator__size { display: block; height: 0; overflow: hidden; visibility: hidden; white-space: nowrap; }
/* Mobile: tighten the navy-on-navy gaps on service pages */
@media (max-width: 900px) { .svc-head .svc-hero { padding-bottom: 8px; } .svc-featured { padding-top: 32px; padding-bottom: 16px; } }

/* Mobile menu: Services is an accordion row with an arrow; its pages are tucked under it until tapped */
@media (max-width: 1200px) {
  .site-nav li.has-sub > a { padding-bottom: 28px; }
  .site-nav li.has-sub > a::after { content: ""; display: inline-block; width: 8px; height: 8px; margin: 0 2px 4px 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .3s cubic-bezier(.87, 0, .13, 1); vertical-align: middle; }
  .site-nav .has-sub.is-pinned > a { color: var(--c-accent); }
  .site-nav .has-sub.is-pinned > a::after { transform: translateY(4px) rotate(225deg); }
  .site-nav .subnav { display: block; overflow: hidden; max-height: 0; visibility: hidden; padding: 0; transition: max-height .4s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .4s; }
  .site-nav .has-sub.is-pinned .subnav { visibility: visible; transition-delay: 0s; }
  .site-nav .subnav li:last-child { padding-bottom: 16px; }
  .site-nav .subnav a { padding: 14px 20px; }
}

/* Mobile menu: quicker open/close */
@media (max-width: 1200px) {
  .site-nav { transition: visibility 0s linear .65s; }
  .site-nav > ul > li { transition: transform .42s cubic-bezier(.87, 0, .13, 1) calc(var(--r, 0) * 35ms); }
  .site-nav.is-open > ul > li { transition-delay: calc(var(--i, 0) * 50ms); }
  .site-nav.is-open { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 1200px) { .site-nav, .site-nav > ul > li { transition: none; } }

/* Mobile: icons sit to the left of their heading */
@media (max-width: 767px) {
  .process-compact__steps li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 6px; align-items: center; }
  .process-compact__steps li .icon { grid-column: 1; grid-row: 1; margin: 0; }
  .process-compact__steps li h3 { grid-column: 2; grid-row: 1; margin: 0; }
  .process-compact__steps li p { grid-column: 2; grid-row: 2; }
  .process .process-step .process-step__body { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center; }
  .process .process-step__body > .icon { grid-column: 1; grid-row: 1; margin: 0; }
  .process .process-step__body > h3 { grid-column: 2; grid-row: 1; }
  .process .process-step__body > p { grid-column: 1 / -1; grid-row: 2; max-width: none; }
}

/* Mobile: Deliverables lists run in two columns */
@media (max-width: 767px) {
  .svc-hero__list .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
}

/* Deliverables heading: orange text, no box */
.svc-hero__list .svc-list__title mark { background: none; color: var(--c-accent); padding: 0; }

/* Mobile project pages: every image stacks full width */
@media (max-width: 767px) {
  .gallery, .gallery[class*="gallery--"] { flex-direction: column; gap: 10px; }
  .gallery img { flex: none; width: 100%; }
}

/* Home hero (desktop): a little taller */
@media (min-width: 1201px) { .hero { min-height: 620px; } }

/* Home hero (desktop): keep the photo at its natural proportions, anchored to the bottom */
@media (min-width: 1201px) { .hero__image img { height: auto; max-height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; } }
@media (min-width: 1201px) {
  .hero__figure { flex: 0 0 560px; width: 560px; }
  .hero__image img { width: 100%; }
  /* headline scales down a touch on narrower desktops so "I design [word]" stays on one line */
  .hero h1 { font-size: min(72px, calc((100vw - 2 * var(--gutter) - 560px) / 8.65)); }
}
/* Home hero (desktop): name tag sits in the gap between head and shoulder */
@media (min-width: 1201px) { .hero__tag { top: 58%; } }
/* Home hero (mobile): name tag sits in the gap between head and shoulder */
@media (max-width: 767px) { .hero__tag { top: 57%; } }

/* Home hero: name tag is placed from the photo's own proportions (figure width = photo width), so it always sits
   in the gap between head and shoulder and never touches the photo at any screen size */
.hero__figure { container-type: inline-size; }
.hero__figure .hero__tag { top: auto; left: calc(100cqw * 0.64); bottom: calc(96.88cqw * 0.415); }
@media (max-width: 400px) {
  .hero__figure .hero__tag strong { font-size: 17px; line-height: 20px; }
  .hero__figure .hero__tag-role { font-size: 10.5px; line-height: 14px; letter-spacing: 1.2px; }
}

/* List labels (What's included, What it's good for, Deliverables): plain orange text, no box */
.svc-list__title mark, .retainer .svc-list__title mark { background: none; color: var(--c-accent); padding: 0; }
.retainer .svc-list li::before { width: 5px; height: 5px; top: 10px; background: rgba(252, 251, 251, .85); border-radius: 0; }

/* Mobile: icon is as tall as the heading line beside it, and the body copy starts at the icon's left edge */
@media (max-width: 767px) {
  .process-compact__steps li { align-items: start; }
  .process-compact__steps li .icon { width: 30px; height: 30px; }
  .process-compact__steps li p { grid-column: 1 / -1; }
  .process .process-step .process-step__body { align-items: start; }
  .process .process-step__body > .icon { width: 36px; height: 36px; }
}
@media (max-width: 767px) {
  .process-compact__steps li .icon { width: 22px; height: 22px; margin-top: 4px; }
  .process .process-step__body > .icon { width: 26px; height: 26px; margin-top: 5px; }
}

/* Logo & Brand Identity: zoom in a little on the Gator Strong tile */
.svc-featured .work-item img[src$="gator-strong-services-primary-logo-alligator-pattern.webp"] { transform: scale(1.18); transform-origin: center; }

/* Mobile: larger social icons */
@media (max-width: 767px) {
  .social { gap: 18px; }
  .social a { width: 32px; height: 32px; font-size: 32px; }
}
@media (max-width: 767px) { .social { gap: 13px; } .social a { width: 27px; height: 27px; font-size: 27px; } }
@media (max-width: 360px) { .social { gap: 10px; } .social a { width: 24px; height: 24px; font-size: 24px; } }

/* Retainer How It Works has three steps */
.retainer .process-compact__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 767px) { .retainer .process-compact__steps { grid-template-columns: minmax(0, 1fr); } }

/* Header phone number */
.site-header__phone { font: 700 20px/1 "Grift", sans-serif; letter-spacing: -1px; color: var(--c-light); white-space: nowrap; transition: color .3s; }
.site-header__phone:focus-visible { color: var(--c-accent); }
@media (hover: hover) { .site-header__phone:hover { color: var(--c-accent); } }
@media (max-width: 1200px) { .site-header__phone { order: 0; } }
@media (max-width: 767px) { .site-header__phone { display: none; } }

/* Booking buttons */
.btn--outline { background: transparent; border-color: var(--c-text); color: var(--c-text); }
.btn--outline:focus-visible { background: var(--c-text); color: var(--c-light); }
@media (hover: hover) { .btn--outline:hover { background: var(--c-text); color: var(--c-light); } }
.btn-row, .svc-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px 16px; }
@media (max-width: 767px) { .btn-row, .svc-hero__buttons { gap: 10px; } }

/* Header phone icon (phones) */
.site-header__phone-icon { display: none; }
@media (max-width: 767px) {
  .site-header__phone-icon { display: flex; align-items: center; justify-content: center; order: 0; width: 33px; height: 33px; color: var(--c-light); }
  .site-header__phone-icon svg { width: 22px; height: 22px; }
}

.contact__book { margin: 20px 0 32px; }
.form-note--top { margin: 0 0 4px; }

/* Booking + write-instead link */
.cta-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.write-link { font-size: 16px; line-height: 24px; color: var(--c-text); }
.write-link span { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
@media (hover: hover) { .write-link:hover span { color: var(--c-accent); } }
.write-link:focus-visible span { color: var(--c-accent); }
.testimonials__cta .write-link { color: var(--c-light); }

/* Contact: align left column with the top of the form */
@media (min-width: 1201px) { .contact__info { padding-top: 0; } .contact__details { margin-left: 0; } }

/* Services overview */
.svc-index { display: grid; gap: 24px; padding: 72px var(--gutter); background: var(--c-light); }
.svc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 20px; border: 2px solid var(--c-text); border-radius: var(--radius); color: var(--c-text); transition: background .2s, color .2s; }
.svc-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.svc-card h2 { font: 700 var(--t-heading)/var(--t-heading-lh) "Grift", sans-serif; letter-spacing: -2px; margin-bottom: 12px; }
.svc-card p { font-size: 18px; line-height: 26px; }
.svc-card .svc-card__list { margin-top: 12px; font-size: 16px; line-height: 24px; opacity: .75; }
.svc-card__more { display: inline-block; margin-top: 20px; font-weight: 700; color: var(--c-accent); }
.svc-card__more::after { content: " \2192"; }
.svc-card:nth-child(even) img { order: 2; }
@media (max-width: 900px) { .svc-card { grid-template-columns: minmax(0, 1fr); gap: 20px; } .svc-card:nth-child(even) img { order: 0; } }
@media (max-width: 767px) { .svc-index { padding: 40px 24px; gap: 16px; } .svc-card { padding: 14px; } }

@media (min-width: 1201px) { .site-nav .subnav__all { display: none; } }

@media (min-width: 1201px) { .site-nav .has-sub.is-quiet:hover .subnav, .site-nav .has-sub.is-quiet:focus-within .subnav { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; transition: none; } }
.svc-list--links { grid-template-columns: minmax(0, 1fr); }
.svc-list--links a { font-weight: 700; color: var(--c-light); }
.svc-list--links a:focus-visible { color: var(--c-accent); }
@media (hover: hover) { .svc-list--links a:hover { color: var(--c-accent); } }

/* Services overview: navy cards section */
.svc-index { background: var(--c-text); }
.svc-card { border-color: rgba(252, 251, 251, .35); color: var(--c-light); }

/* Services overview: flat cards (no outline, no hover change) */
.svc-card { border: 0; padding: 0; transition: none; }

/* Services overview: decluttered */
.svc-index { gap: 72px; padding: 88px var(--gutter); }
.svc-card { gap: 64px; cursor: default; }
.svc-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 460px; }
.svc-card__body h2 { margin-bottom: 0; }
.svc-card__body .btn { margin-top: 12px; }
@media (max-width: 900px) { .svc-card { gap: 24px; } .svc-index { gap: 56px; } }
@media (max-width: 767px) { .svc-index { padding: 48px 24px; } }

/* Header overlays the page instead of reserving its own strip, so when it slides away the hero (image or colour) runs to the top edge */
body::before { content: none; }
.site-header { margin-bottom: -100px; }
main > :first-child { border-top: 100px solid transparent; }

/* Hero images run to the very top edge, behind the header */
main > .project-hero, main > .svc-head { border-top: 0; }
.svc-strip { padding-top: 0; }
.svc-strip img { height: 372px; border-radius: 0 0 4px 4px; }

/* No divider or gap where the navy section meets the closing section */
.svc-index + .project-next { border-top: 0; margin-top: 0; }

/* Services overview: slide-in cards */
.svc-card__media { overflow: hidden; border-radius: var(--radius); }
.svc-card__media img { display: block; border-radius: 0; }
.svc-card:nth-child(even) .svc-card__media { order: 2; }
@media (max-width: 900px) { .svc-card:nth-child(even) .svc-card__media { order: 0; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .svc-card__media { opacity: 0; transform: translateX(-120px) scale(.94); transition: opacity .9s ease, transform 1.2s cubic-bezier(.16, 1, .3, 1); will-change: transform, opacity; }
  .svc-card:nth-child(even) .svc-card__media { transform: translateX(120px) scale(.94); }
  .svc-card__body { opacity: 0; transform: translateX(120px); transition: opacity .9s ease .15s, transform 1.2s cubic-bezier(.16, 1, .3, 1) .15s; will-change: transform, opacity; }
  .svc-card:nth-child(even) .svc-card__body { transform: translateX(-120px); }
  .svc-card.is-in .svc-card__media, .svc-card.is-in .svc-card__body { opacity: 1; transform: none; }
}
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) and (max-width: 900px) { .svc-card__media, .svc-card:nth-child(even) .svc-card__media { transform: translateY(48px) scale(.96); } .svc-card__body, .svc-card:nth-child(even) .svc-card__body { transform: translateY(48px); } .svc-card.is-in .svc-card__media, .svc-card.is-in .svc-card__body { transform: none; } }

/* Touch screens: the hover details appear when a card is scrolled to the middle of the screen, and tuck away once it moves on */
@media (hover: none) {
  .work-card__more { grid-template-rows: 0fr; opacity: 0; }
  .work-card__summary { display: block; }
  .work-card__tags { opacity: 0; transform: translateY(-24px); }
  .work-item.is-active .work-card__more { grid-template-rows: 1fr; opacity: 1; }
  .work-item.is-active .work-card__more-inner { transform: none; }
  .work-item.is-active .work-card__tags { opacity: 1; transform: none; transition-delay: 0s; }
  .work-item.is-active .work-card__summary { opacity: 1; transform: none; transition-delay: .18s; }
  .work-item.is-active::before { opacity: 1; }
}

/* Project hero image also fills the strip behind the header, so the header doesn't cut into the visible part of the image */
main > .project-hero { border-top: 100px solid transparent; box-sizing: content-box; background-origin: border-box; }
/* Phones: keep the whole hero image below the header (a navy strip sits behind the header instead) */
@media (max-width: 767px) { main > .project-hero { border-top-color: var(--c-text); background-origin: padding-box; } }

/* Project hero matches the services header strip: same 372px height at every width, image centred behind the header */
main > .project-hero { min-height: 272px; padding-bottom: 0; border-top-color: transparent; background-origin: border-box; background-position: center 25%; }
@media (max-width: 1200px) { main > .project-hero { min-height: 272px; background-position: center 25%; } }
@media (max-width: 767px) { main > .project-hero { min-height: 272px; border-top-color: transparent; background-origin: border-box; } }

/* Phones: centre the image in the part that shows below the header (navy fills the strip behind the header) */
@media (max-width: 767px) { main > .project-hero { border-top-color: var(--c-text); background-origin: padding-box; background-position: center center; } }

/* Phones: services header strip matches the project header (navy behind the nav, 272px image below it) */
@media (max-width: 767px) { .svc-strip { padding-top: 100px; } .svc-strip img { height: 272px; } }

/* Phones: project-card tags hug their text, wrap evenly, and stay clear of the card edges */
@media (max-width: 767px) {
  .work-card__tags { right: auto; width: fit-content; max-width: calc(100% - 24px); font-size: 10px; line-height: 15px; letter-spacing: 1px; padding: 5px 9px; text-wrap: balance; }
}
.work-card__tags .tag-i { white-space: nowrap; }

/* Phones: one solid navy rounded box behind the tags; main.js shrinks its width to the widest line */
@media (max-width: 767px) {
  .work-card__tags { background: var(--c-text); padding: 5px 11px; line-height: 16px; border-radius: 0; text-wrap: balance; box-sizing: border-box; }
  .work-card__tags .tag-bg { background: none; padding: 0; }
}

/* Phones: a project can set where its header image is anchored (e.g. mascot on the right) */
@media (max-width: 767px) {
  main > .project-hero { background-position: var(--hero-pos-m, center center); }
  /* page titles (Contact, My Work) get breathing room below the nav */
  .page-title:not(.page-title--lede) { padding-bottom: 24px; }
  main > .page-title:not(.page-title--lede) { border-top-width: 124px; }
}

/* Header images: a little shorter (340px including the 100px behind the nav) on every page that has one */
main > .project-hero, main > .project-hero:first-child { min-height: 240px; }
@media (max-width: 1200px) { main > .project-hero { min-height: 240px; } }
@media (max-width: 767px) { main > .project-hero { min-height: 240px; } }
.svc-strip img { height: 340px; }
@media (max-width: 767px) { .svc-strip img { height: 240px; } }

/* Header images, trimmed again (300px including the 100px behind the nav), with the project-page gradient on the services headers too */
main > .project-hero, main > .project-hero:first-child { min-height: 200px; }
@media (max-width: 1200px) { main > .project-hero { min-height: 200px; } }
@media (max-width: 767px) { main > .project-hero { min-height: 200px; } }
.svc-strip { position: relative; }
.svc-strip img { height: 300px; }
@media (max-width: 767px) { .svc-strip img { height: 200px; } }
.svc-strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 1, 1, 0) 0%, #000 100%); opacity: .61; pointer-events: none; }
@media (max-width: 767px) { .svc-strip::after { top: 100px; } }
.svc-strip::after { border-radius: 0 0 4px 4px; }

/* Phones: text headers (About, Contact, My Work) share the same spacing: 32px under the nav, 24px before the content */
@media (max-width: 767px) {
  main > .page-title, main > .page-title:not(.page-title--lede) { border-top-width: 100px; min-height: 0; padding: 32px 24px 24px; justify-content: flex-start; }
  main > .page-title--lede { gap: 12px; padding-bottom: 16px; }
}
@media (max-width: 767px) { main > .page-title + section { padding-top: 16px; } }

/* Home photo keeps one ratio at every width (was a fixed height that cropped harder as the window widened) */
.idea__photo, .idea__photo { aspect-ratio: 3 / 2; min-height: 0; height: auto; }
@media (max-width: 767px) { .idea__photo { max-width: 500px; } }
.idea { padding-bottom: 5%; }
@media (max-width: 1200px) { .idea { padding-bottom: 8%; } }
@media (max-width: 767px) { .idea { padding-bottom: 40px; } }

/* About photos keep one ratio at every width; rows get bottom room so taller photos never touch the next section */
.about-row__photo { aspect-ratio: 3 / 2; min-height: 0; height: auto; }
.about-row__photo img { height: 100%; }
.about-row--second { padding-bottom: 5%; }
@media (max-width: 1200px) { .about-row--second { padding-bottom: 8%; } }
@media (max-width: 767px) { .about-row__photo { min-height: 0; } .about-row--second { padding-bottom: 32px; } }

/* Desktop/tablet: text headers sit lower so they don't crowd the nav bar */
@media (min-width: 768px) { main > .page-title { padding-top: 72px; } }

/* Phone tags: keep the corners rounded before the script shapes the clip (no square flash) */
@media (max-width: 767px) { .work-card__tags { border-radius: 6px; } }
