/* ==========================================================================
   INORI Design — Modern Japanese interior design system
   Palette: #302A25 ink · #62564A clay · #C2AF90 brass · #C2B08F sand
            #5E5347 bark · #F5F3EE off-white · #DDD9D2 light grey
   ========================================================================== */

:root {
  --background: #f5f3ee;
  --foreground: #302a25;
  --muted-foreground: #62564a;
  --secondary: #ddd9d2;
  --border: #ddd9d2;
  --sand: #c2b08f;
  --brass: #c2af90;
  --bark: #5e5347;
  --white: #fafafa;

  --font-display: "Jost", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid var(--border);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* FIX: in-page anchors (#about, #services, #contact...) land below the fixed
     header instead of underneath it. Matches the header height (64px / 96px md+). */
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0;
}

p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

/* The width/height attributes on <img> are presentational hints; without this
   they pin the rendered height and break the intrinsic aspect ratio. */
img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* --- shared utilities ---------------------------------------------------- */

.shell {
  margin-inline: auto;
  width: 100%;
  max-width: 1360px;
  padding-inline: 1.25rem;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* Restrained entrance motion, driven by IntersectionObserver in script.js */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
}

.reveal[data-visible="true"] {
  opacity: 1;
  transform: none;
}

.reveal-fill {
  height: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* --- pill CTA ------------------------------------------------------------ */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  height: 52px;
  padding-left: 2rem;
  padding-right: 1.5rem;
  border-radius: 9999px;
  background: none;
  cursor: pointer;
  transition: all 500ms ease-out;
}

.pill__label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill__arrow {
  flex-shrink: 0;
  transition: transform 500ms ease-out;
}

.pill:hover .pill__arrow {
  transform: translateX(4px);
}

.pill--brass {
  background-color: var(--brass);
  color: #fff;
}

.pill--brass:hover {
  background-color: var(--foreground);
  color: var(--brass);
}

.pill--outline {
  border: 1px solid currentColor;
}

.pill--outline:hover {
  /* FIX: the export resolved currentColor to the hover text colour, so the fill
     and the label were the same dark tone and "Contact Us" vanished on hover.
     Fill with the pill's resting colour and switch the label to ink instead. */
  border-color: var(--foreground);
  background-color: var(--foreground);
  color: var(--background);
}

.pill--on-dark.pill--outline:hover {
  border-color: var(--white);
  background-color: var(--white);
  color: var(--foreground);
}

.pill--on-dark {
  color: var(--white);
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background-color: var(--background);
  transition: background-color 500ms;
}

.header[data-solid="true"] {
  background-color: rgba(245, 243, 238, 0.95);
  backdrop-filter: blur(4px);
}

.header__bar {
  margin-inline: auto;
  display: flex;
  height: 64px;
  max-width: 1360px;
  align-items: center;
  justify-content: space-between;
  padding-inline: 1.25rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__logo img {
  height: 2.25rem;
  width: auto;
}

.header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.header__nav a {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: #000;
  white-space: nowrap; /* FIX: "About Us" etc. wrapped onto two lines at ~1024-1100px */
  transition: color 200ms;
}

.header__nav a:hover {
  color: var(--brass);
}

.header__burger {
  display: flex;
  height: 40px;
  width: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: none;
  cursor: pointer;
  padding: 0;
}

.header__burger span {
  display: block;
  height: 1px;
  width: 24px;
  background-color: var(--foreground);
  transition: transform 300ms;
}

.header__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.header__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.header__mobile {
  overflow: hidden;
  max-height: 0;
  background-color: var(--background);
  border-top: 0 solid var(--border);
  transition: max-height 500ms;
}

.header__mobile[data-open="true"] {
  max-height: 560px; /* FIX: links + Our Team sub-link need ~490px; 420px clipped them */
  border-top: 1px solid var(--border);
}

.header__mobile nav {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.25rem;
}

.header__mobile a {
  border-bottom: 1px solid rgba(221, 217, 210, 0.7);
  padding-block: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.025em;
}

.header__mobile a:last-child {
  border-bottom: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: 64px;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  background-color: var(--foreground);
}

.hero__stage {
  position: relative;
  height: 78vh;
  min-height: 520px;
  width: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1400ms ease-out;
}

.hero__slide[data-active="true"] {
  opacity: 1;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to top,
    rgba(48, 42, 37, 0.8),
    rgba(48, 42, 37, 0.3) 50%,
    rgba(48, 42, 37, 0.25)
  );
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.25rem 7rem;
}

.hero__title {
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero__lede {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 500;
  color: #fff;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero__bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  border-top: 1px solid rgba(250, 250, 250, 0.2);
  backdrop-filter: blur(2px);
}

.hero__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.hero__markers {
  display: none;
  gap: 2rem;
}

.hero__markers li {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.75);
}

.hero__controls {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__dot {
  height: 1px;
  width: 1.5rem;
  padding: 0;
  background-color: rgba(250, 250, 250, 0.4);
  cursor: pointer;
  transition: all 500ms;
}

.hero__dot:hover {
  background-color: rgba(250, 250, 250, 0.7);
}

.hero__dot[aria-current="true"] {
  width: 3rem;
  background-color: var(--white);
}

.hero__count {
  margin-left: 0.5rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(250, 250, 250, 0.7);
}

.hero__arrows {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__arrow {
  display: flex;
  height: 36px;
  width: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(250, 250, 250, 0.4);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: all 200ms;
}

.hero__arrow:hover {
  background-color: var(--white);
  color: var(--foreground);
}

/* ==========================================================================
   Shorts — marquee
   ========================================================================== */

.shorts {
  overflow: hidden;
  padding-block: 3rem;
}

.shorts__title {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.shorts__viewport {
  margin-top: 2rem;
  width: 100%;
  overflow: hidden;
}

@keyframes marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.shorts__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding-right: 1rem;
  animation: marquee-left 60s linear infinite;
}

.shorts__track:hover {
  animation-play-state: paused;
}

.short {
  position: relative;
  display: block;
  width: 62vw;
  flex: none;
}

.short__media {
  position: relative;
  aspect-ratio: 9 / 16;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  background-color: var(--secondary);
}

.short__media img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.short:hover .short__media img {
  transform: scale(1.04);
}

.short__scrim {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 40%;
  background-image: linear-gradient(
    to top,
    rgba(48, 42, 37, 0.8),
    rgba(48, 42, 37, 0.35) 50%,
    transparent
  );
}

.short__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  height: 3.5rem;
  width: 3.5rem;
  transform: translate(-50%, -50%);
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(245, 243, 238, 0.85);
  font-size: 0.875rem;
  color: var(--foreground);
  opacity: 0.9;
  transition: transform 500ms;
}

.short:hover .short__play {
  transform: translate(-50%, -50%) scale(1.1);
}

.short__meta {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(48, 42, 37, 0.7);
  padding: 0.25rem 0.5rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--background);
}

.short__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
}

.short__caption p {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.375;
  letter-spacing: -0.025em;
  color: var(--background);
}

/* ==========================================================================
   About
   ========================================================================== */

.about {
  padding-block: 3rem;
}

.about__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.about__art {
  overflow: hidden;
}

.about__art img {
  width: 100%;
  transition: transform 1600ms ease-out;
  will-change: transform;
}

.about__art:hover img {
  transform: translateY(-6px) scale(1.015);
}

.about__copy {
  max-width: 36rem;
}

.about__title {
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.about__body {
  margin-top: 1.75rem;
  max-width: 28rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 2;
  color: var(--muted-foreground);
}

.about .pill {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  position: relative;
  overflow: hidden;
  padding-block: 5rem;
  background-color: var(--bark);
  color: #fff;
}

.services__grid {
  display: grid;
  gap: 1.5rem;
}

.services__heading {
  display: flex;
  align-items: center;
}

.services__heading h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.service {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  background-color: rgba(255, 255, 255, 0.045);
  padding: 1.75rem;
  text-align: left;
  color: #fff;
  transition: all 700ms ease-out;
}

.service:hover {
  transform: translateY(-4px);
  background-color: rgba(255, 255, 255, 0.09);
}

.service img {
  height: 52px;
  width: auto;
  align-self: flex-start;
  object-position: left;
  transition: transform 700ms ease-out;
}

.service:hover img {
  transform: scale(1.05);
}

.service h3 {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.service__rule {
  margin-top: 1.25rem;
  height: 1px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
}

.service p {
  margin-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Team
   ========================================================================== */

.team {
  padding-block: 3rem;
}

.team__title {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.team__grid {
  margin-top: 2rem;
  display: grid;
  gap: 2rem;
}

.member__media {
  overflow: hidden;
  background-color: var(--secondary);
}

.member__media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.member:hover .member__media img {
  transform: scale(1.03);
}

.member h3 {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.member p {
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Projects — scroll-pinned sequence
   ========================================================================== */

.projects {
  position: relative;
  /* 4 slides x 58vh of scroll travel */
  height: 232vh;
  /* The pinned stage already sits under the fixed header, so the anchor should
     land on the section top itself (cancels html scroll-padding-top). */
  scroll-margin-top: -64px;
}

.projects__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.projects__bg {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: transform;
  transition: opacity 1200ms ease-out;
}

.projects__bg[data-active="true"] {
  opacity: 1;
}

.projects__scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(48, 42, 37, 0.2);
}

.projects__stage {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
}

.projects__card {
  position: relative;
  width: 100%;
  max-width: 620px;
  overflow: hidden;
  background-color: var(--background);
  padding: 2rem;
}

.projects__watermark {
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  height: 6rem;
  width: auto;
}

.projects__panel {
  transition: opacity 700ms;
}

.projects__panel[data-active="false"] {
  pointer-events: none;
  position: absolute;
  inset: 0;
  padding: 2rem;
  opacity: 0;
}

.projects__panel h2 {
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.projects__panel > p {
  margin-top: 1.25rem;
  max-width: 28rem;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.projects__rule {
  margin-top: 2rem;
  height: 1px;
  width: 100%;
  background-color: var(--border);
}

.projects__link {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.projects__link span:first-child {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.025em;
  color: var(--brass);
  transition: color 500ms;
}

.projects__link:hover span:first-child {
  color: var(--foreground);
}

.projects__link span:last-child {
  font-size: 1.5rem;
  color: var(--brass);
  transition: transform 500ms ease-out;
}

.projects__link:hover span:last-child {
  transform: translate(4px, -4px);
}

.projects__dots {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.5rem;
}

.projects__dots span {
  height: 1px;
  width: 1.5rem;
  background-color: rgba(245, 243, 238, 0.5);
  transition: all 500ms;
}

.projects__dots span[data-active="true"] {
  width: 3rem;
  background-color: var(--background);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  position: relative;
  overflow: hidden;
  background-color: rgba(221, 217, 210, 0.4);
  padding-block: 5rem;
}

.testimonials__bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  user-select: none;
}

.testimonials__grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.testimonials__title {
  margin-top: 1rem;
  max-width: 12ch;
  font-family: var(--font-display);
  font-size: 2.15rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.testimonials__lede {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.testimonials .pill {
  margin-top: 2.25rem;
}

.testimonials__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.quote {
  display: flex;
  gap: 1.25rem;
  background-color: var(--background);
  padding: 1.5rem;
  border-left: 2px solid transparent;
  transition: all 700ms ease-out;
}

.quote:hover {
  transform: translateY(-4px);
}

.quote--accent {
  border-left-color: var(--brass);
}

.quote__body {
  flex: 1;
}

.quote blockquote {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.85;
  color: var(--muted-foreground);
}

.quote figcaption {
  margin-top: 1.25rem;
}

.quote__author {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.quote__meta {
  margin-top: 0.25rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.quote__mark {
  font-family: var(--font-display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--brass);
  user-select: none;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary);
}

.contact__bg {
  position: absolute;
  inset-inline: 0;
  top: -15%;
  height: 130%;
  width: 100%;
  object-fit: cover;
  will-change: transform;
}

.contact__scrim {
  position: absolute;
  inset: 0;
  background-color: rgba(48, 42, 37, 0.35);
}

.contact__inner {
  position: relative;
}

.contact__shell {
  padding-block: 2.5rem;
}

.contact__center {
  position: relative;
  display: flex;
  justify-content: center;
}

.contact__card {
  width: 100%;
  background-color: var(--background);
  padding: 1.5rem;
}

.contact__title {
  margin-top: 1rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.contact__lede {
  margin-top: 1rem;
  max-width: 28rem;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted-foreground);
}

.contact__form {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact__field--wide,
.contact__submit,
.contact__sent {
  grid-column: span 2;
}

.field {
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: transparent;
  padding-block: 0.625rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  border-radius: 0;
  transition: border-color 200ms;
}

.field::placeholder {
  color: rgba(98, 86, 74, 0.7);
}

.field:focus {
  border-bottom-color: var(--foreground);
}

textarea.field {
  resize: none;
}

.contact__submit {
  display: grid;
  gap: 1.5rem;
}

.contact__details {
  display: grid;
  gap: 0.75rem;
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--muted-foreground);
}

.contact__details dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__details dd {
  margin-top: 0.125rem;
  color: var(--foreground);
}

.contact__sent {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background-color: var(--foreground);
  color: var(--white);
}

.footer__inner {
  margin-inline: auto;
  max-width: 1360px;
  padding: 2.5rem 1.25rem;
}

.footer__grid {
  display: grid;
  gap: 2.25rem;
}

.footer__logo {
  height: 2.8125rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer__about {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(250, 250, 250, 0.6);
}

.footer h3 {
  color: var(--sand);
}

.footer__list {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: rgba(250, 250, 250, 0.7);
}

.footer__list a {
  transition: color 200ms;
}

.footer__list a:hover {
  color: var(--white);
}

.footer__social {
  margin-top: 2rem;
  display: flex;
  gap: 1.25rem;
}

.footer__social a {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.7);
  transition: color 200ms;
}

.footer__social a:hover {
  color: var(--white);
}

.footer__legal {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid rgba(250, 250, 250, 0.15);
  padding-top: 1.25rem;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.025em;
  color: rgba(250, 250, 250, 0.5);
}

.footer__legal a {
  transition: color 200ms;
}

.footer__legal a:hover {
  color: var(--white);
}

/* ==========================================================================
   Breakpoints - sm 640 / md 768 / lg 1024
   ========================================================================== */

@media (min-width: 640px) {
  .hero__title {
    font-size: 3.75rem;
  }

  .short {
    width: 34vw;
  }

  .shorts__title,
  .team__title {
    font-size: 2.25rem;
    /* FIX: single-line titles from sm up only. Below 640px they were clipped on
       phones narrower than ~390px; they now wrap only if they would not fit. */
    white-space: nowrap;
  }

  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact__submit {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .contact__details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 96px;
  }

  .shell,
  .header__bar,
  .footer__inner {
    padding-inline: 2.5rem;
  }

  .header__bar {
    height: 96px;
  }

  .header__logo img {
    height: 2.8125rem;
  }

  .pill {
    height: 58px;
    gap: 2.5rem;
    padding-left: 2.75rem;
    padding-right: 2rem;
  }

  .hero {
    padding-top: 96px;
  }

  .hero__stage {
    height: 82vh;
  }

  .hero__content {
    padding: 0 2.5rem 8rem;
  }

  .hero__title {
    font-size: 4.5rem;
  }

  .hero__lede {
    font-size: 1.125rem;
  }

  .hero__bar-inner {
    padding-inline: 2.5rem;
  }

  .hero__markers {
    display: flex;
  }

  .hero__controls {
    width: auto;
  }

  .shorts {
    padding-block: 4rem;
  }

  .shorts__title,
  .team__title {
    font-size: 3rem;
  }

  .shorts__viewport {
    margin-top: 2.5rem;
  }

  .shorts__track {
    gap: 1.5rem;
    padding-right: 1.5rem;
  }

  .short__caption {
    padding: 1.25rem;
  }

  .short__caption p {
    font-size: 1.25rem;
  }

  .about,
  .team {
    padding-block: 4rem;
  }

  .about__title,
  .testimonials__title {
    font-size: 3rem;
  }

  .about__body {
    font-size: 15px;
  }

  .services {
    padding-block: 7rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services__heading h2 {
    font-size: 3rem;
  }

  .service {
    padding: 2.25rem;
  }

  .service h3 {
    font-size: 1.75rem;
  }

  .team__grid {
    margin-top: 2.5rem;
  }

  .projects {
    scroll-margin-top: -96px;
  }

  .projects__scrim {
    background-color: transparent;
  }

  .projects__card {
    padding: 3.5rem;
  }

  .projects__panel[data-active="false"] {
    padding: 3.5rem;
  }

  .projects__watermark {
    height: 9rem;
  }

  .projects__panel h2 {
    font-size: 3rem;
  }

  .projects__panel > p {
    font-size: 15px;
  }

  .projects__rule {
    margin-top: 3rem;
  }

  .projects__link {
    margin-top: 3.5rem;
  }

  .projects__link span:first-child {
    font-size: 2.75rem;
  }

  .projects__link span:last-child {
    font-size: 1.875rem;
  }

  .testimonials {
    padding-block: 7rem;
  }

  .quote {
    padding: 2rem;
  }

  .quote blockquote {
    font-size: 15px;
  }

  .testimonials__list > .reveal:nth-child(odd) {
    margin-left: 4rem;
  }

  .contact__scrim {
    background-color: rgba(48, 42, 37, 0.2);
  }

  .contact__shell {
    padding-block: 4rem;
  }

  .contact__card {
    max-width: 760px;
    padding: 2.25rem;
  }

  .contact__title {
    font-size: 2.6rem;
  }

  .footer__inner {
    padding-block: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .header__nav {
    display: flex;
  }

  .header__burger,
  .header__mobile {
    display: none;
  }

  .hero__title {
    font-size: 5.25rem;
  }

  .short {
    width: 19vw;
  }

  .shorts__title,
  .team__title,
  .about__title,
  .services__heading h2,
  .projects__panel h2 {
    font-size: 3.25rem;
  }

  .about__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
  }

  .services__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.75rem;
  }

  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5rem;
  }

  .testimonials__grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
    gap: 5rem;
  }
}

/* FIX: logo (353px) + 7 links + dropdown arrow + 36px gaps need ~1120px. Tighten
   the gap only in the 1024-1179px band so the desktop nav fits; wider screens are
   unchanged. */
@media (min-width: 1024px) and (max-width: 1179.98px) {
  .header__nav {
    gap: 1rem;
  }
}

/* ==========================================================================
   Header — About Us dropdown (desktop) + sub-link (mobile) + current page
   ========================================================================== */

.header__drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.header__drop-toggle {
  display: flex;
  height: 1.5rem;
  width: 0.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  color: #000;
  cursor: pointer;
  transition: color 200ms;
}

.header__drop-toggle svg {
  transition: transform 300ms var(--ease);
}

.header__drop-menu {
  position: absolute;
  top: 100%;
  left: -1.5rem;
  min-width: 13rem;
  padding-top: 2.25rem; /* hover bridge down to the header's bottom edge */
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease),
    visibility 0s linear 300ms;
}

.header__drop-panel {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background-color: var(--background);
  padding-block: 0.5rem;
}

.header__nav .header__drop-panel a {
  padding: 0.75rem 1.5rem;
}

.header__drop[data-open="true"] .header__drop-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 300ms var(--ease),
    transform 300ms var(--ease),
    visibility 0s;
}

.header__drop[data-open="true"] .header__drop-toggle {
  color: var(--brass);
}

.header__drop[data-open="true"] .header__drop-toggle svg {
  transform: rotate(180deg);
}

@media (hover: hover) {
  .header__drop:hover .header__drop-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 300ms var(--ease),
      transform 300ms var(--ease),
      visibility 0s;
  }

  .header__drop:hover .header__drop-toggle {
    color: var(--brass);
  }

  .header__drop:hover .header__drop-toggle svg {
    transform: rotate(180deg);
  }
}

.header__mobile a.header__mobile-sub {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 1.25rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--muted-foreground);
}

.header__mobile a.header__mobile-sub::before {
  content: "";
  height: 1px;
  width: 0.875rem;
  background-color: var(--brass);
}

/* Current page (set on sub-pages only, so Home renders exactly as before) */
.header__nav a[aria-current="page"],
.header__drop[data-current="true"] > a,
.header__mobile a[aria-current="page"] {
  color: var(--brass);
}

/* ==========================================================================
   Sub-pages — shared building blocks (tokens and type scale from Home)
   ========================================================================== */

/* --- page hero: a shorter Home hero with breadcrumb bar ------------------ */

.page-hero {
  padding-top: 64px;
}

.page-hero__frame {
  position: relative;
  height: 58vh;
  min-height: 440px;
  overflow: hidden;
  background-color: var(--foreground);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  animation: page-hero-in 1400ms ease-out both;
}

@keyframes page-hero-in {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to top,
    rgba(48, 42, 37, 0.8),
    rgba(48, 42, 37, 0.3) 50%,
    rgba(48, 42, 37, 0.25)
  );
}

.page-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.25rem 5.5rem;
}

.page-hero__eyebrow {
  color: rgba(250, 250, 250, 0.75);
}

/* Titles use <br> for desktop line breaks; let them wrap naturally on phones. */
@media (max-width: 639.98px) {
  .page-hero__title br {
    display: none;
  }
}

.page-hero__title {
  margin-top: 1rem;
  max-width: 18ch;
  font-size: 2.4rem;
  line-height: 1.04;
  color: var(--white);
}

.page-hero__lede {
  margin-top: 1.25rem;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  font-weight: 500;
  color: #fff;
}

.page-hero__bar {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  border-top: 1px solid rgba(250, 250, 250, 0.2);
  backdrop-filter: blur(2px);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 1.25rem;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.75);
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.crumbs li + li::before {
  content: "/";
  color: rgba(250, 250, 250, 0.4);
}

.crumbs a {
  transition: color 200ms;
}

.crumbs a:hover {
  color: var(--white);
}

.crumbs [aria-current="page"] {
  color: var(--white);
}

/* --- sections & type ----------------------------------------------------- */

.section {
  position: relative;
  padding-block: 3rem;
}

.section--roomy {
  padding-block: 5rem;
}

.section--tint {
  background-color: rgba(221, 217, 210, 0.4);
}

.section--bark {
  overflow: hidden;
  background-color: var(--bark);
  color: #fff;
}

.section--bark .eyebrow {
  color: var(--sand);
}

.section-head {
  max-width: 44rem;
}

.section-head--row {
  display: grid;
  max-width: none;
  gap: 1.5rem;
}

.services__heading .eyebrow + h2 {
  margin-top: 1rem;
}

.text-link {
  color: var(--foreground);
  border-bottom: 1px solid var(--brass);
  transition: color 200ms;
}

.text-link:hover {
  color: var(--brass);
}

/* Same scale as .about__title / .services__heading h2 */
.title-lg {
  font-size: 2.15rem;
  line-height: 1.08;
  font-weight: 700;
}

/* Same scale as .shorts__title / .team__title (without nowrap) */
.title-md {
  font-size: 1.75rem;
  line-height: 1.1;
}

.eyebrow + .title-lg,
.eyebrow + .title-md {
  margin-top: 1rem;
}

.copy {
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--muted-foreground);
}

.section--bark .copy {
  color: rgba(255, 255, 255, 0.65);
}

.title-lg + .copy,
.title-md + .copy,
.copy + .copy {
  margin-top: 1.25rem;
}

.section-head + .pill,
.copy + .pill {
  margin-top: 2.25rem;
}

.stack-top {
  margin-top: 2.5rem;
}

.watermark {
  pointer-events: none;
  position: absolute;
  top: 2rem;
  right: 1.25rem;
  height: 9rem;
  width: auto;
  user-select: none;
}

/* --- split: media + copy ------------------------------------------------- */

.split {
  display: grid;
  align-items: center;
  gap: 2.5rem;
}

.media {
  overflow: hidden;
  background-color: var(--secondary);
}

.media img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.media--wide img {
  aspect-ratio: 4 / 3;
}

.media:hover img {
  transform: scale(1.03);
}

.ticks {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.875rem;
  max-width: 34rem;
}

.ticks li {
  display: flex;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--foreground);
}

.ticks li::before {
  content: "";
  margin-top: 0.8rem;
  height: 1px;
  width: 1rem;
  flex: none;
  background-color: var(--brass);
}

/* --- cards (light counterpart of .service) ------------------------------- */

.cards {
  display: grid;
  gap: 1.25rem;
}

.card {
  display: flex;
  height: 100%;
  flex-direction: column;
  background-color: var(--background);
  padding: 1.75rem;
  transition: transform 700ms ease-out;
}

.card:hover {
  transform: translateY(-4px);
}

.section:not(.section--tint) .card {
  background-color: rgba(221, 217, 210, 0.4);
}

.card__num {
  font-family: var(--font-display);
  font-size: 1.875rem;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--brass);
}

.card h3 {
  margin-top: 1.75rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.card__rule {
  margin-top: 1.25rem;
  height: 1px;
  width: 100%;
  background-color: var(--border);
}

.card p {
  margin-top: 1.25rem;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted-foreground);
}

.services--page .services__heading {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.services__heading .copy {
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

/* --- steps --------------------------------------------------------------- */

.steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 2rem 2.5rem;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.step__num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

.step h3 {
  margin-top: 0.875rem;
  font-size: 1.375rem;
  line-height: 1.25;
}

.step p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

/* Thin line icon above the step label (used on the Services page only) */
.step__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 1.25rem;
  fill: none;
  stroke: var(--foreground);
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step__icon * {
  vector-effect: non-scaling-stroke;
}

/* Thin line icons: Our Team cards, Contact Us details, About Us values */
.line-icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--foreground);
}

.line-icon * {
  vector-effect: non-scaling-stroke;
}

.details-grid .line-icon {
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 1rem;
}

.about-value .line-icon {
  margin-bottom: 1.25rem;
  color: #fff;
}

/* --- space types (links into Our Projects) ------------------------------- */

.types {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.type {
  position: relative;
  display: block;
  overflow: hidden;
  background-color: var(--foreground);
  color: var(--white);
}

.type img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.type:hover img {
  transform: scale(1.04);
}

.type__scrim {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to top,
    rgba(48, 42, 37, 0.85),
    rgba(48, 42, 37, 0.2) 55%,
    transparent
  );
}

.type__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.5rem;
}

.type__body .eyebrow {
  color: rgba(250, 250, 250, 0.7);
}

.type__body h3 {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.75rem;
}

.type__body h3 span {
  font-size: 1.25rem;
  color: var(--brass);
  transition: transform 500ms ease-out;
}

.type:hover .type__body h3 span {
  transform: translate(4px, -4px);
}

/* --- filters ------------------------------------------------------------- */

.filters {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.filter {
  height: 40px;
  padding-inline: 1.25rem;
  border: 1px solid var(--border);
  border-radius: 9999px;
  background: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--foreground);
  cursor: pointer;
  transition: all 500ms ease-out;
}

.filter:hover {
  border-color: var(--foreground);
}

.filter[aria-pressed="true"] {
  border-color: var(--foreground);
  background-color: var(--foreground);
  color: var(--background);
}

[data-category][hidden] {
  display: none !important;
}

/* --- project cards ------------------------------------------------------- */

.project-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 2.5rem 2rem;
}

.project__media {
  overflow: hidden;
  background-color: var(--secondary);
}

.project__media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.project:hover .project__media img {
  transform: scale(1.03);
}

.project__meta {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.project h3 {
  margin-top: 0.625rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.project p {
  margin-top: 0.625rem;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.empty-note {
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* --- blog ---------------------------------------------------------------- */

.post-feature {
  margin-top: 2.5rem;
  display: grid;
  align-items: center;
  gap: 2rem;
}

.post-feature .media img {
  aspect-ratio: 16 / 10;
}

.post-feature h2 {
  margin-top: 1rem;
}

.post-grid {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem 2rem;
}

.post__media {
  overflow: hidden;
  background-color: var(--secondary);
}

.post__media img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.post:hover .post__media img {
  transform: scale(1.03);
}

.post .eyebrow {
  margin-top: 1.25rem;
}

.post h3 {
  margin-top: 0.625rem;
  font-size: 1.375rem;
  line-height: 1.25;
}

.post p {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.post__time {
  margin-top: 1rem;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* --- FAQ accordion (native <details>) ------------------------------------ */

.faq-layout {
  display: grid;
  gap: 3rem;
}

.faq-aside .pill {
  margin-top: 2.25rem;
}

.faq-groups > * + * {
  margin-top: 3rem;
}

.faq-group > .eyebrow {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.375rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  cursor: pointer;
  list-style: none;
  transition: color 200ms;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  color: var(--bark);
}

.faq-item__icon {
  position: relative;
  margin-top: 0.3rem;
  height: 14px;
  width: 14px;
  flex: none;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: var(--brass);
  transition: transform 400ms var(--ease);
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: rotate(0deg);
}

.faq-item__body {
  max-width: 40rem;
  padding-bottom: 1.5rem;
  padding-right: 2.5rem;
  font-size: 0.875rem;
  line-height: 2;
  color: var(--muted-foreground);
}

.faq-item[open] .faq-item__body {
  animation: faq-open 500ms var(--ease);
}

@keyframes faq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- team page bios ------------------------------------------------------ */

.member .member__bio {
  margin-top: 1rem;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.9;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-foreground);
}

/* --- contact page details ------------------------------------------------ */

.details-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.details-grid div {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.details-grid dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.details-grid dd {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* --- CTA band (reuses the Contact section image + card) ------------------ */

.cta .contact__card {
  max-width: 620px;
}

.cta .pill {
  margin-top: 2rem;
}

/* --- sub-page breakpoints ------------------------------------------------ */

@media (min-width: 640px) {
  .page-hero__title {
    font-size: 3.25rem;
  }

  .title-md {
    font-size: 2.25rem;
  }

  .cards,
  .types,
  .project-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .details-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 96px;
  }

  .page-hero__frame {
    height: 62vh;
    min-height: 480px;
  }

  .page-hero__content {
    padding: 0 2.5rem 6.5rem;
  }

  .page-hero__title {
    font-size: 3.75rem;
  }

  .page-hero__lede {
    font-size: 1.125rem;
  }

  .crumbs {
    padding-inline: 2.5rem;
  }

  .section {
    padding-block: 4rem;
  }

  .section--roomy {
    padding-block: 7rem;
  }

  .title-lg {
    font-size: 3rem;
  }

  .title-md {
    font-size: 3rem;
  }

  .copy {
    font-size: 15px;
  }

  .watermark {
    right: 2.5rem;
    height: 12rem;
  }

  .card {
    padding: 2.25rem;
  }

  .card h3 {
    font-size: 1.75rem;
  }

  .faq-item summary {
    font-size: 1.375rem;
    padding-block: 1.625rem;
  }

  .faq-item__body {
    font-size: 15px;
  }

  .project h3 {
    font-size: 1.75rem;
  }

  .details-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .page-hero__title {
    font-size: 4.5rem;
  }

  .title-lg,
  .title-md {
    font-size: 3.25rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .split--reverse > :first-child {
    order: 2;
  }

  .section-head--row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cards--3,
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .types {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-feature {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
  }

  .faq-layout {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 5rem;
  }

  .faq-aside {
    position: sticky;
    top: 136px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__img,
  .faq-item[open] .faq-item__body {
    animation: none;
  }

  .media img,
  .type img,
  .project__media img,
  .post__media img {
    transition: none;
  }

  .media:hover img,
  .type:hover img,
  .project:hover .project__media img,
  .post:hover .post__media img {
    transform: none;
  }
}

/* ==========================================================================
   About Us page — story, name, design approach, values, closing
   (classes are prefixed "about-" and used on about/index.html only)
   ========================================================================== */

.about-name__mark {
  display: flex;
  aspect-ratio: 16 / 11;
  width: 100%;
  max-width: 34rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-block: 1.25rem;
  background-color: rgba(255, 255, 255, 0.045);
  color: var(--brass);
}

.about-name__mark svg {
  width: 18%;
  flex: none;
  height: auto;
  transition: transform 1600ms ease-out;
}

/* Photo fills the space left under the logo, so the box keeps its size */
.about-name__photo {
  flex: 1 1 0;
  min-height: 0;
  width: calc(100% - 2.5rem);
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.045);
}

.about-name__photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 62%;
  transition: transform 1200ms ease-out;
}

.about-name__photo:hover img {
  transform: scale(1.03);
}

.about-name__mark:hover svg {
  transform: translateY(-6px) scale(1.02);
}

.section--bark .about-name__mark .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.section--bark .copy em {
  font-style: italic;
  color: #fff;
}

.about-approach {
  display: grid;
  gap: 3rem;
}

.about-steps {
  margin-top: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.about-step {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-block: 1.5rem;
}

.about-step__num {
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.35;
  letter-spacing: -0.025em;
  color: var(--brass);
}

.about-step h3 {
  font-size: 1.375rem;
  line-height: 1.3;
}

.about-step p {
  margin-top: 0.5rem;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.about-values {
  margin-top: 3rem;
  display: grid;
  gap: 2.5rem 3rem;
}

.about-value {
  height: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1.5rem;
}

.about-value__num {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sand);
}

.about-value h3 {
  margin-top: 1rem;
  font-size: 1.55rem;
  line-height: 1.25;
}

.about-value p {
  margin-top: 1rem;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.about-closing {
  margin-inline: auto;
  display: flex;
  max-width: 52rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-closing__statement {
  margin-top: 1.25rem;
  text-wrap: balance;
  font-family: var(--font-display);
  font-size: 1.9rem;
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.about-closing__rule {
  margin-top: 2rem;
  height: 1px;
  width: 4rem;
  background-color: var(--brass);
}

.about-closing .pill {
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .about-step {
    grid-template-columns: 4rem minmax(0, 1fr);
    padding-block: 1.75rem;
  }

  .about-step h3 {
    font-size: 1.5rem;
  }

  .about-step p {
    font-size: 15px;
  }

  .about-value h3 {
    font-size: 1.75rem;
  }

  .about-closing__statement {
    font-size: 2.6rem;
  }
}

@media (min-width: 1024px) {
  .about-approach {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 5rem;
  }

  .about-approach__media {
    position: sticky;
    top: 136px;
  }

  .about-name__mark {
    aspect-ratio: 1 / 1;
    gap: 2rem;
    padding-block: 2rem;
  }

  .about-name__mark svg {
    width: 36%;
  }

  .about-name__photo {
    width: calc(100% - 4rem);
  }

  .about-values {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-closing__statement {
    font-size: 3.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-name__mark svg,
  .about-name__photo img {
    transition: none;
  }

  .about-name__mark:hover svg,
  .about-name__photo:hover img {
    transform: none;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

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

  .shorts__track {
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .about__art img,
  .short__media img,
  .member__media img,
  .projects__link span:last-child {
    transition: none;
  }

  .about__art:hover img,
  .short:hover .short__media img,
  .member:hover .member__media img,
  .projects__link:hover span:last-child {
    transform: none;
  }
}

/* --- video lightbox (Shorts) --------------------------------------------- */

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.video-lightbox[hidden] {
  display: none;
}

.video-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 12, 0.85);
}

.video-lightbox__frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
}

.video-lightbox__embed,
.video-lightbox__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 4px;
}

.video-lightbox__close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  width: 2rem;
  height: 2rem;
  border: none;
  background: transparent;
  color: var(--background);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.team__photo {
  margin: 2rem auto 0;
  max-width: 60rem;
  overflow: hidden;
  background-color: var(--secondary);
}

.team__photo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .team__photo {
    margin-top: 3rem;
  }
}

.details-grid a,
.contact__details a {
  color: inherit;
  text-decoration: none;
  transition: color 300ms;
}

.details-grid a:hover,
.contact__details a:hover {
  color: var(--brass);
}

/* Privacy Policy page */
.legal {
  max-width: 52rem;
}

.legal__updated {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.legal__block {
  margin-top: 2.5rem;
}

.legal__block h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal__block .copy,
.legal__block ul {
  margin-top: 0.875rem;
}

.legal__block ul {
  padding-left: 1.25rem;
  list-style: disc;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}

.legal__block li + li {
  margin-top: 0.375rem;
}

.legal a {
  color: var(--brass);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--foreground);
}

.legal .copy {
  max-width: none;
}

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  z-index: 40;
}

.whatsapp-fab img {
  width: 100%;
  height: 100%;
  display: block;
}
