/* 2026-10-20 Pen homepage: light studio canvas, one intentional dark delivery chapter.
   Shape rule: 8px for panels and buttons, 4px for image corners. */
:root {
  --page: #f4f5f0;
  --ink: #113e33;
  --muted: #60766c;
  --green: #0e5d46;
  --emerald: #0a7656;
  --gold: #d8b054;
  --line: #d5dfd7;
}
.studio-home { background: var(--page); color: var(--ink); }
.studio-home .wrap { width: min(1280px, calc(100% - 96px)); }
.studio-home .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  color: var(--ink);
  background: #f4f5f0f5;
  border-top: 5px solid var(--gold);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.studio-home .navigation { height: 78px; gap: 36px; }
.studio-home .brand { gap: 12px; }
.studio-home .brand img { width: 54px; height: 54px; }
.studio-home .brand-type { display: grid; align-content: center; }
.studio-home .brand b { font-size: 27px; line-height: 1.18; letter-spacing: -.02em; }
.studio-home .brand small { font-size: 9px; color: var(--muted); letter-spacing: .055em; line-height: 1.4; }
.studio-home .nav-links { gap: clamp(18px, 2vw, 34px); justify-content: flex-end; }
.studio-home .nav-links a { color: var(--ink); font-size: 15px; font-weight: 600; }
.studio-home .nav-links a:not(.nav-cta):hover { color: var(--emerald); }
.studio-home .nav-links a::after { display: none; }
.studio-home .nav-links .nav-cta {
  margin-left: 30px;
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 9px 18px;
  border-radius: 5px;
  background: var(--ink);
  color: #f8fbf7;
  font-size: 14px;
}
.studio-home .nav-links .nav-cta:hover { background: var(--green); color: #f8fbf7; }
.studio-home .nav-toggle { color: var(--ink); }
.studio-home .nav-toggle span { height: 2px; }

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: stretch;
  min-height: min(775px, calc(100dvh - 83px));
  padding-block: 54px 72px;
}
.studio-hero-copy { display: flex; flex-direction: column; min-width: 0; padding-top: 14px; }
.studio-kicker { color: var(--emerald); font-size: 12px; font-weight: 700; letter-spacing: .035em; }
.studio-hero h1 {
  margin-top: clamp(38px, 5.2vw, 76px);
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.22;
  letter-spacing: -.06em;
  font-weight: 780;
  text-wrap: nowrap;
}
.studio-hero-lead { margin-top: clamp(37px, 5vw, 69px); color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.72; }
.studio-hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: clamp(36px, 4.2vw, 59px); }
.studio-button {
  min-width: 190px;
  min-height: 56px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 11px 21px;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.studio-button:hover { background: var(--ink); transform: translateY(-2px); }
.studio-button:active { transform: scale(.98); }
.studio-text-link { display: inline-flex; align-items: center; gap: 14px; font-size: 17px; font-weight: 700; color: var(--green); white-space: nowrap; }
.studio-text-link span { font-size: 22px; transition: transform .2s ease; }
.studio-text-link:hover span { transform: translateX(4px); }
.studio-hero-bottom { display: grid; gap: 3px; margin-top: auto; padding-top: 27px; border-top: 1px solid var(--line); }
.studio-hero-bottom strong { font-size: 16px; }
.studio-hero-bottom span { color: var(--muted); font-size: 13px; }
.studio-feature { min-width: 0; padding: 20px 20px 24px; border-radius: 8px; background: var(--ink); color: #f8fbf7; }
.studio-feature-photo { position: relative; overflow: hidden; height: clamp(320px, 30vw, 445px); border-radius: 4px; background: #2d5a4e; }
.studio-feature-photo::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, #0b2b24bc); pointer-events: none; }
.studio-feature-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78); }
.studio-feature-photo figcaption { position: absolute; z-index: 1; bottom: 23px; left: 25px; right: 25px; font-size: clamp(16px, 1.6vw, 21px); font-weight: 700; }
.studio-feature-body { border-top: 1px solid #6b9483; margin-top: 23px; padding-top: 19px; }
.studio-feature-body h2 { color: #fff; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.025em; }
.studio-feature-body p { margin-top: 8px; color: #bfd3ca; font-size: 13px; }

.project-index { padding-block: 95px 86px; border-top: 8px solid var(--green); }
.project-index-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; padding-bottom: 44px; }
.project-index-head h2 { position: relative; margin-top: 45px; padding-left: 29px; font-size: clamp(49px, 5.3vw, 74px); line-height: 1.16; letter-spacing: -.055em; }
.project-index-head h2::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 3px; width: 6px; border-radius: 4px; background: var(--gold); }
.project-index-head>p { max-width: 360px; padding-bottom: 7px; color: var(--muted); font-size: 17px; line-height: 1.75; }
.project-index-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 26px; border-top: 1px solid var(--line); padding-block: 14px 28px; }
.project-tabs { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); overflow-x: auto; scrollbar-width: none; }
.project-tabs::-webkit-scrollbar { display: none; }
.project-tabs button { position: relative; border: 0; background: transparent; padding: 7px 0 14px; color: var(--muted); font-size: 16px; font-weight: 650; white-space: nowrap; }
.project-tabs button.is-active { color: var(--green); }
.project-tabs button.is-active::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--gold); }
.project-tabs button:hover { color: var(--emerald); }
.project-index-toolbar>p { color: var(--muted); font-size: 12px; text-align: right; white-space: nowrap; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.project-tile { display: block; min-width: 0; height: clamp(310px, 36vw, 470px); position: relative; overflow: hidden; border-radius: 5px; background: #d9e4db; color: #fff; isolation: isolate; }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-tile.project-licensed img { object-position: left center; }
.project-tile-shade { position: absolute; z-index: 0; inset: 25% 0 0; background: linear-gradient(transparent, #113e33d9); }
.project-tile.project-licensed .project-tile-shade { inset: 0; background: linear-gradient(90deg, #113e3378, #113e33cb); }
.project-tile-label { position: absolute; z-index: 1; top: 20px; left: 22px; font-size: 13px; font-weight: 700; text-shadow: 0 1px 4px #0b2f28; }
.project-tile-copy { position: absolute; z-index: 1; left: 25px; right: 25px; bottom: 29px; display: grid; gap: 3px; }
.project-tile-copy strong { font-size: clamp(25px, 2.6vw, 38px); line-height: 1.19; letter-spacing: -.02em; }
.project-tile-copy small { font-size: 13px; font-weight: 500; color: #e8f0e9; }
.project-tile:focus-visible { outline-offset: 5px; }
.project-tile:hover img { transform: scale(1.035); }
.licensed-notice { color: var(--muted); font-size: 13px; margin-block: 0 25px; }
.licensed-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 22px; }
.licensed-card { display: block; min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.licensed-card-image { display: block; overflow: hidden; border-radius: 5px; background: #e0e8e1; aspect-ratio: 4 / 3; }
.licensed-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.licensed-card:hover img { transform: scale(1.03); }
.licensed-card-category { display: block; color: var(--emerald); font-size: 11px; font-weight: 650; margin-top: 12px; }
.licensed-card strong { display: block; color: var(--ink); font-size: 17px; margin-top: 2px; line-height: 1.35; }
.licensed-card small { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.licensed-message { grid-column: 1 / -1; border: 1px solid var(--line); padding: 28px; color: var(--muted); }
.licensed-more { display: block; margin: 33px auto 0; padding: 11px 20px; border: 1px solid var(--green); border-radius: 5px; background: transparent; color: var(--green); font-weight: 650; }
.licensed-more:hover { background: var(--green); color: #fff; }
.project-index-footer { display: flex; justify-content: space-between; gap: 30px; align-items: center; margin-top: 46px; padding-top: 23px; border-top: 1px solid var(--line); }
.project-index-footer strong { font-size: 18px; }
.project-index-footer a { color: var(--green); font-size: 16px; font-weight: 700; white-space: nowrap; }
.project-index-footer a:hover { text-decoration: underline; }

.delivery-story { background: var(--ink); color: #f8fbf7; padding-block: 105px; }
.delivery-story-layout { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(40px, 7vw, 100px); align-items: stretch; }
.delivery-story .studio-kicker { color: var(--gold); }
.delivery-story h2 { margin-top: 72px; color: #fff; font-size: clamp(49px, 5vw, 70px); line-height: 1.2; letter-spacing: -.055em; }
.delivery-intro { max-width: 560px; margin-top: 49px; color: #c2d7ce; font-size: 18px; line-height: 1.8; }
.delivery-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 102px 0 0; border-top: 1px solid #5e8b79; }
.delivery-track li { position: relative; min-width: 0; padding: 26px 12px 0 0; }
.delivery-track li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.delivery-track li::after { content: "0" counter(step); display: block; margin-bottom: 15px; color: var(--gold); font-weight: 700; font-size: 13px; }
.delivery-track { counter-reset: step; }
.delivery-track li { counter-increment: step; }
.delivery-track li span { display: block; font-size: 19px; font-weight: 700; }
.delivery-track li small { display: block; margin-top: 4px; color: #bed3ca; font-size: 11px; line-height: 1.6; }
.delivery-story-visual { display: grid; grid-template-rows: 330px 250px; gap: 20px; min-width: 0; }
.delivery-product { display: grid; grid-template-columns: 1fr 185px; align-items: center; gap: 10px; overflow: hidden; }
.delivery-product img { grid-column: 2; grid-row: 1; width: 185px; height: 326px; object-fit: contain; object-position: top; background: #f8fbf7; border: 5px solid #f8fbf7; border-radius: 18px; }
.delivery-product figcaption { grid-column: 1; grid-row: 1; align-self: end; padding-bottom: 30px; color: #c2d7ce; font-size: 12px; text-align: right; }
.delivery-workspace { position: relative; overflow: hidden; border-radius: 5px; }
.delivery-workspace img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.delivery-workspace figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 23px 20px; color: #fff; font-weight: 650; font-size: 14px; background: linear-gradient(transparent, #082c24bd); }

/* Bring the retained service, social-proof, pricing and contact modules into the new canvas. */
.studio-home .services-section { background: var(--page); border-top: 0; }
.studio-home .reviews-section, .studio-home .about-section, .studio-home .pricing-section { border-top-color: var(--line); }
.studio-home .contact-section { background: #e6ede6; }
.studio-home .footer { background: var(--page); }
.studio-home .button-primary { background: var(--green); }
.studio-home .button-primary:hover { background: var(--ink); }

@media (max-width: 1100px) {
  .studio-home .navigation { gap: 18px; }
  .studio-home .brand b { font-size: 23px; }
  .studio-home .brand img { width: 48px; height: 48px; }
  .studio-home .nav-links { gap: 15px; }
  .studio-home .nav-links .nav-cta { margin-left: 8px; }
  .studio-hero { gap: 40px; min-height: 0; }
  .studio-hero h1 { font-size: clamp(46px, 5.4vw, 65px); }
  .project-index-head h2 { font-size: clamp(49px, 5.5vw, 64px); }
  .delivery-story h2 { font-size: clamp(48px, 5vw, 60px); }
  .delivery-track { margin-top: 70px; }
}
@media (max-width: 800px) {
  .studio-home .wrap { width: min(100% - 48px, 640px); }
  .studio-home .navigation { height: 72px; }
  .studio-home .brand b { font-size: 22px; }
  .studio-home .brand small { display: none; }
  .studio-home .nav-toggle { display: block; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 5px; }
  .studio-home .nav-links { top: 76px; display: none; grid-template-columns: 1fr; gap: 0; padding: 12px 24px 22px; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px #113e3320; }
  .studio-home .nav-links.open { display: grid; grid-template-columns: 1fr; }
  .studio-home .nav-links a { font-size: 16px; padding: 12px 0; }
  .studio-home .nav-links .nav-cta { margin: 12px 0 0; justify-content: center; padding: 10px 18px; }
  .studio-hero { display: flex; flex-direction: column; gap: 45px; padding-block: 39px 72px; }
  .studio-hero-copy { padding-top: 0; }
  .studio-kicker { font-size: 11px; }
  .studio-hero h1 { margin-top: 40px; font-size: clamp(39px, 9.8vw, 61px); line-height: 1.25; letter-spacing: -.055em; }
  .studio-hero-lead { margin-top: 45px; font-size: 15px; line-height: 1.8; }
  .studio-hero-actions { gap: 22px; margin-top: 50px; }
  .studio-button { min-width: 166px; min-height: 54px; font-size: 15px; }
  .studio-text-link { font-size: 15px; }
  .studio-hero-bottom { display: none; }
  .studio-feature { padding: 13px 13px 23px; }
  .studio-feature-photo { height: clamp(260px, 86vw, 530px); }
  .studio-feature-photo figcaption { left: 17px; bottom: 18px; font-size: 16px; }
  .studio-feature-body { margin-top: 18px; padding-top: 16px; }
  .studio-feature-body h2 { font-size: 20px; }
  .project-index { padding-block: 64px 66px; border-top-width: 5px; }
  .project-index-head { display: block; padding-bottom: 30px; }
  .project-index-head h2 { margin-top: 42px; padding-left: 20px; font-size: clamp(43px, 10.5vw, 62px); }
  .project-index-head h2::before { width: 5px; }
  .project-index-head>p { padding: 0; margin-top: 36px; font-size: 15px; }
  .project-index-toolbar { display: block; padding-block: 12px 25px; }
  .project-tabs { gap: 28px; }
  .project-tabs button { font-size: 15px; }
  .project-index-toolbar>p { display: none; }
  .project-gallery { grid-template-columns: 1fr; gap: 18px; }
  .project-tile { height: min(380px, 93vw); }
  .project-tile-copy strong { font-size: clamp(25px, 7vw, 38px); }
  .licensed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .licensed-card strong { font-size: 14px; }
  .project-index-footer { display: grid; gap: 14px; margin-top: 34px; }
  .project-index-footer strong { font-size: 16px; }
  .project-index-footer a { font-size: 15px; }
  .delivery-story { padding-block: 73px; }
  .delivery-story-layout { grid-template-columns: 1fr; gap: 36px; }
  .delivery-story h2 { margin-top: 42px; font-size: clamp(43px, 9vw, 58px); }
  .delivery-intro { margin-top: 33px; font-size: 15px; }
  .delivery-track { margin-top: 53px; }
  .delivery-story-visual { grid-template-rows: 310px 210px; }
  .delivery-product { grid-template-columns: 1fr 165px; }
  .delivery-product img { width: 165px; height: 295px; }
}
@media (max-width: 470px) {
  .studio-home .wrap { width: calc(100% - 40px); }
  .studio-home .brand img { width: 46px; height: 46px; }
  .studio-home .brand b { font-size: 21px; }
  .studio-hero { gap: 38px; }
  .studio-hero h1 { font-size: clamp(37px, 9.7vw, 47px); }
  .studio-hero-lead { font-size: 14px; }
  .studio-button { min-width: 0; padding-inline: 18px; font-size: 14px; }
  .studio-text-link { font-size: 14px; }
  .project-index-head h2 { font-size: clamp(40px, 10.2vw, 49px); }
  .project-tabs { gap: 23px; }
  .project-tabs button { font-size: 14px; }
  .project-tile { height: min(325px, 87vw); }
  .licensed-grid { grid-template-columns: 1fr; }
  .licensed-card-image { aspect-ratio: 16 / 10; }
  .delivery-story h2 { font-size: clamp(38px, 9.3vw, 47px); }
  .delivery-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 0; }
  .delivery-track li:nth-child(3), .delivery-track li:nth-child(4) { border-top: 1px solid #5e8b79; padding-top: 28px; }
  .delivery-track li:nth-child(3)::before, .delivery-track li:nth-child(4)::before { top: -5px; }
  .delivery-story-visual { grid-template-rows: 260px 180px; }
  .delivery-product { grid-template-columns: 1fr 145px; }
  .delivery-product img { width: 145px; height: 258px; }
}
@media (prefers-reduced-motion: no-preference) {
  .studio-feature { animation: studio-enter .45s cubic-bezier(.2,.7,.2,1) both; }
  .studio-observed { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .studio-observed.studio-visible { opacity: 1; transform: none; }
  @keyframes studio-enter { from { opacity: .75; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .studio-home *, .studio-home *::before, .studio-home *::after { animation: none !important; transition-duration: 0ms !important; scroll-behavior: auto !important; }
  .studio-observed { opacity: 1; transform: none; }
}
