:root {
  --ink: #111111;
  --charcoal: #2f2d2b;
  --stone: #f6f4f0;
  --pearl: #fbfaf8;
  --taupe: #d8cec6;
  --mauve: #bdb3b5;
  --sage: #8f968a;
  --line: #ded8d1;
  --shadow: 0 24px 70px rgba(30, 26, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pearl);
  color: var(--charcoal);
  font-family: Georgia, "Times New Roman", serif;
}

img,
video {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(251, 250, 248, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
}

.brand img {
  display: block;
  width: 128px;
  height: 74px;
  object-fit: cover;
  object-position: 52% 38%;
  mix-blend-mode: multiply;
}

.nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 32px);
  font-size: 15px;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
}

.nav a:hover {
  color: var(--sage);
}

.header-socials {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-social,
.header-phone {
  display: inline-flex;
  flex: 0 0 38px;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-phone {
  text-decoration: none;
}

.header-social:hover,
.header-phone:hover {
  border-color: var(--sage);
  background: white;
  color: var(--sage);
  transform: translateY(-1px);
}

.header-social img,
.header-phone img {
  display: block;
  width: 19px !important;
  height: 19px !important;
  max-width: 19px;
  max-height: 19px;
  object-fit: contain;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 80px) 8vh;
  background: var(--stone);
}

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

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 250, 248, 0.56), rgba(251, 250, 248, 0.2) 43%, rgba(251, 250, 248, 0.02));
}

.hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--sage);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(76px, 12vw, 170px);
  font-weight: 400;
  line-height: 0.9;
}

h2 {
  margin: 0;
  color: #332f2c;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 400;
  line-height: 1.08;
}

.script-heading {
  font-family: "Palace Script MT", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.95;
}

h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  line-height: 1.02;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  margin: 12px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
  overflow-wrap: break-word;
}

.hero-actions,
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.button-dark {
  background: var(--ink);
  color: white;
}

.button-light {
  background: rgba(255, 255, 255, 0.54);
  color: var(--ink);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}

.intro-item {
  min-height: 124px;
  padding: 28px clamp(18px, 4vw, 52px);
  border-right: 1px solid var(--line);
}

.intro-item:last-child {
  border-right: 0;
}

.intro-item span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.intro-item strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
}

.section {
  padding: clamp(70px, 9vw, 132px) clamp(20px, 6vw, 80px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(38px, 7vw, 100px);
  align-items: start;
}

.prose p,
.enquiry-intro p,
.service-card p,
.testimonial-copy p {
  margin: 0;
  color: #5d5854;
  font-size: 18px;
  line-height: 1.7;
}

.prose p + p {
  margin-top: 20px;
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1.28fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  background: linear-gradient(120deg, #fbfaf8, #f1ece7);
  border-top: 1px solid var(--line);
}

.founder-image-wrap {
  position: relative;
  width: min(430px, 100%);
  justify-self: center;
}

.founder-image-wrap::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--taupe);
  border-radius: 8px;
}

.founder-image-wrap img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 38%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.founder-copy {
  max-width: 760px;
}

.founder-copy .prose {
  margin-top: 24px;
}

.portfolio-hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 116px clamp(20px, 6vw, 80px) 6vh;
  background: #111;
}

.portfolio-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.portfolio-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.74), rgba(17, 17, 17, 0.16) 48%, rgba(17, 17, 17, 0.08));
}

.portfolio-hero-content {
  position: relative;
  width: 100%;
  max-width: 760px;
  color: white;
}

.portfolio-hero-content .eyebrow,
.portfolio-hero-content h1,
.portfolio-hero-content p {
  color: white;
}

.portfolio-hero-content h1 {
  font-size: clamp(64px, 9vw, 126px);
}

.portfolio-hero-content p {
  width: 100%;
  max-width: 620px;
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.portfolio-hero-content .button {
  margin-top: 28px;
}

.portfolio-review-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.68fr) minmax(340px, 1fr);
  min-height: 320px;
  background: #ddd4cd;
}

.portfolio-review-section + .portfolio-review-section {
  border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.portfolio-review-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  height: clamp(260px, 26vw, 330px);
  min-height: 0;
  padding: clamp(12px, 2vw, 28px);
  overflow: visible;
  background: transparent;
}

.portfolio-review-image::after {
  display: none;
}

.portfolio-review-image img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center 52%;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 26, 23, 0.16);
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.portfolio-review-image-pair {
  flex-direction: row;
  height: auto;
  gap: clamp(16px, 2vw, 24px);
  padding-top: clamp(22px, 3vw, 38px);
  padding-bottom: clamp(22px, 3vw, 38px);
}

.portfolio-review-image-pair img {
  width: auto;
  height: clamp(170px, 16vw, 235px);
  max-width: calc((100% - clamp(16px, 2vw, 24px)) / 2);
  max-height: none;
}

.portfolio-review-image-pair-tall img {
  height: clamp(220px, 23vw, 310px);
}

.portfolio-review-image img:hover,
.portfolio-review-image:focus-within img {
  transform: translateY(-4px) scale(1.025);
  box-shadow: 0 24px 58px rgba(30, 26, 23, 0.2);
}

.portfolio-review-image-portrait img {
  object-position: center 42%;
}

.portfolio-review-image-door img,
.portfolio-review-image-woodland img {
  object-position: center 38%;
}

.portfolio-review-image-garden img {
  object-position: center 44%;
}

.portfolio-review-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(26px, 4vw, 52px);
}

.portfolio-review-copy blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(19px, 2.2vw, 30px);
  line-height: 1.32;
}

.portfolio-review-copy-long blockquote {
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.45;
}

.portfolio-review-copy blockquote p {
  margin: 0;
}

.portfolio-review-copy blockquote p + p {
  margin-top: 14px;
}

.portfolio-review-copy > p:last-child {
  margin: 16px 0 0;
  color: #5d5854;
  font-size: 14px;
  line-height: 1.6;
}

.portfolio-gallery-section {
  background: #f1efec;
  border-top: 1px solid var(--line);
}

.portfolio-gallery-intro {
  width: min(880px, 100%);
  margin-bottom: clamp(28px, 5vw, 52px);
}

.portfolio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(74px, 7vw, 116px);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.6vw, 22px);
}

.portfolio-tile {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ded8d1;
  box-shadow: 0 18px 50px rgba(30, 26, 23, 0.12);
}

.portfolio-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.portfolio-tile:hover img {
  transform: scale(1.025);
}

.tile-wide {
  grid-column: span 8;
  grid-row: span 4;
}

.tile-landscape {
  grid-column: span 7;
  grid-row: span 5;
}

.tile-portrait {
  grid-column: span 4;
  grid-row: span 6;
}

.tile-small {
  grid-column: span 4;
  grid-row: span 3;
}

.tile-focus-door img,
.tile-focus-woodland img {
  object-position: center 38%;
}

.tile-focus-garden img {
  object-position: center 44%;
}

.services {
  background: var(--stone);
}

.section-heading {
  width: min(820px, 100%);
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 490px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 36px rgba(33, 29, 25, 0.06);
}

.service-card-featured {
  background: #ede8e4;
}

.service-card.bespoke {
  grid-column: auto;
  min-height: 490px;
  background: linear-gradient(120deg, white, #ece7e4);
}

.service-topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  font-family: Arial, sans-serif;
}

.service-topline p {
  margin: 0;
  color: var(--sage);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-topline strong {
  white-space: nowrap;
  color: var(--ink);
  font-size: 18px;
}

.service-card > p {
  margin-top: 18px;
}

.service-card > p + p {
  margin-top: 14px;
}

.service-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 28px 0 0 20px;
  color: #5d5854;
  font-size: 17px;
  line-height: 1.45;
}

.testimonial-section {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
  background: #ddd4cd;
}

.testimonial-image {
  min-height: 480px;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(221, 212, 205, 0.2)), url("/assets/content/portfolio-hillside-couple-updated.jpg");
  background-size: cover;
  background-position: 34% 50%;
}

.testimonial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 7vw, 92px);
}

blockquote {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.24;
}

.testimonial-copy p:last-child {
  margin-top: 28px;
}

.enquiry-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(300px, 1.25fr);
  gap: clamp(34px, 7vw, 88px);
  background: var(--pearl);
}

.enquiry-intro p {
  margin-top: 22px;
}

.social-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration-color: var(--sage);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.social-link:hover {
  color: var(--sage);
}

.enquiry-form,
.admin-login form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
}

label span {
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font: 17px/1.4 Georgia, "Times New Roman", serif;
  padding: 14px 15px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(143, 150, 138, 0.16);
}

textarea {
  resize: vertical;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.form-status.success {
  color: #3f6d4b;
}

.form-status.error {
  color: #9a332b;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: clamp(34px, 8vw, 120px);
  padding: clamp(56px, 8vw, 88px) clamp(22px, 6vw, 80px);
  background: #6f6b66;
  color: white;
}

.footer h2,
.footer h3,
.footer p {
  margin: 0;
  color: white;
}

.footer h2,
.footer h3 {
  font-family: Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer h2 {
  font-size: clamp(26px, 3vw, 36px);
}

.footer h3 {
  margin-bottom: 22px;
  font-size: clamp(24px, 2.6vw, 34px);
}

.footer-brand,
.footer-services,
.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-brand p,
.footer-services a,
.footer-contact a {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  text-decoration: none;
}

.footer-copyright {
  margin-top: 18px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13px !important;
}

.footer-credit {
  margin-top: -6px !important;
  color: rgba(255, 255, 255, 0.68) !important;
  font-size: 13px !important;
}

.footer a:hover {
  color: #d8cec6;
}

.footer-contact > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-contact > a img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: white;
  color: #6f6b66;
}

.footer-socials img {
  width: 20px;
  height: 20px;
}

.admin-body {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #e9e2dc, transparent 34%), var(--stone);
}

.admin-shell {
  min-height: 100vh;
  padding: clamp(22px, 4vw, 48px);
}

.admin-login {
  width: min(440px, 100%);
  margin: 8vh auto 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.admin-login img {
  width: 164px;
  height: 90px;
  object-fit: cover;
  object-position: 52% 38%;
  mix-blend-mode: multiply;
}

.admin-login h1,
.dashboard-header h1 {
  margin: 18px 0 8px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
}

.admin-login p {
  color: #5d5854;
}

.is-hidden {
  display: none !important;
}

.dashboard-header {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  min-height: 190px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 42px rgba(30, 26, 23, 0.08);
}

.dashboard-header::before {
  display: none;
}

.dashboard-header > * {
  position: relative;
  z-index: 1;
}

.dashboard-logo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
  opacity: 1;
  transform: none;
  mix-blend-mode: normal;
  pointer-events: none;
}

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 14px 18px;
  backdrop-filter: blur(3px);
}

.dashboard-title img {
  width: 116px;
  height: 66px;
  object-fit: cover;
  object-position: 52% 38%;
  mix-blend-mode: multiply;
}

.dashboard-actions {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  padding: 12px;
  backdrop-filter: blur(3px);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.metrics article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.metrics span {
  display: block;
  color: var(--ink);
  font-size: 44px;
}

.metrics p {
  margin: 6px 0 0;
  color: #625d58;
}

.admin-tabs {
  display: inline-flex;
  gap: 6px;
  margin: 0 0 18px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
}

.admin-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--charcoal);
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0 16px;
  text-transform: uppercase;
}

.admin-tabs button.is-active {
  background: var(--ink);
  color: white;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(320px, 1.25fr);
  gap: 18px;
}

.enquiry-list,
.enquiry-detail {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 42px rgba(30, 26, 23, 0.08);
}

.enquiry-list {
  overflow: hidden;
}

.enquiry-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: white;
  text-align: left;
  cursor: pointer;
}

.enquiry-row.is-active,
.enquiry-row:hover {
  background: var(--stone);
}

.review-add-row {
  align-items: center;
  justify-content: flex-start;
}

.review-add-icon {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-family: Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.enquiry-row strong,
.enquiry-row small {
  display: block;
}

.enquiry-row small {
  margin-top: 5px;
  color: #706963;
}

.enquiry-row em {
  align-self: start;
  border-radius: 999px;
  background: #eee8e3;
  padding: 5px 9px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
}

.enquiry-detail {
  padding: clamp(22px, 4vw, 38px);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.detail-header h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.package-kicker {
  display: inline-flex;
  margin: 0 0 12px;
  border-bottom: 3px solid var(--sage);
  color: var(--ink);
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.detail-header select {
  width: 160px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0;
}

.detail-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.detail-list dt {
  margin-bottom: 6px;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
}

.detail-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.message-box {
  padding: 22px;
  border-radius: 8px;
  background: var(--stone);
}

.message-box h3 {
  font-size: 24px;
}

.message-box p {
  color: #5d5854;
  font-size: 18px;
  line-height: 1.7;
  white-space: pre-wrap;
}

.detail-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 18px;
}

.review-form {
  display: grid;
  gap: 20px;
}

.review-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.review-check {
  align-content: end;
  grid-template-columns: auto 1fr;
  gap: 10px;
  min-height: 100%;
  padding: 13px 0;
}

.review-check input {
  width: 18px;
  height: 18px;
  align-self: center;
}

.review-textarea {
  display: grid;
}

.review-photo-manager {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--stone);
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.review-photo-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.review-photo-card {
  display: grid;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.review-photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  object-fit: cover;
}

.review-photo-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.review-photo-card input {
  width: 16px;
  height: 16px;
}

.button-danger {
  border-color: #8f2d24;
  background: #8f2d24;
  color: white;
}

.button-danger:hover {
  background: #73231d;
}

.empty-state {
  margin: 0;
  padding: 28px;
  color: #6a625d;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
  }

  .brand img {
    width: 108px;
    height: 62px;
  }

  .nav {
    order: 3;
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-socials {
    grid-column: 2;
  }

  .hero {
    min-height: 90vh;
    padding-top: 170px;
  }

  .portfolio-hero {
    min-height: 68vh;
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(251, 250, 248, 0.2), rgba(251, 250, 248, 0.08) 42%, rgba(251, 250, 248, 0.82) 72%, rgba(251, 250, 248, 0.98));
  }

  .intro-band,
  .split,
  .founder-section,
  .portfolio-review-section,
  .service-grid,
  .testimonial-section,
  .enquiry-section,
  .admin-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .intro-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card,
  .service-card.bespoke {
    min-height: auto;
  }

  .testimonial-section {
    min-height: auto;
  }

  .portfolio-review-section {
    min-height: auto;
  }

  .portfolio-review-image {
    height: 250px;
  }

  .portfolio-review-image-pair {
    height: auto;
  }

  .portfolio-review-image-pair img {
    max-height: 210px;
  }

  .portfolio-review-image-pair-tall img {
    height: 230px;
    max-height: none;
  }

  .footer,
  .dashboard-header,
  .detail-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .portfolio-gallery-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .tile-wide,
  .tile-landscape,
  .tile-portrait,
  .tile-small {
    grid-column: span 6;
    grid-row: auto;
  }

  .tile-wide,
  .tile-landscape {
    aspect-ratio: 16 / 10;
  }

  .tile-portrait {
    aspect-ratio: 4 / 5;
  }

  .tile-small {
    aspect-ratio: 3 / 2;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 12px;
    padding: 12px 12px 10px;
  }

  .nav {
    justify-content: space-between;
    gap: 0;
    overflow: visible;
    font-size: 12px;
  }

  .nav a {
    white-space: nowrap;
  }

  .header-socials {
    gap: 8px;
  }

  .header-social,
  .header-phone {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }

  .header-social img,
  .header-phone img {
    width: 17px !important;
    height: 17px !important;
  }

  h1 {
    font-size: clamp(56px, 17vw, 72px);
  }

  .form-row,
  .review-form-grid,
  .detail-list {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
    padding-top: 148px;
    min-height: 92svh;
  }

  .hero-video {
    inset: 86px auto auto 50%;
    width: min(86vw, 340px);
    height: min(42svh, 330px);
    object-fit: contain;
    object-position: center;
    background: var(--pearl);
    filter: saturate(1.2) contrast(1.08);
    transform: translateX(-50%);
  }

  .hero-scrim {
    background: linear-gradient(180deg, rgba(251, 250, 248, 0), rgba(251, 250, 248, 0) 42%, rgba(251, 250, 248, 0.8) 66%, rgba(251, 250, 248, 0.98));
  }

  .hero-actions,
  .dashboard-actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .service-topline {
    display: grid;
  }
}
