.mast {
  min-height: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--ink);
}

.mast-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 40px);
}

.mast-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 670;
  text-decoration: none;
}

.mast-nav a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 4px; }
.mast-nav .mast-nav-work { display: none; }
.mast-contact .arrow { transform: translateY(2px); }

.opening-type {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(220px, 22.4vw, 365px);
  align-items: end;
  gap: 30px;
  padding: clamp(36px, 2.8vw, 49px) 0 clamp(29px, 2.5vw, 44px);
}

.opening h1 {
  font-size: clamp(60px, 8.86vw, 150px);
  line-height: 0.9;
  letter-spacing: -0.067em;
}

.opening h1 span { display: block; white-space: nowrap; }
.opening h1 span + span { padding-top: 0.02em; }

.opening-note { padding-bottom: 3px; }
.opening-note p {
  max-width: 26ch;
  margin-bottom: 22px;
  font-size: clamp(18px, 1.68vw, 30px);
  line-height: 1.28;
  letter-spacing: -0.026em;
  text-wrap: pretty;
}

.dawn {
  --crop-x: 50%;
  --crop-y: 26%;
  --dawn-zoom: 1.019;
  --dawn-focus-x: 64%;
  --dawn-focus-y: 54%;
  position: relative;
  isolation: isolate;
  aspect-ratio: 2.17;
  overflow: hidden;
  background: #1b2b21;
}

.dawn > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--crop-x) var(--crop-y);
  transform-origin: var(--dawn-focus-x) var(--dawn-focus-y);
}

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

@media (prefers-reduced-motion: no-preference) {
  .dawn[data-motion="settled"] > img { transform: scale(var(--dawn-zoom)); }
}

.company { padding: clamp(88px, 8.6vw, 146px) 0 clamp(80px, 7.5vw, 122px); }

.company-type {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.43fr);
  align-items: end;
  gap: 36px;
  padding-top: 23px;
  border-top: 1px solid var(--ink);
}

.company-type h2 { font-size: clamp(47px, 6vw, 101px); line-height: 0.94; }
.company-type p {
  max-width: 37ch;
  justify-self: start;
  padding-bottom: 3px;
  color: var(--muted);
  font-size: clamp(17px, 1.43vw, 23px);
  line-height: 1.42;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.photo-sequence {
  display: grid;
  grid-template-columns: 2.25fr 2.6fr 4.05fr;
  align-items: end;
  gap: clamp(8px, 1.2vw, 20px);
  margin-top: clamp(36px, 4vw, 64px);
}

.photo-sequence figure { background: var(--forest); min-width: 0; overflow: hidden; }
.photo-sequence img { width: 100%; height: 100%; object-fit: cover; }
.photo-light { aspect-ratio: 1.34; }
.photo-light img { object-position: 55% 40%; }
.photo-matter { aspect-ratio: 1.13; }
.photo-matter img { object-position: 57% 50%; }
.photo-life { aspect-ratio: 1.26; }
.photo-life img { object-position: 59% 55%; }

.work { padding: clamp(72px, 7.2vw, 118px) 0 clamp(64px, 6vw, 96px); }
.work-title {
  max-width: 100%;
  padding-bottom: clamp(31px, 3.3vw, 52px);
  font-size: clamp(50px, 6.05vw, 100px);
  line-height: 0.96;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}

.work-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  min-width: 0;
  padding: 26px clamp(22px, 3.2vw, 51px) 28px 0;
  scroll-margin-top: 20px;
}

.work-item + .work-item {
  padding: 26px 0 28px clamp(22px, 3.2vw, 51px);
  border-left: 1px solid var(--rule-dark);
}

.work-identity {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  min-height: 57px;
  color: var(--on-dark-muted);
}

.work-identity .meta { padding-top: 3px; }
.product-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #ff6335;
}

.product-mark img { width: 27px; height: 27px; }

.work-item h3 {
  font-size: clamp(28px, 3.62vw, 60px);
  font-weight: 750;
  letter-spacing: -0.057em;
  line-height: 1;
}

.work-description {
  max-width: 43ch;
  margin: 17px 0 26px;
  color: var(--on-dark-muted);
  font-size: clamp(16px, 1.33vw, 21px);
  line-height: 1.48;
  text-wrap: pretty;
}

.work-link {
  margin-top: auto;
  border-bottom: 1px solid var(--rule-dark);
  color: var(--on-dark);
}

.work-link:hover,
.email-link:hover { border-color: var(--fern); color: var(--fern); }

.contact {
  background: var(--forest-deep);
  padding: clamp(48px, 6.2vw, 98px) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 34px;
}

.contact h2 { font-size: clamp(52px, 6vw, 101px); line-height: 0.94; }
.email-link {
  margin-top: 20px;
  border-bottom: 1px solid var(--rule-dark);
  font-size: 1.125rem;
  color: var(--fern);
}

.work-link .arrow { color: var(--fern); }
.contact .seal-mount { margin-bottom: 1px; }
.contact .seal-mount:hover { border-color: var(--on-dark-muted); }

@media (max-width: 1060px) {
  .opening-type { grid-template-columns: minmax(0, 1fr) 215px; gap: 23px; }
  .opening h1 { font-size: clamp(58px, 8.95vw, 96px); }
}

@media (max-width: 760px) {
  .mast { min-height: 63px; }
  .mast-nav { gap: 19px; }
  .mast-nav .mast-nav-work { display: inline-flex; }
  .mast-nav .mast-nav-wide { display: none; }
  .opening-type { grid-template-columns: 1fr; gap: 20px; padding: 34px 0 27px; }
  .opening h1 { font-size: clamp(39px, 13.95vw, 92px); }
  .opening-note { padding-bottom: 0; }
  .opening-note p { max-width: 38ch; margin-bottom: 15px; font-size: 1.0625rem; line-height: 1.35; }
  .dawn { aspect-ratio: 1.48; --crop-x: 68%; --crop-y: 45%; }
  .company { padding-block: 62px; }
  .company-type { grid-template-columns: 1fr; gap: 18px; padding-top: 19px; }
  .company-type h2 { font-size: clamp(42px, 8.8vw, 65px); }
  .company-type p { max-width: 45ch; padding: 0; }
  .work { padding-block: 58px 54px; }
  .work-title { font-size: clamp(48px, 10.1vw, 74px); line-height: 0.91; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item, .work-item + .work-item { padding: 19px 0 24px; }
  .work-item + .work-item { border-left: 0; border-top: 1px solid var(--rule-dark); }
  .work-identity { min-height: 45px; }
  .work-identity .meta { padding-top: 3px; }
  .product-mark { width: 35px; height: 35px; }
  .product-mark img { width: 23px; height: 23px; }
  .work-item h3 { font-size: clamp(32px, 8.05vw, 43px); }
  .work-description { margin: 13px 0 12px; }
  .contact-grid { grid-template-columns: 1fr; gap: 37px; }
  .contact h2 { font-size: clamp(44px, 9.4vw, 76px); }
  .contact .seal { width: 167px; }
}

@media (max-width: 520px) {
  .dawn {
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 0.91;
    --crop-x: 68%;
    --crop-y: 50%;
  }
  .opening h1 { letter-spacing: -0.071em; }
  .company-break, .contact-break { display: none; }
  .company-type h2 { text-wrap: balance; }
  .photo-sequence {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: stretch;
    margin-top: 29px;
  }
  .photo-light, .photo-matter { aspect-ratio: auto; min-height: clamp(128px, 37vw, 190px); }
  .photo-life { grid-column: 1 / -1; aspect-ratio: 1.13; }
  .contact h2 { text-wrap: balance; }
  .email-link { font-size: 1rem; }
}
