:root {
  --ink: #252525;
  --dark: #41483a;
  --forest: #4c5544;
  --green: #707656;
  --cream: #f2eade;
  --paper: #fbfaf7;
  --gold: #a67b3b;
  --primary: var(--gold);
  --line: #2525252b;
  --line-soft: #25252516;
  --g: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4rem, 7vw, 7rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-btn: 20px;
  --shadow-sm: 0 2px 12px #2525250d;
  --shadow-md: 0 10px 28px #25252512;
  --ease: 180ms ease;
  font-family: "Inter", Arial, sans-serif;
}

body.private {
  --primary: var(--green);
  --cream: #edf0e7;
  background: linear-gradient(180deg, #f4f7f0 0%, #edf0e7 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  overflow-x: hidden;
}

body {
  position: relative;
  margin: 0;
  background: linear-gradient(180deg, #f8f5f1 0%, #f4f1eb 100%);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.65rem, 4.6vw, 4.7rem);
  margin-bottom: 1.35rem;
}

h2 {
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.22rem;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: min(calc(100% - 2 * var(--g)), 1280px);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4rem, 6vw, 6rem);
}

.cream {
  background: var(--cream);
}

.skip {
  position: fixed;
  top: -4rem;
  left: 1rem;
  z-index: 999;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  transition: top var(--ease);
}

.skip:focus {
  top: 1rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 88px;
  background: rgba(251, 250, 247, 0.96);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 1px 0 rgba(37, 37, 37, 0.04);
  backdrop-filter: blur(8px);
}

header.scrolled {
  box-shadow: 0 8px 24px rgba(37, 37, 37, 0.06);
}

.head {
  display: flex;
  align-items: center;
  height: 88px;
  gap: 1.25rem;
}

.brand {
  width: 290px;
  flex-shrink: 0;
  margin: 0;
}

.brand img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.switch {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
  width: 394px;
  height: 60px;
  margin-left: auto;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius-btn) + 4px);
  background: rgba(65, 72, 58, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.switch button {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1 1 50%;
  height: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.switch button:first-child {
  border-radius: var(--radius-btn) 0 0 var(--radius-btn);
}

.switch button:last-child {
  border-radius: 0 var(--radius-btn) var(--radius-btn) 0;
}

.switch button.active {
  z-index: 2;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 18px rgba(166, 123, 59, 0.28);
}

.switch button:not(.active) {
  color: rgba(37, 37, 37, 0.8);
  filter: saturate(0.7) brightness(0.96);
}

.switch button:not(.active):hover {
  filter: saturate(0.9) brightness(1);
}

.menu {
  display: none;
  border: 0;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 1.2rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  margin-left: auto;
  gap: 1.4rem;
  flex: 1 1 auto;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

nav a {
  position: relative;
  flex-shrink: 0;
  padding: 0.6rem 0.2rem;
  color: rgba(37, 37, 37, 0.87);
}

nav a:not(.navcta)::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 1px;
  background: var(--primary);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--ease);
}

nav a:not(.navcta):hover::after,
nav a:not(.navcta):focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a:last-child {
  margin-left: 0.25rem;
  padding: 0.8rem 1.3rem;
  border-radius: var(--radius-btn);
  background: var(--dark);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 400;
  box-shadow: 0 4px 14px rgba(37, 37, 37, 0.14);
  transition: transform var(--ease), box-shadow var(--ease);
}

nav a:last-child:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(37, 37, 37, 0.22);
}

.hero {
  min-height: calc(100vh - 88px);
  padding-top: clamp(4.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(4.5rem, 7vw, 6.5rem);
}

.hero-grid {
  display: grid;
  min-height: 0;
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 5vw;
}

.hero-grid>div,
.split>div,
.service>div,
.contact>* {
  min-width: 0;
}

.hero em {
  color: var(--primary);
  font-style: normal;
}

.lead {
  max-width: 650px;
  font-size: 1.08rem;
  line-height: 1.58;
}

.accent,
.quote {
  position: relative;
  max-width: 560px;
  margin: 1.5rem 0;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.55;
}

.accent::before,
.quote::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.hero-logo {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.hero-logo img {
  max-height: 500px;
  object-fit: contain;
}

.split {
  display: grid;
  align-items: center;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
}

.art,
.portrait {
  min-height: 460px;
}

.art img,
.portrait>img,
.service>img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(0.25) saturate(0.8);
}

ul {
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.5rem;
}

li::before {
  position: absolute;
  top: 1.15rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  content: "";
}

.intro {
  max-width: 760px;
  margin-bottom: 4rem;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.button,
.service a,
.contact-options a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  max-width: 100%;
  min-height: 44px;
  padding: 0.76rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  font-weight: bold;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 37, 37, 0.12);
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.button:hover,
.service a:hover,
.contact-options a:hover {
  box-shadow: 0 8px 20px rgba(37, 37, 37, 0.16);
  transform: translateY(-2px);
}

.button:active,
.service a:active,
.contact-options a:active,
nav a:last-child:active {
  transform: translateY(0);
}

.service {
  display: grid;
  align-items: center;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7vw;
  margin-bottom: 5.5rem;
}

.service.reverse {
  grid-template-columns: 1.2fr 0.8fr;
}

.service.reverse>div {
  order: 2;
}

.service>img {
  min-height: 350px;
}

.service small {
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.service h3 {
  margin: 0.6rem 0 0.85rem;
}

.service p {
  max-width: 34rem;
}

.service a {
  margin-top: 1rem;
}

.switchbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.switchbox h3 {
  margin-bottom: 0.5rem;
}

.switchbox p {
  max-width: 34rem;
  margin-bottom: 0;
}

.steps,
.values,
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.steps {
  align-items: end;
  margin-bottom: 3.6rem;
  padding-top: 1rem;
}

.steps article,
.values article {
  position: relative;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.steps article {
  min-height: 178px;
  padding: 2.8rem 1.35rem 1.25rem;
}

.steps article:nth-child(2) {
  transform: translateY(1.8rem);
}

.steps article:nth-child(3) {
  transform: translateY(3.6rem);
}

.steps b,
.values article>b {
  position: absolute;
  top: -1.65rem;
  left: 50%;
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  transform: translateX(-50%);
}

.steps h3 {
  margin: 0 0 0.85rem;
}

.steps p,
.values p {
  margin: 0;
  font-size: 0.78rem;
}

.portrait {
  position: relative;
}

.about-section {
  display: grid;
  align-items: center;
  max-width: 1160px;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(5rem, 8vw, 7.5rem);
}

.about-portrait {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.about-portrait img {
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 42px rgba(37, 37, 37, 0.08);
}

.about-copy {
  max-width: 620px;
}

.eyebrow {
  margin-bottom: 0.65rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.about-copy h2 {
  margin-bottom: 1rem;
  line-height: 1;
}

.about-copy .lead {
  max-width: 590px;
  margin-bottom: 2rem;
  color: rgba(37, 37, 37, 0.86);
  font-size: 1.08rem;
  line-height: 1.62;
}

.points {
  border-block: 1px solid var(--line);
}

.points p {
  margin: 0;
  padding: 1rem 0;
}

.points p+p {
  border-top: 1px solid var(--line);
}

.about-values {
  display: grid;
  gap: 0;
  border-block: 1px solid var(--line-soft);
}

.about-values article {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem 0;
}

.about-values article+article {
  border-top: 1px solid var(--line-soft);
}

.about-values span {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.about-values h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.about-values p {
  margin: 0;
  padding: 0;
  color: rgba(37, 37, 37, 0.72);
  font-size: 0.92rem;
  line-height: 1.58;
}

.about-statement {
  position: relative;
  max-width: 560px;
  margin: 1.85rem 0 0;
  padding-left: 1.15rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.about-statement::before {
  position: absolute;
  top: 0.2rem;
  bottom: 0.2rem;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
  content: "";
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-left: 2rem;
}

.timeline::before {
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.3rem;
  width: 2px;
  background: var(--line);
  content: "";
}

.timeline article {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.timeline article::before {
  position: absolute;
  top: 50%;
  left: -2.075rem;
  width: 0.85rem;
  height: 0.85rem;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--dark);
  transform: translateY(-50%);
  content: "";
}

.timeline-card {
  padding: 1.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.timeline-card b {
  display: block;
  margin-bottom: 0.6rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-card h3 {
  margin-bottom: 0.6rem;
}

.timeline-card p {
  margin: 0;
  color: rgba(37, 37, 37, 0.72);
  font-size: 0.92rem;
  line-height: 1.58;
}

.timeline aside {
  display: flex;
  align-items: center;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}

.values {
  margin-top: 2.8rem;
}

.values article {
  min-height: 155px;
  padding: 3.4rem 1.5rem 1.25rem;
}

.values svg,
.plane {
  width: 1.65rem;
  height: 1.65rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact {
  display: grid;
  align-items: start;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 7vw;
}

.contact-copy {
  padding-top: 1rem;
}

.contact form {
  padding: clamp(1.5rem, 4vw, 2.2rem);
  border-radius: var(--radius-lg);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.contact form h3 {
  margin-bottom: 1.5rem;
}

.contact label {
  display: block;
  margin: 1rem 0;
  font-size: 0.72rem;
  font-weight: bold;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.76rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

textarea {
  min-height: 90px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 22%, transparent);
}

.contact form .button {
  float: right;
}

.contact form [data-note] {
  clear: both;
  padding-top: 1rem;
  font-size: 0.7rem;
}

.direct-contact {
  margin-top: var(--space);
  text-align: center;
}

.contact-options {
  margin-top: 4.5rem;
  gap: 2rem;
}

.contact-options {
  grid-template-columns: repeat(4, 1fr);
}

.contact-options article {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  border-radius: var(--radius-md);
  background: var(--forest);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 400;
}

.contact-options h3 {
  margin: 0.9rem 0 0.5rem;
  font-size: 1rem;
}

.contact-options p {
  max-width: 15rem;
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
}

footer {
  padding: 2.8rem 0 1.6rem;
  background: var(--forest);
  color: #fff;
  font-family: inherit;
}

.foot {
  display: grid;
  grid-template-columns: 1fr 140px 140px;
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.foot strong {
  display: block;
  margin-bottom: 0.7rem;
}

.foot p {
  max-width: 290px;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
}

.foot a {
  display: block;
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 0.76rem;
}

.copyright {
  padding-top: 1rem;
  border-top: 1px solid #fff8;
  font-size: 0.75rem;
}

.legal-page {
  min-height: 100vh;
  padding-block: clamp(3rem, 7vw, 6rem);
  background: var(--paper);
}

.legal {
  max-width: 860px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 2.25rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
}

.legal h1 {
  margin-bottom: 2.5rem;
}

.legal section {
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.legal h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.legal p {
  max-width: 720px;
}

.legal a:not(.legal-back) {
  color: var(--primary);
  font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (max-width: 1250px) {
  .brand {
    width: 250px;
  }

  .switch {
    width: 300px;
  }

  .switch button {
    min-width: 150px;
  }

  nav {
    gap: 1rem;
    margin-left: 1.2rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 851px) and (max-width: 1250px) {

  header,
  .head {
    height: 80px;
  }

  .head {
    gap: 0.8rem;
  }

  .brand {
    width: 220px;
  }

  .switch {
    width: 330px;
    height: 54px;
  }

  .switch button {
    min-width: 0;
    height: 100%;
    padding-inline: 0.75rem;
    font-size: 0.78rem;
  }

  .menu {
    display: block;
    margin-left: 0.5rem;
  }

  nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
    padding: 2rem var(--g);
    background: var(--paper);
    box-shadow: 0 14px 24px rgba(37, 37, 37, 0.08);
  }

  nav.open {
    display: flex;
  }

  nav a,
  nav a:last-child {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-btn);
    background: var(--primary);
    color: #fff;
  }

  nav a:not(.navcta)::after {
    display: none;
  }
}

@media (max-width: 850px) {
  :root {
    --g: clamp(1rem, 5vw, 1.75rem);
    --space: 3.5rem;
  }

  body {
    line-height: 1.58;
  }

  header,
  .head {
    height: 74px;
  }

  header {
    box-shadow: 0 8px 24px rgba(37, 37, 37, 0.06);
  }

  .head {
    gap: 0.5rem;
  }

  .brand {
    width: 165px;
  }

  .switch {
    width: clamp(13.5rem, 42vw, 18.5rem);
    height: 48px;
    margin-left: auto;
  }

  .switch button {
    min-width: 0;
    height: 100%;
    padding: 0 0.55rem;
    font-size: 0.68rem;
    line-height: 1.12;
    white-space: normal;
  }

  .menu {
    display: block;
    margin-left: 0.5rem;
  }

  nav {
    position: absolute;
    top: 74px;
    right: var(--g);
    left: var(--g);
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0.45rem;
    margin: 0;
    padding: 0.75rem;
    border: 1px solid var(--line-soft);
    border-radius: 0 0 18px 18px;
    background: rgba(251, 250, 247, 0.98);
    box-shadow: 0 18px 34px rgba(37, 37, 37, 0.12);
    white-space: normal;
  }

  nav.open {
    display: flex;
  }

  nav a,
  nav a:last-child {
    margin: 0;
    padding: 0.86rem 1rem;
    border-radius: var(--radius-btn);
    background: rgba(76, 85, 68, 0.08);
    color: var(--ink);
    text-align: center;
    box-shadow: none;
  }

  nav a:last-child {
    background: var(--dark);
    color: #fff;
  }

  nav a:not(.navcta)::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: clamp(2.5rem, 7vw, 4rem);
    padding-bottom: 4rem;
  }

  .hero-grid {
    min-height: auto;
    gap: 2.5rem;
  }

  .hero-grid,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .about-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  .about-copy {
    max-width: none;
  }

  .about-portrait {
    width: min(100%, 440px);
    min-height: 0;
    aspect-ratio: 4 / 4.8;
  }

  .hero-logo {
    min-height: auto;
  }

  .hero-logo img {
    max-height: min(36vh, 260px);
  }

  .art,
  .portrait {
    min-height: 300px;
  }

  .about-portrait {
    min-height: 0;
  }

  .split {
    gap: 2.5rem;
  }

  .intro {
    margin-bottom: 2.75rem;
  }

  .service,
  .service.reverse {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-bottom: 3.25rem;
    padding: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(251, 250, 247, 0.72);
    box-shadow: var(--shadow-sm);
  }

  .service.reverse>div {
    order: 0;
  }

  .service>img {
    min-height: 0;
    max-height: 260px;
    order: -1;
  }

  .steps,
  .values,
  .contact-options {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .steps {
    margin-bottom: 0;
  }

  .steps article,
  .steps article:nth-child(2),
  .steps article:nth-child(3) {
    transform: none;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .timeline article::before {
    left: -1.575rem;
  }

  .timeline-card b {
    color: var(--primary);
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .timeline aside {
    padding: 1.2rem;
  }

  .contact {
    gap: 2rem;
  }

  .contact-copy {
    padding-top: 0;
  }

  .direct-contact {
    margin-top: 4rem;
  }

  .foot {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 8.25rem;
  }

  header,
  .head {
    height: 120px;
  }

  .head {
    align-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding-block: 0.55rem;
  }

  .brand {
    width: min(46vw, 160px);
    flex: 0 1 auto;
  }

  .brand img {
    max-width: 100%;
  }

  .switch {
    order: 3;
    width: 100%;
    max-width: none;
    height: 44px;
    margin: 0.05rem 0 0;
    padding: 3px;
    flex: 0 0 100%;
  }

  .switch button {
    min-height: 36px;
    padding-inline: 0.45rem;
    font-size: 0.69rem;
    line-height: 1.08;
    white-space: normal;
  }

  .menu {
    display: grid;
    min-width: 44px;
    min-height: 44px;
    margin-left: auto;
    place-items: center;
    flex-shrink: 0;
    border-radius: 999px;
  }

  nav {
    top: 120px;
  }

  .hero .button {
    white-space: normal;
    text-align: center;
  }

  .hero {
    position: relative;
    padding-top: 2.2rem;
    padding-bottom: 3.2rem;
  }

  .hero::before {
    position: absolute;
    inset: 0 0 auto auto;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 16%, transparent);
    content: "";
    filter: blur(8px);
    transform: translate(34%, -38%);
    pointer-events: none;
  }

  .hero-grid {
    position: relative;
    gap: 1.5rem;
  }

  .hero-logo {
    justify-content: center;
    padding: 1.1rem;
    border: 1px solid var(--line-soft);
    border-radius: 22px;
    background: rgba(251, 250, 247, 0.62);
  }

  .hero-logo img {
    max-height: 130px;
  }

  .section {
    padding-block: 3.25rem;
  }

  h1 {
    font-size: clamp(1.95rem, 9.2vw, 3.1rem);
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.85rem, 8.8vw, 2.75rem);
  }

  h3 {
    font-size: 1.12rem;
  }

  .lead {
    font-size: 1rem;
  }

  .accent,
  .quote {
    margin: 1.15rem 0;
  }

  .art,
  .portrait {
    min-height: 230px;
  }

  .about-portrait {
    min-height: 0;
  }

  .about-copy .lead {
    margin-bottom: 1.6rem;
    font-size: 1rem;
  }

  .about-values article {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.05rem 0;
  }

  .about-values p {
    font-size: 0.9rem;
  }

  .about-statement {
    margin-top: 1.5rem;
    font-size: 0.98rem;
  }

  .service {
    padding: 0.9rem;
  }

  .service>img {
    max-height: 190px;
  }

  .steps,
  .values,
  .contact-options {
    gap: 2.4rem;
  }

  .steps article {
    min-height: 0;
    padding: 2.45rem 1.1rem 1.2rem;
  }

  .values article {
    min-height: 0;
    padding: 3rem 1.1rem 1.15rem;
  }

  .switchbox {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .contact form {
    padding: 1.15rem;
    border-radius: 18px;
  }

  input,
  textarea {
    min-height: 46px;
    font-size: 1rem;
  }

  textarea {
    min-height: 110px;
  }

  .contact form .button {
    float: none;
  }

  .contact-options {
    margin-top: 2.1rem;
  }

  .contact-options article {
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    background: rgba(251, 250, 247, 0.7);
    box-shadow: var(--shadow-sm);
  }

  .contact-options h3,
  .contact-options p {
    max-width: none;
  }

  .social-icon {
    align-self: flex-start;
  }
}

@media (max-width: 380px) {
  .switch button {
    font-size: 0;
  }

  .switch button::before {
    content: attr(data-short);
    font-size: 0.72rem;
    line-height: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
