/* Only the requested planning tool expands; the homepage stays concise. */
.planning-tool .section-pad {
  padding: 30px clamp(18px, 3vw, 46px) 36px;
}
.planning-tool .booking-heading {
  margin: 30px 0;
  gap: 4vw;
}
.planning-tool .booking-heading h2,
.planning-tool .contact-intro h2 {
  font-size: clamp(40px, 4vw, 64px);
}
.planning-tool .brief-layout {
  gap: 4vw;
  margin-top: 30px;
}
.planning-tool .contact-intro h2 {
  margin: 0 0 24px;
}
.planning-tool .project-brief h3 {
  font-size: 30px;
}
.planning-tool .package-intro {
  margin: 24px 0;
  padding-top: 0;
  border: 0;
}
.planning-tool .package-intro h3 {
  font-size: 32px;
}
.planning-tool .contact-section {
  background: var(--ink);
}
.planning-tool .field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 16px;
}
.planning-tool .coverage-team {
  padding: 18px 0;
  margin: 22px 0;
}
.planning-tool .coverage-team strong {
  font-size: 22px;
}
.planning-tool .coverage-result {
  padding: 24px;
  position: sticky;
  top: var(--header-clearance);
}
.estimate-detail {
  border-top: 1px solid var(--line);
  margin: 22px 0;
}
.estimate-detail summary,
.package-details > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 16px 0;
  font-size: 13px;
}
.package-details {
  margin-top: 28px;
  border-top: 1px solid var(--line);
}
.package-details > .field-help {
  margin-bottom: 20px;
}
.estimate-detail dl {
  margin: 6px 0 16px;
}
.planning-tool .booking-heading p {
  font-size: 13px;
}
.planning-tool .section-kicker {
  font-size: 10px;
}
.estimate-preview {
  background: var(--ink);
  color: var(--text);
  padding: 18px;
  margin-top: 20px;
}
.estimate-preview strong {
  display: block;
  font: 32px/1.1 var(--serif);
  letter-spacing: -0.03em;
}
.estimate-preview small {
  display: block;
  font-size: 11px;
  line-height: 1.65;
  margin-top: 9px;
  color: var(--secondary);
}
/* These overrides keep the simple Work / Pricing / Contact navigation visible. */
.site-header .header-actions {
  gap: 26px;
}
.site-header .wordmark {
  font-size: 23px;
}
.site-header .wordmark small {
  font-size: 9px;
}
.site-header .motion-toggle {
  min-width: 44px;
}
.site-header .motion-label {
  display: block;
}
.site-header .header-actions > a {
  font-size: 13px;
}
@media (max-width: 1100px) {
  .planning-tool .field-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .site-header .motion-label {
    display: none;
  }
}
@media (max-width: 760px) {
  .planning-tool .coverage-result {
    position: static;
  }
  .planning-tool .booking-heading,
  .planning-tool .coverage-layout,
  .planning-tool .brief-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .planning-tool .booking-heading h2,
  .planning-tool .contact-intro h2 {
    font-size: 44px;
  }
  .planning-tool .field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .site-header .header-actions {
    gap: 18px;
  }
  .site-header .wordmark {
    font-size: 20px;
  }
  .site-header .header-actions > a {
    font-size: 12px;
  }
}
@media (max-width: 420px) {
  .planning-tool .field-grid {
    grid-template-columns: 1fr;
  }
  .site-header .header-actions {
    gap: 10px;
  }
  .site-header .wordmark {
    font-size: 17px;
  }
  .site-header .wordmark small {
    font-size: 8px;
  }
  .site-header .header-actions > a {
    font-size: 11px;
  }
  .site-header .motion-toggle {
    min-width: 32px;
  }
  .planning-tool .coverage-result {
    padding: 20px 16px;
  }
  .planning-tool .booking-heading h2,
  .planning-tool .contact-intro h2 {
    font-size: 37px;
  }
  .planning-tool .section-kicker > span {
    max-width: 100%;
  }
}

.planning-tool,
.planning-tool .coverage-result {
  scroll-margin-top: 0;
}
.booking-section em {
  color: var(--dark-accent);
}

.estimate-preview {
  display: none;
}
@media (max-width: 760px) {
  .estimate-preview {
    display: block;
  }
}

/* V10: an optional replay, with animation enabled by default. */
.motion-controls {
  position: absolute;
  left: 6vw;
  right: 6vw;
  bottom: 24px;
  z-index: 4;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.motion-buttons {
  display: flex;
}
.replay-motion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid rgba(241, 242, 238, 0.45);
  background: rgba(17, 26, 29, 0.88);
  font-size: 12px;
}
.motion-controls p {
  font-size: 11px;
  line-height: 1.5;
  max-width: 90%;
  color: var(--text);
  background: rgba(17, 26, 29, 0.84);
  padding: 3px 7px;
}
.motion-controls p:empty {
  display: none;
}
.hero-copy {
  bottom: 128px;
}
.hero-frame .expand-mark {
  bottom: 100px;
}
.portfolio-main > .motion-controls {
  position: static;
  margin: 0 0 35px;
  align-items: flex-start;
}
.portfolio-main > .motion-controls button,
.portfolio-main > .motion-controls p {
  color: var(--text);
}
@media (max-width: 760px) {
  .hero-copy {
    bottom: 128px;
  }
  .hero-copy h1 {
    font-size: clamp(62px, 15.5vw, 90px);
  }
  .motion-controls {
    bottom: 18px;
  }
  .motion-controls p {
    font-size: 10px;
    max-width: 100%;
  }
  .replay-motion {
    font-size: 11px;
    padding: 9px 12px;
  }
  .hero-frame .expand-mark {
    bottom: 110px;
  }
  .hero-copy .eyebrow {
    max-width: 90vw;
  }
}

/* V11: one signature reveal and a concise studio introduction. */
.hero-matte {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 18%;
  background: var(--ink);
  pointer-events: none;
}
.hero-matte-left {
  left: 0;
  transform: translateX(-100%);
}
.hero-matte-right {
  right: 0;
  transform: translateX(100%);
}
.studio-intro {
  max-width: 360px;
}
.studio-intro p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--ink);
  margin-bottom: 18px;
}
.booking-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.booking-steps li {
  display: flex;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.booking-steps li > span {
  font-size: 10px;
  color: var(--secondary);
  padding-top: 4px;
}
.booking-steps strong {
  font: 22px/1.2 var(--serif);
}
.booking-steps p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 8px;
  color: var(--secondary);
}
/* Single native sequence, rather than a second set of portfolio blocks. */
.sequence-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 18px;
  font-size: 12px;
}
.sequence-toolbar > p {
  line-height: 1.6;
}
.sequence-buttons {
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.sequence-buttons button {
  border: 1px solid var(--line);
  font-size: 21px;
}
.sequence-buttons button:disabled {
  opacity: 0.35;
  cursor: default;
}
.sequence-buttons span {
  font-size: 11px;
  letter-spacing: 0.1em;
  min-width: 56px;
  text-align: center;
}
.portfolio-grid.sequence-track {
  position: relative;
  display: flex;
  align-items: start;
  gap: 24px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0 0 24px;
  margin-right: -6vw;
  scroll-padding-right: 6vw;
}
.sequence-track:after {
  content: '';
  flex: 0 0 calc(100% - min(72vw, 840px) - 24px);
}
.sequence-track .work-card {
  flex: 0 0 min(72vw, 840px);
  min-width: 0;
  padding-top: 0;
  scroll-snap-align: start;
}
.sequence-track .photo-link {
  height: min(62svh, 620px);
  aspect-ratio: auto;
  background: #d9dfd8;
}
.sequence-track .photo-link img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  aspect-ratio: auto;
}
.sequence-track .work-card figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.sequence-track .work-card figcaption strong {
  margin: 0;
}
.sequence-track:focus-visible {
  outline: 2px solid var(--dark-accent);
  outline-offset: 5px;
}
/* The viewer is fully navigable without relying on gestures. */
.lightbox {
  padding-bottom: 96px;
}
.lightbox-stage {
  touch-action: pan-y pinch-zoom;
}
.lightbox img {
  max-height: calc(100dvh - 230px);
}
.lightbox-count {
  position: absolute;
  left: 5vw;
  top: max(28px, env(safe-area-inset-top));
  font-size: 12px;
  letter-spacing: 0.12em;
}
.lightbox-navigation {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lightbox-navigation button {
  border: 1px solid var(--line);
  padding: 10px 18px;
  font-size: 12px;
}
.lightbox-navigation > span {
  font-size: 10px;
  color: var(--secondary);
}
@media (max-width: 760px) {
  .hero-matte {
    width: 12%;
  }
  .studio-intro {
    max-width: 100%;
  }
  .studio-intro p {
    max-width: 34em;
  }
  .booking-steps {
    gap: 14px;
    grid-template-columns: 1fr;
    margin-bottom: 26px;
  }
  .booking-steps li {
    padding-top: 12px;
  }
  .booking-steps strong {
    font-size: 20px;
  }
  .booking-steps p {
    margin-top: 4px;
  }
  .sequence-toolbar {
    align-items: start;
  }
  .sequence-toolbar > p {
    max-width: 145px;
  }
  .sequence-buttons {
    gap: 6px;
  }
  .sequence-buttons span {
    min-width: 45px;
  }
  .portfolio-grid.sequence-track {
    gap: 16px;
  }
  .sequence-track .work-card {
    flex-basis: 80vw;
  }
  .sequence-track:after {
    flex-basis: calc(14vw - 16px);
  }
  .sequence-track .photo-link {
    height: min(55svh, 500px);
  }
  .sequence-track .work-card figcaption {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .lightbox-navigation > span {
    display: none;
  }
  .lightbox-navigation button {
    padding: 10px 16px;
  }
  .lightbox figcaption {
    margin-top: 14px;
  }
}
@media (max-height: 500px) {
  .lightbox {
    padding-top: 55px;
    padding-bottom: 68px;
  }
  .lightbox img {
    max-height: calc(100dvh - 165px);
  }
  .lightbox-navigation {
    bottom: 12px;
  }
}

/* Restored signature X: the page remains usable without this enhancement. */
.brand-opening[hidden] {
  display: none !important;
}
.brand-opening {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #10150f;
  color: #f2efe6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.brand-opening .opening-x {
  font:
    220px/0.7 Georgia,
    serif;
  font-weight: 400;
}
.brand-opening p {
  font-size: 11px;
  letter-spacing: 0.22em;
  margin-top: 40px;
}
.brand-opening button {
  position: absolute;
  right: 7%;
  bottom: max(9%, env(safe-area-inset-bottom));
  color: #f2efe6;
  background: #10150f;
  border: 1px solid #c7c9bc;
  padding: 14px 20px;
  min-height: 48px;
  font-size: 14px;
  pointer-events: auto;
}
.brand-opening button:focus-visible {
  outline: 2px solid #f2efe6;
  outline-offset: 5px;
}
@media (max-width: 760px) {
  .brand-opening .opening-x {
    font-size: 170px;
  }
  .brand-opening p {
    font-size: 10px;
  }
  .brand-opening button {
    bottom: max(10%, env(safe-area-inset-bottom));
  }
}
@media (prefers-reduced-motion: reduce) {
  .brand-opening {
    display: none !important;
  }
}

/* A clear booking path, without replacing the signature photographic opening. */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  margin-top: 22px;
  pointer-events: auto;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 48px;
  padding: 14px 22px;
  background: var(--gallery);
  color: var(--ink);
  font-size: 13px;
}
.hero-actions .text-link {
  margin-top: 0;
}
.hero .motion-controls {
  left: auto;
  align-items: flex-end;
  max-width: 40%;
}
.hero .replay-motion {
  border-color: transparent;
  background: rgba(17, 26, 29, 0.65);
}
.draft-tools {
  margin: 20px 0 0;
}
.draft-tools > summary {
  cursor: pointer;
  min-height: 44px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--secondary);
}
@media (max-width: 760px) {
  .hero-copy {
    bottom: 112px;
    right: 6vw;
  }
  .hero-copy > p:not(.eyebrow) {
    max-width: 30ch;
  }
  .hero-actions {
    gap: 10px 20px;
  }
  .hero .motion-controls {
    max-width: 88%;
  }
  .hero .motion-controls p {
    text-align: right;
  }
  .hero-frame .expand-mark {
    bottom: 92px;
  }
}
@media (max-height: 600px) and (min-width: 761px) {
  .hero-copy h1 {
    font-size: 64px;
    margin: 12px 0;
  }
  .hero-copy {
    bottom: 70px;
  }
}
