:root {
  --page-bg: #f6f2eb;
  --paper: #fffdf9;
  --ink: #171512;
  --muted: #71685d;
  --line: rgba(23, 21, 18, 0.12);
  --accent: #bea07d;
  --accent-soft: rgba(190, 160, 125, 0.18);
  --shadow: 0 28px 80px rgba(35, 28, 22, 0.08);
  --page-padding: clamp(8px, 1.4vw, 20px);
  --body-font: "Helvetica Neue", Arial, sans-serif;
  --display-font: "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #faf7f2 0%, var(--page-bg) 100%);
  color: var(--ink);
  font-family: var(--body-font);
  line-height: 1.6;
}

a {
  color: inherit;
}

.page-shell {
  width: 100%;
  margin: 0 auto;
  padding:
    0
    0
    calc(max(22px, env(safe-area-inset-bottom)) + 32px);
}

.page-frame {
  position: relative;
  padding: 0 clamp(24px, 3.6vw, 48px) clamp(24px, 3.6vw, 48px);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.page-frame::before {
  content: none;
}

.masthead,
.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.masthead {
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.masthead-meta {
  display: grid;
  gap: 6px;
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eyebrow,
.section-index {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 1vw, 1.16rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.eyebrow-dot {
  color: var(--accent);
}

.masthead-home-link {
  text-decoration: none;
}

.language-nav {
  width: min(100%, 96px);
}

.language-select {
  width: 100%;
  min-height: 40px;
  padding: 0 30px 0 12px;
  border: 1px solid rgba(23, 21, 18, 0.14);
  border-radius: 0;
  background:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%),
    linear-gradient(180deg, #fffdf9, #fffaf4);
  background-position:
    calc(100% - 16px) 18px,
    calc(100% - 12px) 18px,
    0 0;
  background-size: 5px 5px, 5px 5px, 100% 100%;
  background-repeat: no-repeat;
  color: var(--ink);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  appearance: none;
  cursor: pointer;
}

.language-select:focus-visible,
.hero-cta:focus-visible,
.portfolio-tile:focus-visible {
  outline: 3px solid rgba(190, 160, 125, 0.25);
  outline-offset: 3px;
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.96fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px) 0 26px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.brand-name {
  margin: 0;
  max-width: none;
  font-family: var(--display-font);
  font-size: clamp(2.1rem, 3.55vw, 4.05rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nickname-line {
  margin: 20px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.location-block {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.location-note {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.65;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid rgba(23, 21, 18, 0.18);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.hero-cta--plain {
  gap: 0;
}

.hero-cta--top {
  min-height: 40px;
  margin-top: 0;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.hero-actions--mobile {
  display: none;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 21, 18, 0.32);
  background: rgba(255, 250, 244, 0.9);
}

.instagram-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-icon-dot {
  fill: currentColor;
  stroke: none;
}

.instagram-arrow {
  margin-left: 20px;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-photo-wrap {
  width: 100%;
  max-width: none;
  min-height: 0;
  justify-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 22px;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  object-position: center 24%;
  background: #f1ebe3;
  pointer-events: none;
  -webkit-user-drag: none;
}

.content-grid {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.content-grid-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.content-grid-row + .content-grid-row {
  border-top: 1px solid var(--line);
}

.content-grid-item {
  min-width: 0;
}

.content-grid-item + .content-grid-item {
  border-left: 1px solid var(--line);
}

.content-grid-item--extended {
  grid-column: span 2;
}

.content-grid-item--small-stack {
  display: grid;
  grid-template-rows: repeat(2, auto);
  align-content: start;
}

.content-grid-item--small-stack .content-block + .content-block {
  border-top: 1px solid var(--line);
}

.content-block {
  padding: clamp(28px, 4vw, 38px);
}

.content-block h2 {
  margin: 12px 0 18px;
  font-family: var(--display-font);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.content-text {
  margin: 0;
  color: #4f4941;
  font-size: 1.02rem;
  line-height: 1.75;
}

.content-text:not(:last-child) {
  margin-bottom: 18px;
}

.content-inline-link {
  color: var(--ink);
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content-link {
  display: flex;
  align-items: center;
  width: fit-content;
  margin-top: 18px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.content-block h2 + .content-link {
  margin-top: 0;
}

.price-page-hero .portfolio-page-title {
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
}

.price-page-heading,
.price-page-summary {
  min-width: 0;
}

.price-page-heading {
  display: grid;
  gap: 0;
}

.price-page-subtitle {
  margin-top: 18px;
}

.price-page-summary {
  display: grid;
  gap: 18px;
}

.price-page-summary .hero-cta {
  margin-top: 0;
  width: fit-content;
  max-width: 100%;
  justify-self: end;
}

.pricing-card-head h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.price-item-subtitle,
.price-extras-copy {
  margin: 0;
  color: #4f4941;
  font-size: 0.86rem;
  line-height: 1.72;
}

.price-item-subtitle {
  white-space: nowrap;
  line-height: 1.2;
}

.price-value {
  display: flex;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.price-value strong {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  font-weight: 400;
  line-height: 1;
}

.price-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(26px, 3.8vw, 40px);
}

.price-section-head {
  display: block;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-section-head h2 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.15rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 0.96;
  text-transform: uppercase;
}

.price-items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  padding-top: clamp(22px, 3vw, 32px);
}

.pricing-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(246, 242, 235, 0.92));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.pricing-card--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(190, 160, 125, 0.16), rgba(190, 160, 125, 0.08));
  box-shadow: 0 22px 58px rgba(190, 160, 125, 0.2);
}

.pricing-card-head {
  display: grid;
  gap: 8px;
}

.pricing-card-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 8px;
}

.price-item-card--default:hover,
.price-item-card--default:focus-within {
  transform: translateY(-4px) scale(1.012);
  border-color: rgba(23, 21, 18, 0.2);
  box-shadow: 0 22px 58px rgba(35, 28, 22, 0.14);
}

.price-item-card--extra {
  grid-column: span 2;
}

.price-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-feature-list li {
  padding-top: 10px;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
  color: #38332d;
  font-size: 0.98rem;
  line-height: 1.55;
}

.price-extras-card {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 100%;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.58);
}

.price-extras-head {
  display: grid;
  gap: 10px;
}

.price-extras-title-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 12px;
}

.price-extras-head h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(1.3rem, 2.2vw, 1.95rem);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.price-extras-title-row .price-extras-copy {
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.45;
}

.price-extras-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 8px;
  list-style: none;
}

.price-extras-list li {
  padding-top: 12px;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
  color: #38332d;
  font-size: 0.98rem;
  line-height: 1.6;
}

.price-section-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(14px, 2vw, 22px);
  align-items: center;
  padding-top: clamp(14px, 2vw, 20px);
}

.price-section-references {
  min-width: 0;
}

.price-section-cta {
  display: flex;
  justify-content: flex-end;
  align-self: center;
}

.price-section-cta .hero-cta {
  margin-top: 0;
}

.price-section-reference-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: clamp(22px, 3vw, 30px);
  list-style: none;
  border: 1px solid var(--line);
  background: rgba(246, 242, 235, 0.58);
}

.price-section-reference-list li {
  padding-top: 10px;
  color: #38332d;
  font-size: 0.98rem;
  line-height: 1.55;
  border-top: 1px solid rgba(23, 21, 18, 0.08);
}

.price-section-reference-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.portfolio-entry-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  padding: 0;
}

.portfolio-tile {
  position: relative;
  display: grid;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #efe6da 0%, #e4d4c1 100%);
  color: var(--paper);
  text-decoration: none;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  transition: transform 220ms ease;
}

.portfolio-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(0.86) brightness(0.72);
  transform: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.portfolio-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.12), rgba(23, 21, 18, 0.62));
  transition: opacity 220ms ease;
}

.portfolio-tile--business img {
  filter: blur(12px) grayscale(0.32) saturate(0.72) brightness(0.66);
  object-position: center 36%;
}

.portfolio-tile-content {
  align-self: end;
  display: grid;
  gap: 10px;
  padding: clamp(22px, 3vw, 34px);
}

.portfolio-tile-title {
  max-width: 10ch;
  font-family: var(--display-font);
  font-size: clamp(2.25rem, 5.6vw, 5.3rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.portfolio-tile-description {
  max-width: 24rem;
  color: rgba(255, 253, 249, 0.88);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
}

.portfolio-tile:hover,
.portfolio-tile:focus-visible {
  z-index: 2;
  transform: translateY(-4px) scale(1.012);
}

.portfolio-tile:hover::after,
.portfolio-tile:focus-visible::after {
  opacity: 0.85;
}

.not-found {
  display: grid;
  min-height: min(560px, calc(100vh - 96px));
  place-content: center;
  gap: 22px;
  padding: clamp(48px, 10vw, 120px) 0;
  text-align: center;
}

.not-found h1,
.not-found p { margin: 0; }
.not-found h1 {
  font-size: clamp(2.25rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.not-found p { color: var(--muted); }
.not-found .hero-cta { justify-self: center; }

.portfolio-page-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: end;
  padding: clamp(28px, 4vw, 56px) 0 28px;
  border-bottom: 1px solid var(--line);
}

.portfolio-page-hero > div {
  min-width: 0;
}

.nested-gallery-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  padding-top: clamp(24px, 3vw, 38px);
}

.nested-gallery-card {
  display: grid;
  gap: 0;
  align-self: start;
  color: var(--ink);
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.nested-gallery-card img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.nested-gallery-card--wide {
  grid-column: span 2;
}

.nested-gallery-card-copy {
  display: grid;
  min-height: 76px;
  place-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  text-align: center;
}

.nested-gallery-card-title {
  font-family: var(--display-font);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 400;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.nested-gallery-card:hover,
.nested-gallery-card:focus-visible {
  transform: translateY(-4px);
}

.nested-gallery-card:focus-visible {
  outline: 3px solid rgba(190, 160, 125, 0.3);
  outline-offset: 5px;
}

.portfolio-page-title {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.portfolio-page-lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.75;
}

.legal-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(76px, 11vw, 150px) clamp(32px, 10vw, 220px) clamp(42px, 6vw, 76px);
}

.legal-hero-title {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 18px;
}

.legal-hero .portfolio-page-title {
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1;
}

.legal-updated {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.legal-updated--hero {
  margin: 0;
}

.legal-updated--bottom {
  margin-top: 0;
  margin-right: clamp(32px, 10vw, 220px);
  margin-left: clamp(32px, 10vw, 220px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.legal-content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(36px, 5vw, 64px);
  padding: clamp(26px, 4vw, 54px) clamp(32px, 10vw, 220px) 10px;
}

.legal-page .legal-hero,
.legal-page .legal-content,
.legal-page .legal-updated--bottom {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.legal-page .legal-hero a,
.legal-page .legal-content a,
.legal-page .legal-updated--bottom a {
  user-select: auto;
  -webkit-user-select: auto;
  -webkit-touch-callout: default;
}

.legal-notice {
  padding: 16px 18px;
  border: 1px solid rgba(190, 160, 125, 0.3);
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 0.98rem;
}

.legal-section-body {
  display: grid;
  gap: 24px;
  padding-top: 24px;
}

.legal-section > summary {
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
}

.legal-section > summary::-webkit-details-marker { display: none; }
/* Empty spacer mirrors the toggle's width so the heading stays truly centered. */
.legal-section > summary::before {
  content: "";
}
/* Icon is drawn with two gradient bars rather than a "+"/"−" glyph: font glyphs
   sit on the typeface's math axis, so they render visibly off the heading's center. */
.legal-section > summary::after {
  content: "";
  justify-self: end;
  width: 16px;
  height: 16px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
}
.legal-section[open] > summary::after {
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}
.legal-section > summary:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media print {
  .legal-section > summary::after { display: none; }
}

.legal-section-heading {
  text-align: center;
}

.legal-section-number {
  display: inline-block;
  margin-right: 0.2em;
  font-size: 0.86em;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.legal-section h2,
.legal-subsection h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.25rem, 2.1vw, 1.58rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-letter-points {
  display: grid;
  gap: 8px;
  margin: -12px 0;
  padding-left: clamp(24px, 3vw, 42px);
  color: var(--muted);
}

.legal-letter-points li {
  padding-left: 8px;
}

.legal-inline-link {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-paragraph {
  display: grid;
  grid-template-columns: 1.8em minmax(0, 1fr);
  gap: 8px;
  margin: 0;
  color: var(--muted);
}

.legal-paragraph-number {
  color: var(--ink);
  font-weight: 500;
}

.legal-subsection {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-subsection h3 {
  font-size: clamp(1.05rem, 1.65vw, 1.25rem);
  text-transform: none;
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--ink);
  font-size: 1rem;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-hero-title .gallery-back {
  margin-top: 0;
}

.portfolio-gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  align-items: start;
  padding-top: clamp(24px, 3vw, 38px);
}

.gallery-photo {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f1ebe3;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.gallery-photo--wide {
  grid-column: span 2;
}

.gallery-photo img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

.portfolio-bottom-cta {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding-top: 28px;
}

.portfolio-bottom-cta .hero-cta {
  margin-top: 0;
}

.site-footer {
  padding-top: 18px;
}

.footer-details,
.footer-meta,
.footer-legal-links {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-legal-links {
  gap: 8px;
}

.footer-details { min-width: 0; }
.footer-meta { flex: 0 0 auto; flex-wrap: nowrap; white-space: nowrap; }
.footer-legal-links { flex-wrap: nowrap; }

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  letter-spacing: 0.05em;
}

.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-inline-link {
  text-decoration: none;
}

.footer-inline-link:hover,
.footer-inline-link:focus-visible {
  text-decoration: underline;
}

.analytics-settings {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.analytics-settings:focus-visible,
.analytics-consent button:focus-visible,
.analytics-consent a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.analytics-consent[hidden] { display: none; }

.analytics-consent {
  position: fixed;
  z-index: 20;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 16px 48px rgba(35, 28, 22, 0.18);
}

.analytics-consent h2,
.analytics-consent p { margin: 0; }
.analytics-consent h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.analytics-consent p { margin-top: 4px; color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.analytics-consent a { text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 8px; }
.analytics-consent button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--accent); font: inherit; font-size: 0.9rem; cursor: pointer; }
.analytics-consent .analytics-accept { background: var(--accent); color: var(--ink); font-weight: 600; }
.analytics-decline { background: transparent; color: var(--muted); }
.analytics-consent button:hover { filter: brightness(0.95); }

@media (max-width: 720px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 16px; padding: 16px; }
  .analytics-consent-actions { flex-wrap: wrap; }
  .analytics-consent-actions button { flex: 1 1 130px; }
}

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

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

  .hero-photo-wrap {
    max-width: none;
    justify-self: stretch;
  }

  .hero-photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 760px) {
  .page-frame {
    padding: 0 18px 18px;
  }

  .masthead {}

  .content-grid {
    border-top: 0;
  }

  .content-grid-row,
  .content-grid-item {
    display: contents;
  }

  .content-block {
    border-top: 1px solid var(--line);
  }

  .portfolio-entry-grid,
  .portfolio-page-hero,
  .price-section-head,
  .price-items-grid,
  .price-section-meta {
    grid-template-columns: 1fr;
  }

  .legal-hero {
    padding: 54px 0 34px;
  }

  .legal-content {
    padding-right: 0;
    padding-left: 0;
  }

  .legal-updated--bottom {
    margin-right: 0;
    margin-left: 0;
  }

  .portfolio-tile {
    min-height: 310px;
  }

  .price-item-card--extra {
    grid-column: span 1;
  }
  .portfolio-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 24px;
  }

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

  .nested-gallery-card--wide {
    grid-column: span 1;
  }

  .portfolio-page-title {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .price-extras-title-row {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .hero-layout {
    gap: 18px;
  }

  .masthead {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-details {
    align-items: flex-start;
  }

  .language-nav {
    width: 82px;
    flex: 0 0 auto;
  }

  .masthead-tools {
    gap: 8px;
  }

  .language-select {
    min-height: 38px;
    padding: 0 28px 0 10px;
    font-size: 0.82rem;
    background-position:
      calc(100% - 14px) 17px,
      calc(100% - 10px) 17px,
      0 0;
    background-size: 4px 4px, 4px 4px, 100% 100%;
  }

  .eyebrow {
    font-size: 0.92rem;
    letter-spacing: 0.28em;
  }

  .brand-name {
    max-width: none;
    font-size: clamp(1.8rem, 7.2vw, 2.45rem);
    line-height: 1;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .nickname-line {
    letter-spacing: 0.16em;
  }

  .hero-cta {
    margin-top: 0;
  }

  .hero-actions {
    width: 100%;
    order: 2;
    gap: 10px;
  }

  .hero-actions .hero-cta {
    min-height: 52px;
    padding: 0 12px;
    font-size: 1.1rem;
    gap: 8px;
  }

  .hero-actions .hero-cta:not(.hero-cta--plain) span:first-of-type {
    white-space: nowrap;
  }

  .hero-actions .hero-cta--plain {
    flex: 0 0 auto;
  }

  .hero-actions .hero-cta:not(.hero-cta--plain) {
    flex: 1 1 0;
    min-width: 0;
    justify-content: flex-start;
  }

  .hero-actions .instagram-icon {
    width: 18px;
    height: 18px;
  }

  .hero-actions .instagram-arrow {
    margin-left: auto;
    font-size: 1.3rem;
  }

  .hero-actions--desktop {
    display: none;
  }

  .hero-actions--mobile {
    display: flex;
  }

  .hero-cta--top {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .price-page-summary .hero-cta {
    justify-self: stretch;
  }

  .hero-photo-wrap picture {
    order: 1;
  }

  .hero-photo {
    aspect-ratio: 4 / 5;
  }

  .hero-photo-wrap {
    margin-top: 10px;
    gap: 14px;
  }

  .price-section-cta .hero-cta {
    width: 100%;
    justify-content: space-between;
  }

  .portfolio-bottom-cta {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .footer-meta { gap: 6px; }
  .footer-legal-links { gap: 4px; }
  .footer-meta p,
  .footer-meta a,
  .footer-meta .analytics-settings { font-size: 0.78rem; letter-spacing: 0; }

  .hero-actions .hero-cta {
    padding: 0 10px;
    font-size: 1rem;
    letter-spacing: 0.02em;
  }

  .hero-actions .hero-cta:not(.hero-cta--plain) {
    gap: 6px;
  }

  .hero-actions .instagram-icon {
    width: 17px;
    height: 17px;
  }

  .hero-actions .instagram-arrow {
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta,
  .portfolio-tile,
  .portfolio-tile::after,
  .nested-gallery-card {
    transition: none;
  }

  .portfolio-tile:hover,
  .portfolio-tile:focus-visible,
  .nested-gallery-card:hover,
  .nested-gallery-card:focus-visible {
    transform: none;
  }
}
