.hero h1 { font-size: clamp(3.6rem, 6vw, 6.5rem); }
.direction-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.direction-card { border: 1px solid var(--rule); background: var(--surface); }
.direction-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.direction-card img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; display: block; }
.direction-copy { display: flex; flex: 1; flex-direction: column; align-items: start; padding: 1.2rem; }
.direction-copy > span:first-child { letter-spacing: .08em; font-size: .82rem; font-weight: 700; }
.direction-copy h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.1; margin: .6rem 0 0; }
.direction-copy p { flex: 1; line-height: 1.5; }
.direction-link { font-size: .9rem; font-weight: 700; text-decoration: underline; text-underline-offset: .25em; }
.direction-card a:hover .direction-link, .business-service:hover .direction-link { color: var(--accent-hover); }
.service-row.business-service {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  padding: .85rem 0;
}
.business-service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.business-service p { margin: 0; }
.cooperation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); padding: 0; list-style: none; gap: .8rem; }
.cooperation-grid a { display: grid; gap: .5rem; height: 100%; padding: 1.1rem; border: 1px solid var(--rule); text-decoration: none; }
.cooperation-grid a:hover { background: var(--wash); }
.cooperation-grid span { line-height: 1.45; }
#directions, #services, #portfolio, #approach, #contact { scroll-margin-top: 6rem; }
@media (max-width: 990px) {
  .direction-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .service-row.business-service { grid-template-columns: 4.25rem minmax(0, 1fr); gap: .45rem .8rem; }
  .business-service img { grid-row: span 3; }
  .business-service .service-title { font-size: 1.15rem; }
  .business-service p, .business-service .direction-link { grid-column: 2; }
}
@media (max-width: 420px) {
  .direction-grid { grid-template-columns: 1fr; }
  .direction-card img { aspect-ratio: 16 / 9; }
}
.business-service p { font-size: .95rem; color: var(--muted); }
.direction-card a:focus-visible, .business-service:focus-visible, .cooperation-grid a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.nav-links [aria-current="page"], .header-contact[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: .35em;
}
.public-detail { padding-block: clamp(2.25rem, 6vw, 5rem); }
.public-detail h1 { font-size: clamp(2.3rem, 6vw, 5rem); line-height: 1.06; margin-top: 0; }
.public-detail .case-photo { display: block; width: 100%; max-height: 30rem; object-fit: cover; margin: 1.5rem 0; }
.public-detail .detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: 1rem; }
.public-detail .card { padding: 1.5rem; border: 1px solid var(--rule); background: var(--surface); }
.public-detail .message { white-space: pre-wrap; overflow-wrap: anywhere; }
.public-lead { font-size: 1.2rem; }
.public-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.public-action { display: inline-block; padding: .7rem 1.1rem; background: var(--accent); color: white; text-decoration: none; }
.home-overview a { margin: .4rem 1rem .4rem 0; }
.section-end { margin-block: 0 2.5rem; }

/* Public brand accents */
.logo-inverse .logo-dot { color: var(--accent-pale); }
.hero-visual { border-radius: 2px; }
.public-action:hover { background: var(--accent-hover); }
.site-header a:focus-visible, main a:focus-visible, main button:focus-visible,
main :is(input, select, textarea):focus-visible, .footer a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.footer a:focus-visible { outline-color: var(--accent-pale); }


/* Editorial photography and warmer typography */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(1.5rem, 5vw, 5rem); }
.hero .eyebrow { font-size: .78rem; letter-spacing: .11em; text-transform: uppercase; margin-bottom: 0; }
.hero h1 { font-size: clamp(3.35rem, 6.1vw, 6.6rem); letter-spacing: -.065em; line-height: .98; }
.hero h1 em { letter-spacing: -.07em; }
.hero-intro { font-size: clamp(1rem, 1.45vw, 1.18rem); }
.hero-visual { overflow: visible; background: none; min-height: 33rem; }
.hero-visual::after { content: none; }
.hero-main { border-radius: 48% 48% 1.35rem 1.35rem / 27% 27% 1.35rem 1.35rem; }
.hero-inset {
  position: absolute;
  width: clamp(7rem, 31%, 12rem);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  left: -1.15rem;
  bottom: -.85rem;
  border: .4rem solid var(--paper);
  border-radius: .6rem;
  box-shadow: 0 .65rem 1.6rem #33241f2e;
  transform: rotate(-7deg);
}
.studio-band h2, .public-detail h1 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.047em; }
.home-overview p { max-width: 38rem; line-height: 1.65; color: var(--muted); }
.direction-card, .public-detail .card, .contact-form { border-radius: 1rem; }
.direction-card img { border-radius: .95rem .95rem 0 0; }
.direction-copy { padding: 1.3rem 1.2rem; }
.direction-copy > span:first-child { color: var(--accent); }
.button-primary, .public-action { border-radius: 999px; }
.button-primary, .underlink, .nav-links a, .header-contact { font-size: .88rem; }

@media (max-width: 940px) {
  .nav-bar { gap: 1rem; }
  .nav-links { gap: .7rem; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; height: clamp(20rem, 70vw, 34rem); }
  .hero-inset { left: -.35rem; }
  .hero-copy { padding-right: 0; }
}
@media (max-width: 440px) {
  .hero h1 { font-size: clamp(2.85rem, 12vw, 3.9rem); }
  .hero-inset { width: 29%; }
}

/* Shared navigation */
.site-header { background: var(--paper); border: 0; }
.site-header .nav-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 82px;
  gap: clamp(1.1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--rule);
}
.site-header .logo { gap: .75rem; }
.site-header .logo-description { border-color: var(--rule); padding-left: .75rem; }
.site-header .nav-links { gap: clamp(.75rem, 2vw, 1.9rem); }
.site-header .nav-links a {
  padding: .7rem 0;
  font-weight: 600;
  white-space: nowrap;
}
.site-header .nav-links a:not(.mobile-contact) {
  border-bottom: 2px solid transparent;
}
.site-header .nav-links [aria-current="page"]:not(.mobile-contact) {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.site-header .header-contact, .site-header .mobile-contact {
  padding: .68rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  line-height: 1.2;
  color: var(--accent);
  text-decoration: none;
}
.site-header .header-contact:hover, .site-header .mobile-contact:hover {
  background: var(--accent);
  color: var(--surface);
}

.editorial-photo { margin-block: 0; }
.editorial-photo img { width: 100%; height: clamp(14rem, 35vw, 29rem); object-fit: cover; border-radius: 1rem; }
.editorial-photo figcaption { margin-top: .7rem; color: var(--muted); font-size: .88rem; }
.about-photo { padding-block: 2rem; }
.cooperation-photo { margin-bottom: 1.5rem; }
.contact-photo { width: min(100%, 25rem); height: clamp(10rem, 20vw, 15rem); object-fit: cover; border-radius: .8rem; margin-top: 1.5rem; }
.portfolio-preview { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3rem); align-items: center; }
.portfolio-preview img { width: 100%; height: clamp(12rem, 30vw, 23rem); object-fit: cover; border-radius: .85rem; }
.portfolio-preview p { color: var(--muted); max-width: 30ch; }
.portfolio-image-label { margin: .5rem 0; font-size: .85rem; color: var(--muted); }

.footer {
  padding: clamp(1.8rem, 4vw, 3.2rem) 0 0;
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--rule);
}
.footer-navigation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: clamp(1.4rem, 6vw, 6rem);
}
.footer-identity p { margin: .65rem 0 0; font-size: .92rem; color: var(--muted); }
.footer-navigation nav { display: grid; grid-template-columns: repeat(2, auto); gap: .65rem 1.35rem; }
.footer-navigation nav a { font-size: .9rem; }
.footer-cta {
  display: inline-block;
  justify-self: start;
  padding: .65rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 700;
}
.footer-cta:hover { border-color: var(--accent); }
.footer-navigation nav a:hover, .footer-bottom a:hover { text-decoration: underline; text-underline-offset: .25em; }
.footer .footer-bottom { margin-top: 1.8rem; border-color: var(--rule); color: var(--muted); font-size: .82rem; }
.footer-utility { display: flex; gap: .7rem 1.25rem; flex-wrap: wrap; }
.footer a:focus-visible { outline-color: var(--accent); }

@media (max-width: 1080px) {
  .site-header .nav-bar { grid-template-columns: 1fr auto; min-height: 74px; }
  .site-header .header-contact { display: none; }
  .site-header .nav-links {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    padding: .85rem 6% 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px #33241f15;
  }
  .site-header .nav-links.nav-open { display: flex; }
  .site-header .nav-links a { font-size: 1rem; }
  .site-header .mobile-contact { display: inline-flex; margin-top: .75rem; }
  .site-header .menu-button {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    background: none;
    color: var(--ink);
    border: 1px solid var(--rule);
    border-radius: 999px;
    padding: .65rem .85rem;
    font-size: .9rem;
  }
  .site-header .menu-button i { width: .9rem; height: .45rem; border-block: 1px solid currentColor; }
}
@media (max-width: 660px) {
  .footer-navigation, .portfolio-preview { grid-template-columns: 1fr; }
  .footer-navigation nav { justify-content: start; gap: .75rem 1.6rem; }
  .footer .footer-bottom { gap: .5rem 1rem; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: no-preference) {
  main { animation: svoda-content-in 470ms cubic-bezier(.21, .68, .24, 1) both; }
  main.is-leaving { animation: svoda-content-out 150ms ease-in both; }
  .hero-visual { animation: svoda-photo-in 680ms cubic-bezier(.21, .68, .24, 1) both; }
  .brief-panel:not([hidden]) { animation: svoda-content-in 240ms ease-out both; }
  .direction-card img, .format-card img { transition: transform 400ms ease; }
  .direction-card a, .format-photo { overflow: hidden; }
  .direction-card a:is(:hover, :focus-visible) img, .format-card:hover img { transform: scale(1.035); }
}

@keyframes svoda-content-in {
  from { opacity: .2; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes svoda-content-out {
  from { opacity: 1; transform: none; }
  to { opacity: .24; transform: translateY(-5px); }
}
@keyframes svoda-photo-in {
  from { opacity: .45; transform: translateY(18px) scale(.98); }
  to { opacity: 1; transform: none; }
}
