:root {
  --cream: #fbf8f1;
  --cream-2: #f3eee4;
  --white: #ffffff;
  --ink: #0b0b0b;
  --ink-soft: #1c1c1c;
  --muted: #5c564e;
  --line: #e4ddd0;
  --red: #c5012b;
  --red-deep: #9a0122;
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --toolbar-h: 42px;
  --header-h: 112px;
  --fab: 60px;
  --up: 46px;
  --fab-right: 22px;
  --fab-bottom: 22px;
  --fab-gap: 50px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

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

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

button {
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

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

::selection {
  background: var(--red);
  color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
}

.skip:focus {
  top: 0.6rem;
}

.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;
}

.wrap-90 {
  width: 90%;
  margin-inline: auto;
}

.wrap-80 {
  width: 80%;
  margin-inline: auto;
}

main {
  width: 80%;
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 96px;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.kicker-line::after {
  content: "";
  display: inline-block;
  width: 3.2rem;
  height: 1px;
  margin-left: 0.75rem;
  background: currentColor;
  vertical-align: middle;
}

.kicker-light {
  color: rgba(255, 255, 255, 0.82);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 4px;
  padding: 0.9rem 1.15rem;
  font-weight: 500;
  line-height: 1;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

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

.btn-sm {
  padding: 0.72rem 0.95rem;
  font-size: 0.92rem;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-deep);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  width: 100%;
}

.btn-ink:hover {
  background: var(--red);
}

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

.btn-white:hover {
  background: var(--ink);
  color: var(--white);
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
}

.toolbar {
  background: var(--ink);
  color: var(--cream);
  font-size: 0.82rem;
}

.toolbar-inner {
  min-height: var(--toolbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.toolbar-place,
.toolbar-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.toolbar-place {
  margin: 0;
}

.toolbar-meta {
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.toolbar-meta li {
  display: flex;
  align-items: center;
}

.toolbar-meta li + li::before {
  content: "";
  width: 3px;
  height: 3px;
  margin: 0 0.75rem;
  border-radius: 50%;
  background: var(--red);
}

.toolbar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid #efebe3;
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(11, 11, 11, 0.05);
}

.header-inner {
  position: relative;
  z-index: 2;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
}

body.nav-open {
  overflow: hidden;
}

.logo {
  display: block;
  line-height: 0;
  flex: none;
}

.logo img {
  height: 92px;
  width: auto;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
}

.site-nav a {
  font-size: 0.95rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 12px;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: 2.2rem 0 3.4rem;
  min-height: calc(100vh - var(--toolbar-h) - var(--header-h));
  min-height: calc(100svh - var(--toolbar-h) - var(--header-h));
}

.hero-copy {
  container-type: inline-size;
  max-width: 38rem;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-size: clamp(2.8rem, 15.5cqi, 5.7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero h1 .line {
  display: block;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
}

.hero h1 .line:nth-child(1) {
  animation-delay: 0.12s;
}

.hero h1 .line:nth-child(2) {
  animation-delay: 0.26s;
}

.hero h1 .line:nth-child(3) {
  animation-delay: 0.42s;
}

.dot {
  color: var(--red);
}

.hero-kicker {
  margin-top: 1.5rem;
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.16, 0.84, 0.32, 1) 0.58s forwards;
}

.hero-lead {
  margin-top: 0.7rem;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.16, 0.84, 0.32, 1) 0.7s forwards;
}

.hero-cta {
  width: auto;
  margin-top: 1.5rem;
  opacity: 0;
  animation: rise 0.8s cubic-bezier(0.16, 0.84, 0.32, 1) 0.84s forwards;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
}

.hero-stage {
  position: relative;
  min-height: 520px;
}

.hero-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 46%;
  height: 42%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top center;
  animation: grow-y 0.85s cubic-bezier(0.16, 0.84, 0.32, 1) forwards;
}

.hero-frame {
  position: relative;
  z-index: 1;
  height: min(68vh, 640px);
  margin: 3.4rem 0 0 1.6rem;
  overflow: hidden;
  background: #d9d3c7;
  clip-path: inset(0 0 0 100%);
  animation: wipe 1.15s cubic-bezier(0.77, 0, 0.18, 1) 0.12s forwards;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transform: scale(1.1);
  animation: ken 20s ease-out forwards;
}

.hero-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-lines path,
.hero-lines line,
.hero-lines circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 0.8;
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: draw 2.2s ease 0.7s forwards;
}

.hero-words {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 3rem 0 0;
  text-align: left;
}

.hero-words li {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: rise 0.7s ease forwards;
}

.hero-words li:nth-child(1) { animation-delay: 0.95s; }
.hero-words li:nth-child(2) { animation-delay: 1.08s; }
.hero-words li:nth-child(3) { animation-delay: 1.2s; }
.hero-words li:nth-child(4) { animation-delay: 1.32s; }

.statement {
  background: var(--red);
  color: var(--white);
  container-type: inline-size;
  padding: 1.35rem 1.5rem 1.5rem;
}

.statement-line {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.6vw, 6.2rem);
  font-size: clamp(1.8rem, 7.5cqi, 6.4rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  overflow: hidden;
}

.statement-line span {
  display: block;
}

.projects {
  padding: 4.2rem 0 3.2rem;
}

.projects-layout {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 1.2rem 1.3rem;
  align-items: stretch;
}

.projects-intro h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(3rem, 4.8vw, 5.3rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin-top: 0.85rem;
}

.shot {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #ddd6c8;
  color: var(--white);
  text-align: left;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.06);
}

.shot::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 42%;
  background: linear-gradient(to bottom, rgba(11, 11, 11, 0.42), transparent);
  z-index: 1;
  pointer-events: none;
}

.project-portrait {
  min-height: 540px;
}

.project-portrait::before {
  inset: auto 0 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.5), transparent);
}

.shot-cap {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 0.9rem;
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-size: 0.92rem;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.shot-cap b {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
}

.shot-foot {
  top: auto;
  bottom: 0.9rem;
  flex-direction: column;
  gap: 0.1rem;
  align-items: flex-start;
}

.shot-foot small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1.2fr 0.9fr;
  gap: 0.85rem;
  min-height: 540px;
}

.shot-wide {
  grid-column: 1 / -1;
}

.services {
  padding: 1rem 0 4.2rem;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 2.4rem;
}

.service-list {
  list-style: none;
  margin-top: 1.2rem;
}

.service-list a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0.15rem;
  border-top: 1px solid var(--line);
}

.service-list li:last-child a {
  border-bottom: 1px solid var(--line);
}

.service-list .num {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--red);
}

.service-list strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 500;
}

.service-list small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
}

.service-list .arrow {
  transition: transform 0.3s ease;
}

.service-list a:hover strong,
.service-list a:focus-visible strong {
  color: var(--red);
}

.service-list a:hover .arrow,
.service-list a:focus-visible .arrow {
  transform: translateX(6px);
}

.drawing-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.plan {
  width: 100%;
  height: auto;
}

.side-words {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.iso-cube {
  margin-top: 1.4rem;
  width: 54px;
  height: 54px;
}

.studio {
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem 2.4rem;
  align-items: center;
  padding: 3.6rem 1.8rem;
}

.studio h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-top: 0.7rem;
}

.studio-side p {
  max-width: 34rem;
  color: rgba(251, 248, 241, 0.86);
}

.studio-photo {
  position: relative;
  margin-top: 1.4rem;
}

.studio-photo::before {
  content: "";
  position: absolute;
  top: -0.75rem;
  right: 8%;
  width: 28%;
  height: 22%;
  background: var(--red);
}

.studio-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.cta {
  background: var(--red);
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) auto;
  gap: 1.4rem 1.5rem;
  align-items: end;
  padding: 3rem 1.8rem;
}

.cta h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.6rem, 4.5vw, 4.6rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-top: 0.55rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 0.15rem;
}

.cta-wa:hover {
  border-bottom-color: var(--white);
}

.cta-side {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  justify-self: end;
}

.contact {
  padding: 4.2rem 0 4.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}

.contact h2,
.legal h1,
.dialog-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.contact h2 {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  margin: 0.55rem 0 0.9rem;
}

.contact-lead {
  max-width: 36rem;
  color: var(--ink-soft);
}

.contact-points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.75rem;
}

.contact-points li,
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.contact-points .icon {
  margin-top: 0.15rem;
  color: var(--red);
}

.form {
  display: grid;
  gap: 0.35rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.45rem;
}

.field > label:not(.check) {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.7rem 0;
}

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

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom: 2px solid var(--red);
}

.field.is-invalid input:not([type="checkbox"]),
.field.is-invalid textarea,
.field.is-invalid select {
  border-bottom-color: var(--red);
}

.field .error,
.check-error {
  color: var(--red);
  font-size: 0.78rem;
  min-height: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.7rem 0 0.4rem;
  font-size: 0.92rem;
}

.check input {
  margin-top: 0.2rem;
  accent-color: var(--red);
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.check a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.check.is-invalid span {
  color: var(--red);
}

.form-status:not(:empty) {
  margin: 0.3rem 0 0;
  padding: 0.8rem 0.9rem;
  background: var(--white);
  border-left: 3px solid var(--red);
}

.form-status a {
  color: var(--red);
  text-decoration: underline;
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 3.6rem 0 0;
}

.site-footer .logo img {
  height: auto;
  width: min(230px, 100%);
}

.footer-lead {
  margin-top: 1rem;
  max-width: 24rem;
  color: rgba(251, 248, 241, 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1.15fr;
  gap: 2rem 1.5rem;
}

.footer-grid h2 {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 1rem;
}

.footer-menu {
  list-style: disc;
  padding-left: 1.15rem;
}

.footer-menu li {
  margin: 0.42rem 0;
  padding-left: 0.2rem;
}

.footer-menu li::marker {
  color: var(--red);
}

.footer-menu a:hover,
.footer-contact a:hover {
  color: var(--white);
}

.footer-contact {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.footer-contact .icon {
  color: var(--red);
  margin-top: 0.12rem;
}

.footer-bottom {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin-top: 2.6rem;
  padding: 1.1rem 0 1.35rem;
  border-top: 1px solid rgba(251, 248, 241, 0.16);
  font-size: 0.86rem;
  color: rgba(251, 248, 241, 0.76);
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.scroll-up,
.wa-gadget {
  position: fixed;
  z-index: 70;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.wa-gadget {
  right: var(--fab-right);
  bottom: var(--fab-bottom);
  width: var(--fab);
  height: var(--fab);
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(11, 11, 11, 0.22), 0 0 0 4px var(--white);
}

.wa-gadget .icon {
  width: 30px;
  height: 30px;
}

.wa-gadget::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(197, 1, 43, 0.45);
  animation: pulse 2.6s ease-out infinite;
}

.wa-gadget:hover {
  background: var(--red-deep);
}

.scroll-up {
  width: var(--up);
  height: var(--up);
  right: calc(var(--fab-right) + (var(--fab) - var(--up)) / 2);
  bottom: calc(var(--fab-bottom) + var(--fab) + var(--fab-gap));
  border: 0;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(11, 11, 11, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background 0.25s ease, color 0.25s ease;
}

.scroll-up .icon {
  width: 20px;
  height: 20px;
}

.scroll-up.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.scroll-up:hover {
  background: var(--ink);
  color: var(--white);
}

.project-dialog {
  width: min(880px, calc(100% - 2rem));
  border: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, overlay 0.3s ease allow-discrete, display 0.3s ease allow-discrete;
}

.project-dialog[open] {
  opacity: 1;
  transform: none;
}

@starting-style {
  .project-dialog[open] {
    opacity: 0;
    transform: translateY(12px);
  }
}

.project-dialog::backdrop {
  background: rgba(11, 11, 11, 0.58);
}

.dialog-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.dialog-layout img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.dialog-body {
  padding: 1.6rem 1.45rem 1.5rem;
  position: relative;
}

.dialog-body h3 {
  font-size: 2.3rem;
  margin: 0.45rem 0 0.7rem;
}

.dialog-body p + p {
  margin-top: 0.7rem;
}

.dialog-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  font-size: 1.3rem;
  line-height: 1;
}

.legal {
  padding: 3.2rem 0 4.8rem;
  max-width: 76ch;
}

.legal h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  margin: 0.6rem 0 0.8rem;
}

.legal .updated {
  color: var(--muted);
  font-size: 0.92rem;
}

.legal h2 {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 600;
  margin: 2rem 0 0.55rem;
}

.legal p,
.legal li {
  color: var(--ink-soft);
  line-height: 1.65;
}

.legal p + p,
.legal ul,
.legal ol {
  margin-top: 0.75rem;
}

.legal ul,
.legal ol {
  padding-left: 1.2rem;
}

.legal li + li {
  margin-top: 0.35rem;
}

.legal a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 1.2rem;
  font-size: 0.92rem;
}

.back-link:hover {
  color: var(--red);
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 0.84, 0.32, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

.js .statement-line span {
  transform: translateY(110%);
}

.js .statement-line.is-in span {
  transform: none;
  transition: transform 0.9s cubic-bezier(0.16, 0.84, 0.32, 1);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes grow-y {
  to {
    transform: scaleY(1);
  }
}

@keyframes wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes ken {
  to {
    transform: scale(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 14px rgba(197, 1, 43, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(197, 1, 43, 0);
  }
}

@media (max-width: 1100px) {
  .projects-layout,
  .services-layout,
  .studio,
  .cta,
  .contact-grid,
  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 1.6rem;
  }

  .hero-stage {
    min-height: 0;
  }

  .hero-frame {
    height: 68vw;
    min-height: 340px;
  }

  .project-portrait,
  .mosaic {
    min-height: 460px;
  }

  .project-portrait {
    height: 460px;
  }

  .cta-side {
    writing-mode: horizontal-tb;
    transform: none;
    justify-self: start;
  }

  .drawing-wrap {
    max-width: 640px;
  }
}

@media (max-width: 860px) {
  .btn-start {
    display: none;
  }

  .logo,
  .nav-toggle {
    position: relative;
    z-index: 5;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 8rem 12% 3rem;
    gap: 1.15rem;
    transform: translateY(-102%);
    transition: transform 0.4s cubic-bezier(0.16, 0.84, 0.32, 1);
  }

  .site-nav.is-open {
    transform: none;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: 2rem;
  }

  .nav-cta {
    display: inline-flex;
    margin-top: 0.6rem;
  }

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

@media (max-width: 720px) {
  .logo img {
    height: 72px;
  }

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

  .toolbar-meta .hide-sm {
    display: none;
  }

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

  .hero-words {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.7rem 1rem;
    margin: 0.2rem 0 0;
  }

  .mosaic {
    min-height: 0;
    grid-template-rows: 220px 180px;
  }

  .project-portrait {
    height: 360px;
    min-height: 0;
  }

  .studio,
  .cta {
    padding: 2.4rem 1.1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 6.5rem;
  }
}

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

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

  .hero h1 .line,
  .hero-kicker,
  .hero-lead,
  .hero-cta,
  .hero-words li,
  .js .reveal,
  .hero-red,
  .hero-frame,
  .hero-frame img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .js .statement-line span {
    transform: none !important;
  }
}
