:root {
  --paper: #f7f1e8;
  --paper-deep: #efe3d5;
  --surface: rgba(255, 251, 245, 0.82);
  --white: #fffdf8;
  --ink: #241d1a;
  --muted: #6f645c;
  --line: rgba(50, 32, 23, 0.14);
  --accent: #9c6f4d;
  --accent-deep: #503734;
  --wine: #2d2023;
  --wine-soft: #3c2b2f;
  --shadow: 0 24px 60px rgba(49, 31, 20, 0.12);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --copy-serif: "Lora", "Libre Baskerville", "Georgia", "Times New Roman", serif;
  --page-gutter: clamp(0.75rem, 4vw, 2.5rem);
  --section-space: clamp(3.25rem, 8vw, 5.5rem);
  --section-space-tight: clamp(2.4rem, 6vw, 4rem);
  --container: min(73.75rem, calc(100% - (var(--page-gutter) * 2)));
  --header-height: clamp(4.75rem, 7svh, 5.125rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    radial-gradient(circle at top left, rgba(206, 173, 142, 0.22), transparent 28%),
    radial-gradient(circle at bottom right, rgba(131, 89, 72, 0.08), transparent 26%),
    linear-gradient(180deg, #faf5ee 0%, #f4ede4 100%);
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  max-width: 100%;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.page-wrap {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(45, 32, 35, 0.92);
  border-bottom: 1px solid rgba(255, 253, 248, 0.12);
  box-shadow: 0 18px 42px rgba(36, 29, 26, 0.16);
}

.header-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  min-height: var(--header-height);
}

.site-nav {
  display: flex;
  align-items: center;
  width: 100%;
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.site-nav::before {
  content: "Tava Photography";
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-brand {
  display: none;
}

.home-page .header-row {
  width: 100%;
}

.home-page .site-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(620px, 48vw, 780px);
  gap: 0;
}

.home-page .site-nav::before {
  display: none;
}

.home-page .site-brand {
  display: block;
  grid-column: 1;
  justify-self: center;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.2vw, 1.22rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-page .site-nav-links {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
}

.home-page .site-nav-side {
  margin-left: 0;
}

.site-nav-side {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.6rem);
  margin-left: auto;
}

.site-nav-side-right {
  margin-left: 0;
  justify-content: flex-end;
}

.site-nav-side a,
.site-nav-side .nav-dropdown-label {
  color: rgba(255, 253, 248, 0.78);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav-side a:hover,
.site-nav-side a.active,
.site-nav-side .nav-dropdown-label:hover,
.site-nav-side .nav-dropdown-label.active {
  color: var(--white);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -0.75rem;
  right: -0.75rem;
  height: 0.85rem;
}

.nav-dropdown-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.nav-dropdown-label::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.74;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  z-index: 30;
  display: grid;
  min-width: 230px;
  gap: 0.15rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(249, 243, 235, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.site-nav-side .nav-dropdown-menu a {
  display: flex;
  align-items: center;
  min-height: 34px;
  padding: 0.45rem 0.65rem;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.site-nav-side .nav-dropdown-menu a:hover,
.site-nav-side .nav-dropdown-menu a:focus,
.site-nav-side .nav-dropdown-menu a.active {
  background: rgba(87, 56, 52, 0.08);
  color: var(--ink);
}

.site-nav-side .nav-book {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.site-nav-side .nav-book:hover,
.site-nav-side .nav-book.active {
  background: transparent;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 253, 248, 0.34);
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

main {
  padding-bottom: var(--section-space-tight);
}

.home-main {
  padding-bottom: 0;
}

.home-hero {
  --hero-slideshow-gap: 0rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(min(100%, 22.5rem), clamp(22.5rem, 38vw, 48.75rem));
  align-items: stretch;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: linear-gradient(180deg, #ead8c4 0%, #dcc4ad 100%);
}

.home-slideshow {
  --home-slide-duration: 7200ms;
  --home-zoom-duration: 7800ms;
  --home-fade-duration: 2000ms;
  --home-slide-start-scale: 1.035;
  position: relative;
  align-self: stretch;
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.home-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(36, 29, 26, 0.22) 0%, rgba(36, 29, 26, 0.04) 44%, rgba(36, 29, 26, 0.2) 100%),
    linear-gradient(90deg, rgba(36, 29, 26, 0.14), transparent 34%, rgba(36, 29, 26, 0.1));
}

.home-slideshow-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: var(--wine);
}

.home-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity var(--home-fade-duration) ease-in-out;
}

.home-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.home-slide.is-leaving {
  opacity: 0;
  z-index: 1;
}

.home-slide img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position-desktop, 50% 42%);
  transform: scale(var(--home-slide-start-scale));
  transition: transform var(--home-zoom-duration) linear;
  will-change: transform;
}

.home-slide.is-zooming img {
  transform: scale(1);
}

.home-slideshow.is-reduced-motion .home-slide img {
  transform: scale(1);
  transition: none;
}

.home-intro {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: clamp(0.55rem, 1.4svh, 0.85rem);
  padding: clamp(0.85rem, 2.2svh, 1.5rem) clamp(0.95rem, 2.4vw, 2rem);
  border-left: 1px solid rgba(80, 55, 52, 0.16);
}

.home-intro-photo {
  margin: 0;
  overflow: hidden;
  background: #e8ddd0;
  width: 100%;
  max-width: min(100%, 35.9375rem);
}

.home-intro-media {
  display: grid;
  justify-items: center;
  gap: clamp(0.65rem, 1.5svh, 0.9rem);
  width: 100%;
  max-width: min(100%, 35.9375rem);
}

.kicker.home-intro-kicker {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.kicker.home-intro-kicker::before,
.kicker.home-intro-kicker::after {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 1;
}

.home-intro-photo img {
  display: block;
  width: 100%;
  height: clamp(18rem, 58svh, 40.625rem);
  object-fit: cover;
  object-position: center;
}

.home-intro-copy {
  display: grid;
  justify-items: center;
  gap: clamp(0.45rem, 1.2svh, 0.65rem);
  width: 100%;
  max-width: min(100%, 35.9375rem);
  text-align: center;
}

.home-intro-title,
.home-intro-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.2vw, 3.25rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.96;
}

.home-intro-title {
  text-align: center;
  width: 100%;
}

.home-intro-copy p {
  margin: 0;
  color: var(--ink);
  font-family: var(--copy-serif);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  font-weight: 400;
  line-height: 1.68;
}

@media (prefers-reduced-motion: reduce) {
  .home-slide {
    transition: none;
  }
}

.section {
  padding: var(--section-space) 0;
}

.section-tight {
  padding: var(--section-space-tight) 0;
}

.page-hero {
  padding: clamp(2.4rem, 6vw, 3.4rem) 0 clamp(3rem, 7vw, 4.75rem);
}

.page-hero-grid,
.story-grid,
.booking-layout,
.split-columns,
.booking-strip {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-hero-grid,
.story-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.split-columns {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.booking-layout {
  grid-template-columns: minmax(0, min(760px, 100%));
  align-items: start;
  justify-content: center;
}

.booking-form-section {
  padding-top: 0;
}

.booking-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.page-copy h1,
.text-panel h2,
.story-copy h2,
.booking-strip h2,
.list-block h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.page-copy h1 {
  font-size: clamp(3.35rem, 7vw, 5.7rem);
  max-width: 11ch;
}

.book-intro {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.book-hero {
  padding: 0.7rem 0 0.55rem;
}

.book-hero .page-hero-grid {
  grid-template-columns: minmax(0, min(760px, 100%));
  justify-content: center;
}

.book-intro .intro-copy {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.book-hero + .booking-form-section {
  padding-top: 0;
  padding-bottom: 1.25rem;
}

.text-panel h2,
.story-copy h2,
.booking-strip h2,
.list-block h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  max-width: 14ch;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.kicker-light {
  color: rgba(251, 243, 235, 0.84);
}

.intro-copy,
.text-panel p,
.story-copy p,
.booking-strip p,
.page-copy p,
.profile-copy p,
.detail-pairs p,
.note-card p,
.panel-note {
  color: var(--muted);
  font-family: var(--copy-serif);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.78;
}

.intro-copy-light,
.panel-note-light,
.story-copy .intro-copy-light {
  color: rgba(248, 239, 232, 0.76);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  transition: 180ms ease;
}

.button,
.ghost-button {
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
}

.button {
  background: var(--accent-deep);
  color: var(--white);
  box-shadow: var(--shadow);
}

.button:hover {
  background: #392624;
}

.ghost-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.88);
}

.ghost-button-light {
  border-color: rgba(255, 241, 228, 0.22);
  background: transparent;
  color: var(--white);
}

.ghost-button-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  justify-content: flex-start;
  width: fit-content;
  color: var(--accent-deep);
  min-height: auto;
  margin-top: 1rem;
  font-size: 0.94rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.soft-card,
.note-card,
.form-card {
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.soft-card,
.note-card,
.form-card,
.soft-card p,
.note-card p,
.form-card p,
.soft-card .panel-note,
.form-card .form-note,
.form-card .status-message {
  color: #000;
}

.about-bio {
  display: grid;
  gap: 1rem;
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(1.35rem, 4vw, 2.25rem);
}

.about-bio p {
  margin: 0;
  color: #000;
  font-family: var(--copy-serif);
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  line-height: 1.82;
}

.detail-pairs h3,
.note-card h3,
.step-list h3 {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.media-card,
.story-image,
.page-image,
.profile-card {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #e8ddd0;
  box-shadow: var(--shadow);
}

.media-card img,
.story-image img,
.page-image img,
.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-note,
.quote-credit {
  margin: 0;
}

.story-image {
  display: grid;
  gap: 0.9rem;
  padding: 0.85rem;
  background: rgba(255, 252, 247, 0.58);
}

.story-image img {
  border-radius: calc(var(--radius-lg) - 8px);
}

.about-page .page-hero {
  padding-top: clamp(0.9rem, 2.6vw, 1.75rem);
  padding-bottom: clamp(1.75rem, 4vw, 2.8rem);
}

.about-page .page-hero-grid {
  align-items: start;
  grid-template-columns: minmax(0, 48rem) minmax(18rem, 24rem);
  gap: clamp(1.25rem, 3vw, 2rem);
  justify-content: center;
}

.about-page .page-copy {
  display: grid;
  align-content: start;
  gap: clamp(0.85rem, 1.6vw, 1.2rem);
  justify-items: stretch;
  width: 100%;
}

.about-page .about-bio {
  width: 100%;
  background: rgba(255, 251, 245, 0.92);
}

.about-page .about-heading-card {
  width: 100%;
  text-align: center;
}

.about-page .about-heading-card h1,
.about-page .about-intro-card p {
  margin: 0;
}

.about-page .about-heading-card h1 {
  max-width: none;
  font-size: clamp(2.15rem, 5.7vw, 5.15rem);
  line-height: 0.95;
  white-space: nowrap;
}

.about-page .about-intro-card {
  width: 100%;
  padding: 0 clamp(1.15rem, 2.6vw, 1.85rem);
  text-align: center;
}

.about-page .about-intro-card p {
  color: #000;
  font-weight: 700;
  max-width: 42rem;
  margin: 0 auto;
}

.about-page .about-bio {
  gap: clamp(0.75rem, 1.4vw, 1rem);
  margin: 0;
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
}

.about-page .page-image img {
  aspect-ratio: 4 / 5;
  min-height: min(70svh, 42rem);
}

.wine-section {
  position: relative;
  background: linear-gradient(180deg, var(--wine) 0%, var(--wine-soft) 100%);
  color: var(--white);
}

.wine-section::before,
.wine-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 20px;
  background: inherit;
}

.wine-section::before {
  top: -10px;
  border-radius: 28px 28px 0 0;
}

.wine-section::after {
  bottom: -10px;
  border-radius: 0 0 28px 28px;
}

.story-copy {
  color: var(--white);
}

.step-list {
  display: grid;
  gap: 1rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.step-list p,
.detail-pairs p,
.note-card p {
  margin: 0;
}

.step-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
}

.quote-block {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow);
}

.quote-block blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 4vw, 3.15rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.quote-credit {
  margin-top: 1.4rem;
  font-size: 0.94rem;
  color: rgba(250, 238, 231, 0.74);
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.15rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 251, 246, 0.7);
  box-shadow: var(--shadow);
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
}

.profile-copy p {
  margin: 0;
}

.seal {
  display: inline-grid;
  place-items: center;
  width: 120px;
  aspect-ratio: 1;
  margin-top: 0.8rem;
  border-radius: 50%;
  border: 1px solid rgba(80, 55, 52, 0.18);
  color: var(--accent);
  background: rgba(241, 231, 219, 0.58);
}

.seal span {
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
}

.seal small {
  max-width: 72px;
  text-align: center;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-columns {
  align-items: start;
}

.list-block,
.soft-card {
  height: 100%;
}

.bullet-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.detail-pairs {
  display: grid;
  gap: 1.2rem;
}

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

.note-card h3 {
  margin: 0 0 0.65rem;
}

.portfolio-section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.portfolio-section + .portfolio-section {
  padding-top: 0.5rem;
}

.portfolio-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.portfolio-section-header h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.portfolio-section-header .kicker {
  color: var(--ink);
  font-weight: 700;
}

.portfolio-section-header p:not(.kicker) {
  max-width: 54ch;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.68;
}

.portfolio-grid {
  column-count: 4;
  column-gap: 1rem;
}

.portfolio-grid[data-portfolio-grid="professional-branding"] {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  column-count: initial;
}

.portfolio-item {
  margin: 0 0 1rem;
  break-inside: avoid;
}

.portfolio-grid[data-portfolio-grid="professional-branding"] .portfolio-item {
  grid-column: span 2;
  margin: 0;
}

.portfolio-grid[data-portfolio-grid="professional-branding"] .portfolio-item:nth-last-child(2):nth-child(3n + 1) {
  grid-column: 2 / span 2;
}

.portfolio-item img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.form-card {
  padding: 0.95rem;
}

.booking-form {
  display: grid;
  gap: 0.85rem;
}

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

.field {
  display: grid;
  gap: 0.28rem;
}

.field label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-left: 1rem;
  text-align: left;
  text-transform: uppercase;
  color: var(--ink);
  justify-self: start;
}

.required-star {
  color: var(--ink);
  margin-left: 0.18rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  color: #000;
  font-family: var(--copy-serif);
  font-size: 1rem;
  line-height: 1.45;
  padding: 0.95rem 1rem;
}

.field input::placeholder,
.field select::placeholder,
.field textarea::placeholder {
  color: #000;
  opacity: 1;
}

.field input,
.field select {
  height: 52px;
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.book-page main {
  min-height: calc(100dvh - var(--header-height));
  overflow: visible;
}

.book-page .book-hero {
  padding: 0.9rem 0 1rem;
}

.book-page .book-hero + .booking-form-section {
  padding-top: 0;
  padding-bottom: 1.5rem;
  overflow: visible;
}

.book-page .booking-layout {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  height: auto;
  align-items: start;
}

.book-page .form-card {
  width: 100%;
  max-width: 860px;
  max-height: none;
  overflow: visible;
  padding: 1.05rem;
}

.book-page .booking-form {
  gap: 0.85rem;
}

.book-page .form-grid {
  row-gap: 0.58rem;
}

.book-page .field {
  gap: 0.28rem;
}

.book-page .field label {
  font-size: 0.82rem;
}

.book-page .field input,
.book-page .field select {
  height: 50px;
  padding-block: 0.8rem;
}

.book-page .field textarea {
  min-height: 112px;
  padding-block: 0.8rem;
}

.book-page .booking-form .button {
  min-height: 50px;
  padding-block: 0.8rem;
}

.span-2 {
  grid-column: 1 / -1;
}

@media (max-height: 620px) and (min-width: 821px) {
  .home-intro {
    align-content: start;
    padding-block: clamp(0.75rem, 2svh, 1rem);
  }

  .home-intro-photo img {
    height: clamp(14rem, 48svh, 26rem);
  }

  .home-intro-copy p {
    line-height: 1.45;
  }

  .book-page main {
    height: auto;
    min-height: calc(100dvh - var(--header-height));
    overflow: visible;
  }

  .book-page .booking-form-section {
    overflow: visible;
    padding-bottom: 1rem;
  }

  .book-page .booking-layout {
    height: auto;
  }

  .book-page .form-card {
    max-height: none;
    overflow: visible;
  }
}

.form-note,
.status-message,
code {
  font-size: 0.92rem;
}

.form-note,
.status-message {
  margin: 0;
  color: var(--muted);
  font-family: var(--copy-serif);
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .page-hero-grid,
  .story-grid,
  .split-columns {
    grid-template-columns: 1fr;
  }

  .about-page .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-page .page-image {
    width: min(100%, 34rem);
    justify-self: center;
  }

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

  .portfolio-grid {
    column-count: 3;
  }

  .home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 36vw);
  }
}

@media (max-width: 820px) {
  :root {
    --page-gutter: clamp(0.7rem, 4vw, 1.25rem);
    --header-height: clamp(4.5rem, 8svh, 4.875rem);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-row {
    justify-content: space-between;
  }

  .home-page .header-row {
    width: var(--container);
  }

  .header-row::before {
    content: "Tava Photography";
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--white);
    font-family: var(--serif);
    font-size: 0.98rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .nav-toggle {
    flex: 0 0 auto;
    margin-right: 1rem;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    grid-template-columns: 1fr;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(249, 243, 235, 0.97);
    box-shadow: var(--shadow);
    max-height: calc(100svh - var(--header-height) - 1rem);
    overflow-y: auto;
  }

  .home-page .site-nav {
    display: none;
    grid-template-columns: 1fr;
    width: auto;
    gap: 0.35rem;
  }

  .home-page .site-brand {
    display: none;
  }

  .home-page .site-nav-links {
    grid-column: 1;
    justify-self: stretch;
    display: grid;
    gap: 0.35rem;
  }

  .site-nav::before {
    display: none;
  }

  .site-nav-side a {
    color: var(--muted);
  }

  .site-nav-side a:hover,
  .site-nav-side a.active {
    color: var(--ink);
  }

  .site-nav.open {
    display: grid;
  }

  .home-page .site-nav.open {
    display: grid;
  }

  .site-nav-side,
  .site-nav-side-right {
    grid-column: 1;
    margin-left: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: start;
    gap: 0.35rem;
  }

  .site-nav-side a,
  .site-nav-side .nav-dropdown-label,
  .site-nav-side .nav-book {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .nav-dropdown {
    display: grid;
    align-items: stretch;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-dropdown-label::after {
    display: none;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    padding: 0.15rem 0 0.35rem 1rem;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .site-nav-side .nav-dropdown-menu a {
    min-height: 36px;
    padding: 0.35rem 0;
  }

  .home-hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .home-slideshow {
    height: clamp(18rem, calc(100svh - var(--header-height)), 38.75rem);
    min-height: 0;
    margin-block: 0;
  }

  .home-intro {
    grid-template-columns: 1fr;
    justify-items: center;
    border-left: 0;
    border-top: 1px solid rgba(80, 55, 52, 0.16);
    padding: clamp(0.85rem, 4vw, 1rem) clamp(0.75rem, 4vw, 1rem) clamp(1rem, 5vw, 1.4rem);
  }

  .home-intro-media {
    max-width: min(100%, 32.5rem);
  }

  .home-intro-photo img {
    width: 100%;
    height: clamp(17rem, 95vw, 32.5rem);
    margin: 0 auto;
  }

  .home-slide img {
    object-position: var(--slide-position-mobile, var(--slide-position-desktop, 50% 38%));
  }

  .booking-strip {
    grid-template-columns: 1fr;
  }

  .portfolio-section-header {
    align-items: start;
    flex-direction: column;
  }

}

@media (max-width: 720px) {
  .book-page main {
    height: auto;
    min-height: calc(100dvh - var(--header-height));
    overflow: visible;
  }

  .book-page .booking-form-section {
    overflow: visible;
    padding-bottom: 1rem;
  }

  .book-page .booking-layout {
    height: auto;
  }

  .book-page .form-card {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding: 0.9rem;
  }

  .book-page .book-intro {
    max-width: 100%;
  }

  .book-page .book-intro .intro-copy {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .book-page .field input,
  .book-page .field select {
    height: 48px;
  }

  .book-page .field textarea {
    min-height: 120px;
  }

  .container {
    width: var(--container);
    max-width: 100%;
  }

  .page-copy h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .text-panel h2,
  .story-copy h2,
  .booking-strip h2,
  .list-block h2,
  .quote-block blockquote {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .profile-panel {
    grid-template-columns: 1fr;
  }

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

  .span-2 {
    grid-column: auto;
  }

  .portfolio-grid {
    column-count: 2;
  }

  .portfolio-grid[data-portfolio-grid="professional-branding"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid[data-portfolio-grid="professional-branding"] .portfolio-item,
  .portfolio-grid[data-portfolio-grid="professional-branding"] .portfolio-item:nth-last-child(2):nth-child(3n + 1) {
    grid-column: auto;
  }

}

@media (max-width: 520px) {
  .section {
    padding: 3.25rem 0;
  }

  .section-tight {
    padding: 2.4rem 0;
  }

  .page-hero {
    padding: 2.4rem 0 3rem;
  }

  .about-page .page-hero {
    padding-top: 1.2rem;
  }

  .about-page .about-heading-card h1 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .home-intro-title,
  .home-intro-copy h1 {
    font-size: clamp(1.9rem, 11vw, 2.7rem);
  }

  .home-intro-copy p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .field label {
    padding-left: 0.5rem;
    font-size: 0.76rem;
  }

  .field input,
  .field select,
  .field textarea {
    border-radius: 12px;
    padding-inline: 0.82rem;
  }

  .portfolio-grid {
    column-count: 1;
  }

  .portfolio-grid[data-portfolio-grid="professional-branding"] {
    grid-template-columns: 1fr;
  }
}
