/*
Theme Name: BOD-04
Author: Creotopi
Description: Board of Designers. A monochrome editorial architecture theme, rebuilt around the Northline reference and BOD's existing content.
Version: 4.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: bod
*/
@font-face {
  font-family: "Space Mono";
  src: url("assets/luxury/space-mono-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("assets/luxury/space-mono-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Mono";
  src: url("assets/luxury/dm-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #030303;
  --ink: #ffffff;
  --muted: #a3a3a3;
  --line: #333333;
  --field: #141414;
  --accent: #ffffff;
  --gutter: 40px;
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Funnel Display", sans-serif;
  font-size: 20px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
input,
button,
textarea,
select {
  font-family: "Funnel Display", sans-serif;
}

body {
  transition:
    background-color 0.35s,
    color 0.35s;
}

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
}

h1,
h2 {
  font-weight: 700;
}

h3 {
  font-weight: 400;
}

i,
em {
  font-style: normal;
}

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

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

button,
a,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

button {
  border-radius: 0;
}

a,
button {
  touch-action: manipulation;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

[hidden] {
  display: none !important;
}

.sr-only,
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: var(--ink);
  color: var(--bg);
  padding: 12px 20px;
}

.skip-link:focus {
  top: 15px;
}

.bod-shell {
  width: 100%;
  max-width: 1800px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.bod-section {
  padding-block: 100px;
}

.bod-section-heading {
  font-size: clamp(40px, 6.25vw, 100px);
  text-transform: uppercase;
  letter-spacing: normal;
  margin-bottom: 100px;
  overflow-wrap: anywhere;
}

.bod-section-heading.reveal {
  transition:
    opacity 1s var(--ease),
    transform 1.2s var(--ease);
}

.bod-section-heading.reveal-pending {
  transform: translateX(-40px);
}

.bod-button {
  font-family: "Funnel Display", sans-serif;
  letter-spacing: 0.05em;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.3s;
}

.bod-button:hover {
  background: var(--ink);
  color: var(--bg);
}

.bod-link {
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  font-size: 16px;
  text-transform: uppercase;
}

.bod-link:hover {
  color: var(--accent);
}

.bod-center {
  display: flex;
  justify-content: center;
  margin-top: 90px;
}

.bod-eyebrow {
  display: block;
  font-size: 16px;
  line-height: 1.5;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.85s var(--ease),
    transform 1s var(--ease);
}

.reveal-pending {
  opacity: 0;
  transform: translateY(36px);
}

/* The reference's simple fixed navigation and theme control. */
.bod-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: var(--bg);
  transition:
    background-color 0.35s,
    color 0.35s;
}

.home .bod-header:not(.scrolled) {
  background: transparent;
  color: #ffffff;
}

.bod-header.scrolled {
  background: var(--bg);
}

.bod-header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-inline: var(--gutter);
  max-width: 1800px;
  margin: auto;
}

.bod-brand {
  font-size: 30px;
  line-height: 1.2;
  white-space: nowrap;
  flex: 1.115;
}

.bod-brand img {
  width: auto;
  height: 44px;
  max-width: 210px;
  object-fit: contain;
}

.bod-nav,
.bod-nav-list {
  display: flex;
  align-items: center;
  gap: 44px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.bod-nav a {
  font-size: 20px;
  text-transform: uppercase;
  position: relative;
}

.bod-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.bod-nav a:hover::after,
.bod-nav a:focus-visible::after {
  transform: scaleX(1);
}

.bod-header-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex: 0.885;
}

.bod-menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 44px;
  padding: 8px;
}

.bod-menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.bod-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.bod-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.bod-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.bod-mobile-nav {
  background: var(--bg);
  color: var(--ink);
  padding: 30px var(--gutter) 40px;
  border-bottom: 1px solid var(--line);
  max-height: calc(100svh - 70px);
  overflow: auto;
}

.bod-mobile-nav a {
  display: block;
  font-size: 28px;
  text-transform: uppercase;
  padding: 10px 0;
}

.bod-mobile-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Full-bleed video background hero matching reference */
.bod-hero {
  height: 100svh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

.bod-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.bod-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bod-hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 15vh;
  padding-bottom: 2rem;
}

.bod-hero-stats {
  padding-inline: var(--gutter);
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.bod-stats-glass {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 4px;
}

.bod-avatars {
  display: flex;
}

.bod-avatars .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #333;
  border: 2px solid #000;
  margin-left: -10px;
}

.bod-avatars .avatar:first-child {
  margin-left: 0;
}

.bod-stats-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bod-stats-text .stars {
  font-size: 12px;
  margin-bottom: 2px;
  letter-spacing: 0.2em;
}

.bod-hero-main-title {
  padding-inline: var(--gutter);
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.bod-hero-main-title h1 {
  font-size: clamp(80px, 16vw, 300px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0;
  white-space: nowrap;
  font-weight: 800;
}

.bod-hero-main-title .outline {
  color: transparent;
  -webkit-text-stroke: 2px #fff;
  text-stroke: 2px #fff;
}

.bod-studio {
  padding-top: 64px;
  padding-bottom: 170px;
}

.bod-studio-copy {
  font-size: clamp(24px, 3.125vw, 50px);
  line-height: 1.12;
  max-width: calc(100% - 80px);
  letter-spacing: -0.025em;
  margin-bottom: 120px;
}

.bod-studio-copy p+p {
  margin-top: 1em;
}

.bod-studio-signoff {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-size: 20px;
  line-height: 1.6;
  text-transform: uppercase;
}

.bod-studio-signoff .bod-link {
  margin-top: 30px;
}

.bod-work {
  padding-top: 100px;
}

.bod-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 20px;
}

.bod-project-card {
  display: block;
  min-width: 0;
}

.bod-project-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--field);
}

.bod-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 1.1s var(--ease),
    filter 0.6s;
  transform: scale(1.01);
}

.bod-project-card:hover .bod-project-image img {
  transform: scale(1.055);
}

.bod-project-info {
  padding-top: 22px;
  text-transform: uppercase;
}

.bod-project-info h3 {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.bod-project-info p {
  font-size: 20px;
  margin-top: 8px;
}

.bod-project-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: #f2f0ea;
  color: #111;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    transform 0.5s var(--ease);
}

.bod-project-card:hover .bod-project-arrow,
.bod-project-card:focus-visible .bod-project-arrow {
  opacity: 1;
  transform: none;
}

.bod-image-pending {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--muted);
  font-size: 16px;
}

.bod-service-list {
  padding-inline: 20px;
}

.bod-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 80px;
  padding: 20px 0 40px;
  min-height: 294px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.bod-service-row:last-child {
  margin-bottom: 0;
}

.bod-service-row h3 {
  font-size: 28px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.bod-service-row p {
  font-size: 20px;
  line-height: 1.6;
  text-transform: uppercase;
  max-width: 500px;
}

.bod-service-row .bod-link {
  display: inline-block;
  margin-top: 24px;
}

.bod-service-row img {
  width: 316px;
  height: 244px;
  object-fit: cover;
  border-radius: 8px;
}

.bod-note-stack {
  max-width: 1100px;
  margin: auto;
  display: grid;
  gap: 100px;
}

.bod-note {
  height: 650px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #f2f0ea;
  isolation: isolate;
}

.bod-note::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.bod-note>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bod-note-content {
  text-align: center;
  max-width: 660px;
  padding: 30px;
  text-transform: uppercase;
}

.bod-note-content p {
  font-size: 20px;
  line-height: 1.6;
}

.bod-note-content>div {
  margin-top: 64px;
}

.bod-note-content span {
  font-size: 20px;
  font-weight: 700;
}

.bod-note-content h3 {
  font-size: 30px;
  font-weight: 700;
  margin-top: 8px;
}

.bod-enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 90px 30px 60px;
}

.bod-enquiry-grid h2 {
  font-size: clamp(44px, 6.25vw, 90px);
  line-height: 1.2;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.bod-enquiry-grid p {
  font-size: 20px;
  text-transform: uppercase;
  line-height: 1.6;
}

.bod-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 16px;
}

.bod-form label,
.wpcf7 label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

.bod-form input,
.bod-form textarea,
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  display: block;
  width: 100%;
  margin-top: 10px;
  background: var(--field);
  border: 1px solid transparent;
  border-radius: 4px;
  min-height: 48px;
  padding: 14px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.bod-form input:focus,
.bod-form textarea:focus {
  border-color: var(--muted);
  outline-offset: 2px;
}

.bod-form textarea {
  resize: vertical;
  min-height: 166px;
}

.bod-form-wide {
  grid-column: 1/-1;
}

.bod-form .bod-button,
.wpcf7 input[type="submit"] {
  width: 100%;
  background: #b84b3b;
  border: 1px solid #b84b3b;
  color: #fff;
  font-size: 16px;
  text-transform: none;
  min-height: 50px;
}

.bod-form .bod-button:hover,
.wpcf7 input[type="submit"]:hover {
  background: #993b2e;
  border-color: #993b2e;
}

.bod-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bod-form-notice {
  padding: 18px;
  border: 1px solid var(--accent);
  margin-bottom: 24px;
  font-size: 16px !important;
  text-transform: none !important;
}

.wpcf7 p {
  margin-bottom: 22px;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 13px;
}

.bod-footer {
  padding: 80px 0 24px;
  border-top: 1px solid var(--line);
}

.bod-footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 0 30px 80px;
}

.bod-social {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
  font-size: 16px;
}

.bod-social a:hover {
  color: var(--accent);
}

.bod-footer-contact p {
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.6;
}

.bod-footer-contact p:last-child {
  margin-top: 30px;
  max-width: 540px;
}

.bod-footer-email {
  display: inline-block;
  font-size: clamp(20px, 2.5vw, 36px);
  letter-spacing: -0.05em;
  margin-top: 16px;
  overflow-wrap: anywhere;
}

.bod-footer-email:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.bod-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
}

/* Interior pages share the same editorial system. */
.bod-page-hero {
  padding: 170px var(--gutter) 76px;
  text-align: center;
}

.bod-page-hero .bod-shell {
  padding: 0;
}

.bod-page-hero h1 {
  font-size: clamp(44px, 6.25vw, 100px);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: normal;
  margin-bottom: 55px;
  overflow-wrap: anywhere;
}

.bod-page-hero p {
  max-width: 850px;
  margin: auto;
  text-transform: uppercase;
}

.bod-page-subtitle {
  font-size: 28px !important;
}

.bod-page-hero+.bod-section {
  padding-top: 0;
}

.bod-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-bottom: 55px;
}

.bod-filter button {
  border: 0;
  background: none;
  padding: 8px 0;
  text-transform: uppercase;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
}

.bod-filter button.active {
  border-color: var(--ink);
  color: var(--ink);
}

.bod-load-more {
  margin-top: 60px;
  text-align: center;
}

.bod-prose {
  max-width: 960px;
}

.bod-prose p {
  margin-bottom: 1.5em;
}

.bod-prose a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.bod-prose h2,
.bod-prose h3 {
  margin-block: 1em 0.5em;
}

.bod-prose img {
  height: auto;
}

.bod-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 60px;
}

.bod-section-tag {
  text-transform: uppercase;
  font-size: 16px;
  color: var(--muted);
}

.bod-lead {
  font-size: 24px;
  max-width: 800px;
}

.bod-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding-block: 100px;
}

.bod-value h3 {
  font-size: 32px;
  text-transform: uppercase;
  margin: 20px 0;
}

.bod-value p {
  font-size: 20px;
}

.bod-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.bod-team-card img {
  aspect-ratio: 3/4;
  object-fit: cover;
  width: 100%;
  filter: grayscale(1);
}

.bod-team-card h3 {
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 20px;
}

.bod-team-card p {
  font-size: 16px;
  color: var(--muted);
}

.bod-contact-list {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
  margin-top: 80px;
  padding: 50px 30px;
  border-top: 1px solid var(--line);
}

.bod-contact-list strong {
  font-size: 14px;
  display: block;
  margin-bottom: 18px;
  text-transform: uppercase;
  color: var(--muted);
}

.bod-contact-list p,
.bod-contact-list a {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.bod-contact-list a {
  display: block;
}

.bod-project-detail-intro {
  padding: 150px 30px 75px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.bod-project-detail-intro h1 {
  font-size: clamp(44px, 5vw, 80px);
  letter-spacing: normal;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bod-project-detail-intro .bod-eyebrow {
  margin-bottom: 20px;
}

.bod-project-facts {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px 40px;
}

.bod-project-facts dt {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.bod-project-facts dd {
  margin: 0;
  font-size: 20px;
  text-transform: uppercase;
}

.bod-project-cover {
  width: 100%;
  height: 80vh;
  min-height: 400px;
  max-height: 1000px;
  object-fit: cover;
}

.bod-project-copy:empty {
  display: none;
}

.bod-project-copy {
  margin-bottom: 70px;
}

.bod-project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 70px;
}

.bod-project-gallery a:first-child {
  grid-column: 1/-1;
}

.bod-project-gallery img {
  width: 100%;
  height: 100%;
  max-height: 1000px;
  object-fit: cover;
}

.bod-gallery-link {
  display: block;
  overflow: hidden;
}

.bod-gallery-link img {
  transition: transform 1s var(--ease);
}

.bod-gallery-link:hover img {
  transform: scale(1.02);
}

.bod-lightbox {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  max-width: 94vw;
  max-height: 94vh;
  padding: 40px 20px 20px;
}

.bod-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}

.bod-lightbox img {
  max-width: 85vw;
  max-height: 75vh;
  width: auto;
  object-fit: contain;
  margin: auto;
}

.bod-lightbox p {
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
}

.bod-lightbox button {
  position: absolute;
  right: 10px;
  top: 0;
  background: transparent;
  border: 0;
  font-size: 32px;
  width: 44px;
  height: 40px;
}

.bod-empty {
  padding: 80px 0;
  font-size: 24px;
}

.bod-empty h2 {
  font-size: clamp(36px, 5vw, 70px);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.bod-empty .bod-button {
  margin-top: 30px;
}

.bod-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.bod-callout h2 {
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
}

.bod-journal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 30px;
}

.bod-journal-card h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.bod-journal-card p {
  font-size: 18px;
}

.bod-journal-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  margin-bottom: 25px;
}

.navigation.pagination {
  margin-top: 60px;
}

.page-numbers {
  display: inline-block;
  padding: 8px 12px;
}

.page-numbers.current {
  border-bottom: 1px solid;
}

.search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.search-form input {
  padding: 12px;
  background: var(--field);
  border: 1px solid var(--line);
  color: var(--ink);
  max-width: 100%;
}

.search-form label {
  max-width: 100%;
}

.comment-form input,
.comment-form textarea {
  background: var(--field);
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--ink);
  max-width: 100%;
}

.comment-form label {
  display: block;
}

.admin-bar .bod-header {
  top: 32px;
}

@media (min-width: 1600px) {
  .bod-hero-intro {
    right: max(30px, calc((100vw - 1740px) / 2));
  }

  .bod-hero-wordmark {
    left: max(30px, calc((100vw - 1740px) / 2));
  }

  .bod-service-row {
    grid-template-columns: 1fr 26%;
  }

  .bod-service-row img {
    width: 100%;
  }
}

@media (max-width: 1100px) {

  .bod-nav,
  .bod-nav-list {
    gap: 24px;
  }

  .bod-brand {
    font-size: 26px;
  }

  .bod-nav a {
    font-size: 17px;
  }

  .bod-service-row {
    gap: 40px;
    grid-template-columns: 1fr 30%;
  }

  .bod-service-row img {
    width: 100%;
  }

  .bod-enquiry-grid {
    padding-inline: 0;
  }

  .bod-enquiry-grid h2 {
    font-size: 56px;
  }

  .bod-team {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .bod-nav {
    display: none;
  }

  .bod-brand {
    flex: 1;
  }

  .bod-header-controls {
    flex: 0;
  }

  .bod-menu-toggle {
    display: block;
  }

  .bod-header-inner {
    gap: 20px;
  }

  .bod-hero-intro {
    width: 58%;
    top: 18%;
  }

  .bod-hero-intro p {
    font-size: 17px;
  }

  .bod-hero-wordmark {
    font-size: 14vw;
    bottom: 70px;
  }

  .bod-section {
    padding-block: 80px;
  }

  .bod-section-heading {
    margin-bottom: 70px;
  }

  .bod-studio-copy {
    max-width: 100%;
    margin-bottom: 70px;
    font-size: 30px;
    line-height: 1.25;
  }

  .bod-studio {
    padding-bottom: 90px;
  }

  .bod-project-info h3 {
    font-size: 24px;
  }

  .bod-project-info p {
    font-size: 16px;
  }

  .bod-service-list {
    padding: 0;
  }

  .bod-service-row h3 {
    font-size: 24px;
  }

  .bod-service-row p {
    font-size: 16px;
  }

  .bod-service-row img {
    height: 210px;
  }

  .bod-note {
    height: 600px;
  }

  .bod-enquiry-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-block: 20px 30px;
  }

  .bod-enquiry-grid h2 {
    font-size: 64px;
  }

  .bod-enquiry-grid p {
    max-width: 640px;
  }

  .bod-footer-main {
    padding-inline: 0;
  }

  .bod-footer-contact p {
    font-size: 14px;
  }

  .bod-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bod-contact-list {
    grid-template-columns: 1fr 1fr;
    padding-inline: 0;
  }

  .bod-contact-list>div:first-child {
    grid-column: 1/-1;
  }

  .bod-project-detail-intro {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .bod-project-cover {
    height: 65vh;
  }

  .bod-values {
    gap: 40px;
  }

  .bod-page-hero {
    padding-top: 135px;
  }

  .admin-bar .bod-header {
    top: 46px;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 16px;
  }

  .bod-header-inner {
    height: 72px;
    gap: 12px;
  }

  .bod-brand {
    font-size: 21px;
  }

  .bod-brand img {
    max-width: 150px;
    height: 36px;
  }

  .bod-header-controls {
    gap: 10px;
  }

  .bod-theme-toggle {
    width: 76px;
    height: 44px;
    padding: 4px;
  }

  .bod-theme-knob {
    width: 34px;
    height: 34px;
  }

  .bod-theme-knob svg {
    width: 20px;
    height: 20px;
  }

  :root[data-theme="light"] .bod-theme-knob {
    transform: translateX(-32px);
  }

  .bod-hero {
    height: 100svh;
    min-height: 640px;
    max-height: 1000px;
  }

  .bod-hero-image {
    object-position: 42% center;
  }

  .bod-hero-intro {
    width: calc(100% - 32px);
    top: 155px;
  }

  .bod-hero-intro p {
    font-size: 14px;
    line-height: 1.6;
  }

  .bod-hero-intro .bod-button {
    margin-top: 44px;
    font-size: 16px;
    min-height: 50px;
  }

  .bod-hero-wordmark {
    font-size: 14.6vw;
    letter-spacing: normal;
    bottom: 120px;
  }

  .bod-section {
    padding-block: 65px;
  }

  .bod-section-heading {
    font-size: clamp(32px, 8.9vw, 52px);
    letter-spacing: normal;
    margin-bottom: 55px;
  }

  .bod-studio-copy {
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.025em;
    margin-bottom: 55px;
  }

  .bod-studio-signoff {
    font-size: 16px;
  }

  .bod-studio-signoff .bod-link {
    font-size: 14px;
  }

  .bod-projects {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bod-project-info {
    padding-top: 18px;
  }

  .bod-project-info h3 {
    font-size: 24px;
  }

  .bod-project-info p {
    font-size: 16px;
  }

  .bod-project-arrow {
    width: 42px;
    height: 42px;
    font-size: 24px;
    right: 14px;
    bottom: 14px;
  }

  .bod-center {
    margin-top: 55px;
  }

  .bod-service-row {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 35px;
    margin-bottom: 35px;
  }

  .bod-service-row h3 {
    font-size: 23px;
    margin-bottom: 20px;
  }

  .bod-service-row p {
    font-size: 16px;
    line-height: 1.6;
  }

  .bod-service-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
  }

  .bod-note-stack {
    gap: 40px;
  }

  .bod-note {
    height: auto;
    min-height: 580px;
  }

  .bod-note-content {
    padding: 30px 22px;
  }

  .bod-note-content p {
    font-size: 16px;
  }

  .bod-note-content>div {
    margin-top: 45px;
  }

  .bod-note-content span {
    font-size: 14px;
  }

  .bod-note-content h3 {
    font-size: 26px;
  }

  .bod-enquiry-grid h2 {
    font-size: clamp(40px, 10.8vw, 64px);
  }

  .bod-enquiry-grid p {
    font-size: 16px;
  }

  .bod-enquiry-grid {
    gap: 40px;
    padding: 10px 0 0;
  }

  .bod-form {
    gap: 24px 12px;
  }

  .bod-form input,
  .bod-form textarea {
    font-size: 16px;
    padding: 12px;
  }

  .bod-footer {
    padding-top: 50px;
  }

  .bod-footer-main {
    grid-template-columns: 1fr;
    gap: 55px;
    padding-bottom: 60px;
  }

  .bod-social {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 14px;
  }

  .bod-footer-email {
    font-size: 24px;
  }

  .bod-footer-bottom {
    flex-direction: column;
    gap: 12px;
    font-size: 11px;
  }

  .bod-page-hero {
    padding-top: 130px;
    padding-bottom: 55px;
  }

  .bod-page-hero h1 {
    font-size: clamp(36px, 10vw, 58px);
    margin-bottom: 35px;
  }

  .bod-page-hero p {
    font-size: 16px;
  }

  .bod-page-subtitle {
    font-size: 20px !important;
  }

  .bod-filter {
    gap: 10px 22px;
    margin-bottom: 40px;
  }

  .bod-filter button {
    font-size: 13px;
  }

  .bod-prose {
    font-size: 18px;
  }

  .bod-values {
    grid-template-columns: 1fr;
    padding-block: 45px;
  }

  .bod-value h3 {
    font-size: 28px;
  }

  .bod-value p {
    font-size: 18px;
  }

  .bod-team {
    gap: 35px 16px;
  }

  .bod-team-card h3 {
    font-size: 18px;
  }

  .bod-team-card p {
    font-size: 13px;
  }

  .bod-contact-list {
    grid-template-columns: 1fr;
    margin-top: 45px;
    padding-top: 35px;
  }

  .bod-contact-list>div:first-child {
    grid-column: auto;
  }

  .bod-project-detail-intro {
    padding: 125px 16px 55px;
    gap: 40px;
  }

  .bod-project-detail-intro h1 {
    font-size: 42px;
  }

  .bod-project-facts {
    gap: 25px 20px;
  }

  .bod-project-facts dt {
    font-size: 12px;
  }

  .bod-project-facts dd {
    font-size: 16px;
  }

  .bod-project-cover {
    height: 65svh;
    min-height: 350px;
  }

  .bod-project-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bod-project-gallery a:first-child {
    grid-column: auto;
  }

  .bod-project-gallery img {
    height: auto;
  }

  .bod-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .bod-journal-grid {
    grid-template-columns: 1fr;
  }

  .bod-empty {
    font-size: 18px;
  }

  .admin-bar .bod-header {
    position: absolute;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-pending {
    opacity: 1;
    transform: none;
  }
}

@media print {

  .bod-header,
  .bod-theme-toggle,
  .bod-menu-toggle,
  .bod-form,
  .bod-footer {
    display: none;
  }

  .reveal-pending {
    opacity: 1;
    transform: none;
  }

  body {
    background: white;
    color: black;
    font-size: 12px;
  }

  .bod-section {
    padding: 25px 0;
  }

  .bod-hero {
    height: 500px;
    min-height: 0;
  }

  .bod-section-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }
}

/* Preloader */
.bod-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease), visibility 0.5s var(--ease);
}

.bod-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bod-preloader img {
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* Partners Marquee Slider */
.bod-partners {
  padding-block: 60px;
  overflow: hidden;
  background-color: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bod-partners-slider {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.bod-partners-track {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
  flex-shrink: 0;
  animation: marquee 25s linear infinite;
}

.bod-partners-track img {
  filter: grayscale(100%) opacity(50%);
  transition: filter 0.3s var(--ease);
  width: auto;
  height: 40px;
}

.bod-partners-track img:hover {
  filter: grayscale(0%) opacity(100%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}