/* Homepage and the salon's interactive sample. */
:root {
  --studio-green: #243e33;
  --studio-apricot: #de632e;
  --ledger-ink: #253c33;
  --ledger-muted: #5d6d61;
  --ledger-line: #dce3d8;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-top: clamp(46px, 5.8vw, 84px);
  padding-bottom: clamp(46px, 5.8vw, 84px);
}
.studio-intro { min-width: 0; }
.studio-location, .app-demo-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
}
.studio-location > span, .app-demo-kicker i {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
}
.studio-intro h1 {
  font-size: clamp(42px, 4.95vw, 71px);
  letter-spacing: -.065em;
  line-height: 1.32;
  font-weight: 800;
  margin: 19px 0 20px;
}
.studio-intro h1 span { color: var(--studio-apricot); }
.studio-description { font-size: clamp(13px, 1.1vw, 16px); color: #51574e; line-height: 2; }
.studio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.studio-actions .button, .studio-demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 5px;
}
.studio-actions .button span, .studio-demo-link span { font-size: 17px; }
.studio-demo-link { color: var(--studio-green); border: 1px solid #87978a; background: #f0f3ed; }
.studio-demo-link:hover { background: #e1e9dc; border-color: var(--studio-green); }
.studio-price { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 11px; color: #585b52; }
.studio-price:hover { text-decoration: underline; text-underline-offset: 4px; }
.studio-price span { color: var(--studio-apricot); }
.studio-showcase {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  aspect-ratio: 1.38;
  min-width: 0;
  border-radius: 9px;
  background: #f1d9c0;
  background-image: radial-gradient(#a67e5e42 .8px, transparent .9px), linear-gradient(134deg, #f6e9d8, #eed1af);
  background-size: 7px 7px, 100% 100%;
}
.studio-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  overflow: hidden;
}
.studio-art::before, .studio-art::after {
  content: '';
  position: absolute;
  width: 73%;
  aspect-ratio: 1;
  border: 1px solid #b9876080;
  border-radius: 50%;
  right: -27%;
  top: -28%;
}
.studio-art::after { right: -31%; top: -24%; }
.studio-browser, .studio-tool {
  display: block;
  position: absolute;
  color: #3e4436;
  overflow: hidden;
  transition: transform .23s ease, box-shadow .23s ease;
}
.studio-browser {
  width: 77%;
  left: 6%;
  top: 9%;
  background: #f4f1e9;
  border: 4px solid #fffdf8;
  border-radius: 6px;
  transform: rotate(-5deg);
  box-shadow: 0 14px 32px #6d51302b, 1px 2px 5px #6d51301c;
}
.studio-browser:hover { transform: rotate(-3deg) translateY(-3px); }
.studio-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  padding: 0 10px;
  border-bottom: 1px solid #d8d9cd;
  background: #fbfaf5;
  color: #62675b;
  font-size: 9px;
}
.studio-browser-bar i { width: 4px; height: 4px; border-radius: 50%; background: #a5a69b; box-shadow: 6px 0 #c4c5ba, 12px 0 #dedfd6; }
.studio-browser-bar b { font: 14px Arial,sans-serif; }
.studio-cafe { padding: 4% 6% 6%; }
.studio-cafe-bar, .studio-tool-mast { display: flex; justify-content: space-between; align-items: center; }
.studio-cafe-bar { padding-bottom: 3%; border-bottom: 1px solid #d4d7c8; }
.studio-cafe-bar strong { font: bold clamp(25px, 6.5cqi, 42px)/.9 Georgia,serif; letter-spacing: -.08em; }
.studio-cafe-bar > span { font-size: clamp(5px, 1.2cqi, 8px); letter-spacing: .12em; }
.studio-cafe-spread { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 5%; padding-top: 5%; }
.studio-cafe-spread p { font-size: clamp(5px, 1.35cqi, 9px); letter-spacing: .03em; }
.studio-cafe-spread h2 { font: 500 clamp(16px, 4.5cqi, 30px)/1.6 'Yu Mincho','Hiragino Mincho ProN',serif; letter-spacing: -.035em; margin: 7% 0 10%; }
.studio-cafe-spread div > span { font-size: clamp(6px, 1.35cqi, 9px); padding-bottom: 3px; border-bottom: 1px solid #9b9e90; }
.studio-cafe-spread img { width: 100%; height: auto; aspect-ratio: .99; object-fit: cover; border-radius: 52% 52% 2px 2px; }
.studio-tool {
  bottom: 7%;
  right: 4%;
  width: 47%;
  background: #fffef9;
  border: 3px solid #fffef9;
  border-radius: 7px;
  transform: rotate(5deg);
  box-shadow: 0 15px 30px #4b422e35, 1px 1px 3px #4b422e21;
}
.studio-tool:hover { transform: rotate(2deg) translateY(-3px); }
.studio-tool-mast { padding: 2% 6%; background: var(--studio-green); color: #f4f6eb; font-size: clamp(8px, 1.8cqi, 12px); }
.studio-tool-mast b { font: italic bold clamp(18px, 4.2cqi, 25px)/1.1 Georgia,serif; margin-right: 3px; letter-spacing: -.08em; }
.studio-tool-sheet { padding: 4% 6% 5%; }
.studio-tool-sheet > strong { display: block; font-size: clamp(13px, 3cqi, 20px); line-height: 1.5; margin-bottom: 3%; }
.studio-tool-sheet > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6%; padding: 2.3% 0; border-top: 1px solid #dee0d5; font-size: clamp(7px, 1.7cqi, 11px); }
.studio-tool-sheet b { font-variant-numeric: tabular-nums; }
.studio-tool-sheet i { font-style: normal; color: #3c5c43; font-size: .85em; }
.studio-tool-sheet > div:last-child i { color: #925330; }

#works { border-top: 1px solid var(--line); padding-top: clamp(46px, 5.2vw, 78px); }
#works .section-head { margin-bottom: 19px; }
#works .section-head h2 { line-height: 1.4; }
#works .section-head .eyebrow { color: #71513d; margin-bottom: 12px; }
#works .sample-jump-links { margin-bottom: 22px; }
#works .sample-jump-links a { display: inline-flex; align-items: center; min-height: 42px; }
#works .filter { min-height: 40px; }
#app-demo a:focus-visible, #app-demo button:focus-visible, #app-demo input:focus-visible, #app-demo select:focus-visible {
  outline: 3px solid #a7481b;
  outline-offset: 3px;
}
.app-demo {
  background: #e8ede3;
  color: var(--ledger-ink);
  border-block: 1px solid #d6dfd0;
  padding: clamp(55px, 6.8vw, 98px) 0;
}
.app-demo-layout { display: grid; grid-template-columns: minmax(0, .73fr) minmax(0, 1.27fr); align-items: center; column-gap: clamp(28px, 7vw, 98px); }
.app-demo-intro { grid-column: 1; grid-row: 1; align-self: end; }
.app-demo-kicker { color: #475d4e; }
.app-demo-kicker i { background: #5d795e; }
.app-demo-intro h2 { font-size: clamp(39px, 4.3vw, 60px); line-height: 1.32; letter-spacing: -.06em; margin: 18px 0; }
.app-demo-intro > p:not(.app-demo-kicker) { font-size: 14px; line-height: 2; color: #495b4e; max-width: 34em; }
.app-inquiry { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; min-height: 46px; margin-top: 21px; border-bottom: 1px solid #768c76; font-weight: 700; font-size: 13px; }
.app-inquiry:hover { color: #87502f; border-color: #87502f; }
.app-inquiry span { font-size: 19px; }
.app-demo-example { grid-column: 2; grid-row: 1 / span 2; min-width: 0; width: 100%; }
.ledger { overflow: hidden; background: #fdfdfa; border: 1px solid #b9c7b7; border-radius: 12px; box-shadow: 0 15px 38px #38503b12; }
.ledger-mast { display: flex; align-items: center; justify-content: space-between; padding: 10px clamp(16px, 2.2vw, 30px); background: var(--studio-green); color: #f7f5ea; }
.ledger-brand { display: inline-flex; align-items: baseline; gap: 7px; font-size: 12px; letter-spacing: .04em; }
.ledger-brand b { font: italic 700 31px/.95 Georgia,serif; letter-spacing: -.085em; }
.ledger-mast > span:last-child { font-size: 11px; letter-spacing: .08em; }
.ledger-body { padding: 23px clamp(16px, 2.2vw, 30px) 12px; }
.ledger-heading { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ledger-heading p { font-size: 12px; color: var(--ledger-muted); }
.ledger-heading h3 { font-size: clamp(22px, 2.2vw, 29px); line-height: 1.42; letter-spacing: -.045em; }
.ledger-add, .ledger-submit { background: var(--studio-green); color: white; border: 1px solid var(--studio-green); border-radius: 5px; min-height: 44px; padding: 8px 15px; font-size: 13px; font-weight: 700; }
.ledger-add:hover, .ledger-submit:hover { background: #385b47; }
.ledger button:disabled { cursor: default; opacity: .55; }
.ledger-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 20px 0 12px; }
.ledger-filters button { text-align: left; min-height: 63px; border: 1px solid var(--ledger-line); border-radius: 6px; padding: 9px 13px; color: var(--ledger-muted); background: #fff; line-height: 1.3; }
.ledger-filters button[aria-pressed="true"] { border-color: #6a856e; background: #edf2e7; color: var(--ledger-ink); box-shadow: inset 0 0 0 1px #6a856e; }
.ledger-filters button:hover { border-color: #6a856e; }
.ledger-filters span { display: block; font-size: 12px; font-weight: 600; }
.ledger-filters strong { display: inline-block; margin: 4px 4px 0 0; color: var(--ledger-ink); font: 600 25px/1.1 Arial,sans-serif; font-variant-numeric: tabular-nums; }
.ledger-filters small { font-size: 11px; }
.ledger-list { list-style: none; margin: 0; padding: 0; }
.ledger-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: clamp(10px, 1.6vw, 22px); min-height: 69px; padding: 11px 0; border-top: 1px solid var(--ledger-line); }
.ledger-row time { font: 600 16px/1.3 Arial,sans-serif; font-variant-numeric: tabular-nums; }
.ledger-person { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding-left: 11px; border-left: 2px solid #d5a27d; }
.ledger-person > strong { overflow-wrap: anywhere; font-size: 14px; line-height: 1.45; }
.ledger-person > span { font-size: 11px; color: #536253; line-height: 1.55; }
.ledger-row.is-arrived .ledger-person { border-color: #a6baa1; }
.ledger-toggle { border: 1px solid #a8b8a6; border-radius: 5px; min-height: 42px; padding: 7px 12px; background: #f7f9f2; color: #344d3b; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ledger-toggle:hover { background: #e6eddf; }
.ledger-row.is-arrived .ledger-toggle { background: none; border-color: transparent; color: #546353; text-decoration: underline; text-underline-offset: 3px; }
.ledger-empty { color: var(--ledger-muted); padding: 26px 0; border-top: 1px solid var(--ledger-line); font-size: 13px; text-align: center; }
.app-demo-note { margin: 12px 2px 0; font-size: 11px; line-height: 1.8; color: #536453; }
.ledger-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.ledger-dialog-open { overflow: hidden; }
dialog.ledger-dialog { margin: auto; color: var(--ledger-ink); padding: clamp(20px, 4vw, 30px); background: #fdfdfa; width: min(420px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; border-radius: 10px; }
.ledger-dialog::backdrop { background: #17261dd9; }
.ledger-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.ledger-dialog-head h3 { font-size: 23px; }
.ledger-dialog-head button { min-width: 42px; min-height: 42px; font-size: 23px; line-height: 1; border: 1px solid var(--ledger-line); border-radius: 50%; background: transparent; }
.ledger-dialog #reservation-dialog-help { font-size: 13px; line-height: 1.7; color: var(--ledger-muted); margin: 10px 0 21px; }
.ledger-dialog label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 5px; }
.ledger-dialog label small { color: var(--ledger-muted); font-weight: 400; font-size: 11px; margin-left: 6px; }
.ledger-dialog input, .ledger-dialog select { min-height: 46px; width: 100%; padding: 8px; background: #fff; color: var(--ledger-ink); border: 1px solid #a1afa0; border-radius: 4px; font-size: 16px; }
.ledger-fields { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12px; margin-top: 16px; }
.ledger-fields > div { min-width: 0; }
.ledger-submit { width: 100%; min-height: 48px; margin-top: 24px; display: flex; justify-content: space-between; align-items: center; }

@media (min-width: 761px) and (max-width: 940px) {
  .header { gap: 16px; }
  .desktop-nav { gap: 16px; }
  .studio-break { display: none; }
  .studio-actions { gap: 7px; }
  .studio-actions .button, .studio-demo-link { gap: 7px; padding-inline: 11px; font-size: 12px; }
  .app-demo-layout { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); column-gap: 28px; }
}
@media (max-width: 760px) {
  .studio-hero { grid-template-columns: 1fr; gap: 21px; padding-top: 31px; padding-bottom: 32px; }
  .studio-intro h1 { font-size: clamp(40px, 10.8vw, 64px); line-height: 1.28; margin: 14px 0 13px; }
  .studio-location, .app-demo-kicker { font-size: 11px; gap: 8px; }
  .studio-description { font-size: 13px; line-height: 1.85; }
  .studio-actions { margin: 18px 0 3px; gap: 8px; }
  .studio-actions .button, .studio-demo-link { gap: 10px; padding: 9px 12px; font-size: 12px; }
  .studio-price { min-height: 31px; }
  .studio-showcase { max-width: 470px; width: 100%; justify-self: center; aspect-ratio: 1.41; }
  .studio-browser { top: 8%; width: 75%; border-width: 3px; }
  .studio-cafe-spread h2 { font-size: clamp(11px, 4cqi, 19px); white-space: nowrap; }
  .studio-browser-bar { height: 18px; font-size: 7px; }
  .studio-tool { bottom: 5%; width: 47%; border-width: 2px; }
  #works .section-head > p { margin-top: 12px; }
  #works .section-head .eyebrow { margin-bottom: 8px; }
  #works .sample-jump-links a { font-size: 11px; }
  .app-demo { padding: 46px 0; }
  .app-demo-layout { display: flex; flex-direction: column; align-items: stretch; gap: 18px; }
  .app-demo-intro { align-self: stretch; }
  .app-demo-intro h2 { font-size: clamp(30px, 7vw, 44px); margin: 12px 0 9px; }
  .app-demo-intro h2 br { display: none; }
  .app-demo-intro > p:not(.app-demo-kicker) { font-size: 13px; line-height: 1.85; }
  .app-inquiry { min-height: 44px; margin-top: 0; }
  .ledger-mast { padding: 11px 15px; }
  .ledger-body { padding: 15px 13px 6px; }
  .ledger-filters { gap: 6px; margin: 14px 0 10px; }
  .ledger-filters button { padding: 8px 10px; }
  .ledger-row { gap: 10px; min-height: 65px; }
  .ledger-person { padding-left: 8px; }
  .ledger-toggle { padding-inline: 8px; min-height: 44px; }
  .ledger-row time { font-size: 14px; }
  .app-demo-note { font-size: 11px; }
}
@media (max-width: 365px) {
  .studio-actions .button, .studio-demo-link { gap: 6px; padding-inline: 9px; }
  .studio-description { font-size: 12px; }
  .studio-break { display: none; }
  .ledger-add { padding-inline: 10px; }
  .ledger-filters button { padding-inline: 8px; }
  .ledger-row { gap: 7px; }
  .ledger-toggle { font-size: 11px; padding-inline: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-browser, .studio-tool { transition: none; }
}

/* Featured short film in the portfolio. */
.short-film{padding-block:8px clamp(40px,6vw,84px)}
.film-feature{display:grid;grid-template-columns:minmax(215px,.88fr) 1.12fr;isolation:isolate;background:#f2eee1;color:#253e32;text-decoration:none;border:1px solid #d9d7c7;border-radius:12px;overflow:hidden}
.film-feature-art{min-height:245px;display:grid;grid-template-columns:1.16fr 1fr;overflow:hidden}
.film-feature-art img{display:block;width:100%;height:100%;max-height:305px;object-fit:cover;object-position:50% 48%}
.film-feature-art img+img{object-position:49% 52%}
.film-feature-copy{padding:clamp(23px,4.2vw,58px);align-self:center}.film-feature-copy p{font-size:.9rem;letter-spacing:.06em;font-weight:700;margin:0 0 .65em}
.film-feature-copy h2{font-family:"Hiragino Mincho ProN","Yu Mincho","Noto Serif CJK JP",serif;font-size:clamp(1.6rem,3.25vw,2.8rem);line-height:1.4;margin:0 0 .28em;color:#274c38}
.film-feature-copy>span{font-size:1rem;line-height:1.8;color:#4e5d50}.film-feature-copy strong{display:flex;gap:9px;align-items:center;font-size:1rem;margin-top:1.25em}.film-feature-copy strong b{display:grid;place-items:center;background:#2a4c38;color:white;border-radius:50%;width:27px;height:27px;font-size:.66rem}.film-feature-copy strong small{font-size:.84rem;font-weight:500}.film-feature:hover strong{text-decoration:underline;text-underline-offset:.22em}
@media(max-width:650px){.film-feature{grid-template-columns:1fr}.film-feature-art{min-height:0;height:174px}.film-feature-copy{padding:20px}.film-feature-copy strong{margin-top:.7em}}

.short-film .film-feature + .film-feature { margin-top: 1.2rem; }
