/* Shared responsive finish: content keeps its own space at every breakpoint. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img,
video {
  max-width: 100%;
}
button,
input,
textarea,
select {
  font: inherit;
}
main,
section,
article,
form,
nav {
  min-width: 0;
}
p,
li,
h1,
h2,
h3,
a {
  overflow-wrap: break-word;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(330px, 1fr) auto auto;
  column-gap: 3%;
  row-gap: 32px;
  height: auto;
  min-height: 100svh;
  max-height: none;
  padding-top: 140px;
  padding-bottom: 24px;
  isolation: isolate;
}
.hero-top {
  grid-column: 1/-1;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-copy {
  display: contents;
}
.hero h1 {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  position: relative;
  z-index: 2;
  font-size: clamp(76px, 8.7vw, 150px);
  line-height: 1.04;
  letter-spacing: -0.065em;
  margin: 0;
  padding: 12px 0;
}
.hero h1 .soft {
  color: #b8b8b8;
}
.hero .sculpture {
  position: relative;
  grid-column: 2;
  grid-row: 2;
  left: auto;
  top: auto;
  width: 100%;
  height: 100%;
  min-height: 330px;
  max-height: 680px;
  align-self: center;
  overflow: hidden;
  filter: none;
}
.hero .sculpture canvas {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bottom {
  grid-column: 1/-1;
  grid-row: 3;
  margin: 0;
  position: relative;
  z-index: 2;
  gap: 30px;
  align-items: center;
  pointer-events: auto;
}
.hero-bottom p {
  font-size: 16px;
}
.hero-foot {
  grid-column: 1/-1;
  grid-row: 4;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.hero-foot button {
  min-height: 44px;
}
.hero-foot .scroll-hint {
  font-size: 12px;
}
.hero .canvas-fallback {
  font-size: clamp(150px, 22vw, 350px);
  inset: 10%;
  text-shadow:
    4px 4px #555,
    8px 8px #333;
}
.section,
.inner-site main {
  width: 100%;
}
.project-grid,
.price-grid,
.offer-grid,
.about-story,
.contact-layout,
.industry-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.price-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.project,
.price-card,
.offer-card,
.contact-info,
.contact-form-panel,
.studio-copy,
.process {
  min-width: 0;
}
.project-meta {
  flex-wrap: wrap;
}
.project-meta > span {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.5px;
}
.plan-label,
.eyebrow {
  font-size: 12px;
}
.price-card p,
.price-card ul {
  font-size: 16px;
  line-height: 1.65;
}
.plan-button {
  min-height: 48px;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.button {
  min-height: 48px;
  align-items: center;
  line-height: 1.4;
}
.contact-form-panel textarea {
  min-height: 160px;
  resize: vertical;
}
.contact-form-panel input,
.contact-form-panel select,
.contact-form-panel textarea {
  max-width: 100%;
  min-width: 0;
}
.page-cta .button {
  white-space: normal;
  flex-shrink: 0;
}
.contact-info > a {
  overflow-wrap: anywhere;
}
footer > div {
  flex-wrap: wrap;
}
footer a:not(.brand) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.project-open {
  width: 44px;
  height: 44px;
}
.section-heading > p,
.intro-bottom p,
.service-detail p {
  font-size: 16px;
}
summary h3 {
  min-width: 0;
}
.detail-plus {
  flex-shrink: 0;
}
.contact-title {
  padding-right: 0.7em;
}
@media (min-width: 1800px) {
  .hero {
    padding-left: max(5%, calc((100% - 1620px) / 2));
    padding-right: max(5%, calc((100% - 1620px) / 2));
  }
  .hero h1 {
    font-size: 150px;
  }
}
@media (max-width: 1100px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: clamp(65px, 8.7vw, 100px);
  }
  .hero {
    grid-template-rows: auto minmax(300px, 1fr) auto auto;
    min-height: 800px;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  header nav,
  header .nav-cta {
    display: none;
  }
  header {
    height: 80px;
  }
  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    border: 1px solid #fff3;
    border-radius: 50%;
    background: #2226;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
  }
  .menu-toggle > span {
    height: 1px;
    width: 16px;
    background: #eee;
    transition: transform 0.3s;
  }
  .menu-toggle[aria-expanded='true'] > span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .menu-toggle[aria-expanded='true'] > span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  #mobile-nav:not([hidden]) {
    display: flex;
    position: absolute;
    z-index: 19;
    top: 79px;
    left: 0;
    right: 0;
    background: #111f;
    padding: 20px 6%;
    flex-direction: column;
    border-bottom: 1px solid #fff3;
    gap: 4px;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #mobile-nav a {
    font-size: 22px;
    padding: 12px 0;
    min-height: 48px;
  }
  .inner-site main {
    padding-top: 130px !important;
  }
  .hero {
    padding-top: 115px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-panel {
    max-width: 720px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
    gap: 22px;
    min-height: 100svh;
    height: auto;
    padding: 110px 6% 22px;
  }
  .hero-top {
    grid-row: 1;
  }
  .hero-top .eyebrow {
    font-size: 12px;
  }
  .hero h1 {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(52px, 16.6vw, 108px);
    line-height: 1.02;
    padding: 0;
    letter-spacing: -0.06em;
  }
  .hero .sculpture {
    grid-column: 1;
    grid-row: 3;
    min-height: 0;
    height: clamp(210px, 66vw, 350px);
    margin: -4px 0;
  }
  .hero-bottom {
    grid-row: 4;
    gap: 20px;
    align-items: center;
  }
  .hero-bottom p {
    font-size: 16px;
    max-width: 70%;
  }
  .round-link {
    font-size: 12px;
    gap: 10px;
    text-align: center;
    max-width: 95px;
  }
  .hero-foot {
    grid-row: 5;
    margin-top: 10px;
    gap: 10px;
  }
  .hero-foot .scroll-hint {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .project-grid,
  .price-grid,
  .offer-grid,
  .about-story,
  .industry-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding-left: 6%;
    padding-right: 6%;
  }
  h2 {
    font-size: clamp(34px, 9vw, 52px);
  }
  .inner-site .page-intro h1 {
    font-size: clamp(38px, 10vw, 70px) !important;
  }
  .inner-site .full-portfolio .project-meta h3,
  .project-meta h3 {
    font-size: 20px;
  }
  .project-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .project-meta > span {
    font-size: 12px;
  }
  .eyebrow,
  .section-heading .eyebrow,
  .page-intro .eyebrow,
  .contact .eyebrow {
    font-size: 12px !important;
    letter-spacing: 1px;
  }
  .intro-bottom {
    gap: 24px;
  }
  .intro-bottom p {
    font-size: 16px;
  }
  .mini-brand {
    font-size: 52px;
    letter-spacing: -6px;
  }
  .studio h2 {
    font-size: clamp(52px, 12vw, 75px);
  }
  .service-detail {
    padding-left: 0;
  }
  .service-detail p,
  .tags span {
    font-size: 16px;
  }
  summary {
    gap: 12px;
  }
  summary h3 {
    font-size: clamp(22px, 5.6vw, 29px);
  }
  .contact-title {
    font-size: clamp(48px, 12.8vw, 84px);
  }
  .page-cta h2 {
    font-size: clamp(32px, 8.8vw, 44px);
  }
  .contact-form-panel {
    padding: 24px 18px;
  }
  .full-pricing .price-card,
  .price-card,
  .offer-card {
    padding: 28px 22px;
  }
  .company-strip {
    line-height: 1.6;
  }
  .button {
    gap: 20px;
    max-width: 100%;
  }
  .text-link {
    gap: 20px;
    max-width: 100%;
    line-height: 1.5;
  }
  footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  footer .brand {
    max-width: 100%;
  }
  footer > div {
    gap: 12px;
  }
}
@media (max-height: 650px) {
  .hero {
    min-height: 0;
  }
}
@media (pointer: coarse) {
  .button:hover,
  .project:hover .project-screen {
    transform: none;
  }
  .project-open {
    background: #111c;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero .sculpture {
    opacity: 1;
  }
}

/* Contact copy flows vertically; each line keeps the full available width. */
.contact-info > a {
  width: fit-content;
  max-width: 100%;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: break-word;
}
.founder-credit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 28px !important;
}
.founder-credit strong {
  color: #eee;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.founder-credit span {
  font-size: 14px;
  color: #aaa;
}

/* Founder contact keeps a readable line and a comfortable touch target. */
.founder-credit .founder-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  width: fit-content;
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 5px;
}
