:root {
  --paper: var(--studio-ivory);
  --ink: var(--studio-black);
  --muted: #49423b;
  --orange: var(--studio-orange-ink);
  --line: var(--studio-line);
  --serif: Georgia, 'Times New Roman', serif;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .28em; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3, h4, dl, dd { margin: 0; }
p { line-height: 1.6; }
section[id] { scroll-margin-top: 22px; }
.wrap { width: min(92%, 1420px); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 4; padding: 12px; background: var(--paper); }
.skip:focus { top: 12px; }
.logo-link { width: 136px; display: block; }
.chapter, .label {
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.chapter { display: flex; justify-content: space-between; gap: 12px; }
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  min-height: 44px;
  width: fit-content;
  max-width: 100%;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.arrow-link span { color: var(--orange); transition: transform .2s ease; }
.arrow-link:hover span { transform: translate(.18em, -.12em); }



.chapter { align-items: baseline; padding-top: 16px; border-top: 3px solid var(--studio-orange); color: var(--orange); }
.chapter a { text-transform: none; letter-spacing: 0; font-size: .83rem; color: var(--ink); text-align: right; }
h2 { font-size: clamp(2.75rem, 6.7vw, 6.8rem); line-height: .96; }
.work h2 { margin-block: clamp(26px, 4.5vw, 66px); }
.demo-story h3 { line-height: .95; margin: 12px 0 17px; }
.demo-section { color: #fff8ef; background: var(--studio-black); padding: clamp(34px, 6vw, 88px) 0; margin-top: clamp(62px, 10vw, 152px); }
.demo-section .chapter { color: #ff9b55; }
.demo-section .chapter a { color: #fff7ed; }
.demo-heading { display: flex; align-items: end; justify-content: space-between; gap: 22px; margin: clamp(28px, 5vw, 70px) 0 34px; }
.demo-heading p { max-width: 34ch; color: #eddfd5; }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.demo-story {
  display: grid;
  grid-template-columns: 1fr minmax(112px, 43%);
  align-items: center;
  gap: 8px;
  padding: clamp(15px, 3vw, 48px);
  color: #251b1a;
  text-decoration: none;
}
.salon { background: #f6e7f4; --app: #532b51; --screen: #f8f0f7; }
.pizza { background: var(--studio-orange); --app: #903308; --screen: #fff1e0; }
.demo-story h3 { font-size: clamp(1.8rem, 3.65vw, 4rem); }
.demo-go { display: inline-block; border-bottom: 1px solid; padding-block: 7px; font-size: .87rem; font-weight: 700; }
.phone { background: #211c1c; border-radius: 18px; padding: 5px; transform: rotate(5deg); box-shadow: 5px 7px 0 #1d171735; transition: transform .25s ease; }
.demo-story:hover .phone, .demo-story:focus-visible .phone { transform: rotate(0); }
.phone-screen { border-radius: 13px; background: var(--screen); padding: 20px 8px 11px; color: var(--app); display: grid; gap: 8px; position: relative; }
.phone-screen::before { content: ''; position: absolute; top: 5px; left: 35%; width: 30%; height: 5px; border-radius: 5px; background: #211c1c; }
.phone-brand { font-size: clamp(.54rem, 1vw, .72rem); }
.phone-title { font: 700 clamp(.7rem, 1.25vw, 1.05rem)/1.15 var(--serif); }
.phone-option, .phone-action { font-size: clamp(.53rem, .9vw, .73rem); padding: 6px 4px; }
.phone-option { background: #fffaf5; display: flex; justify-content: space-between; gap: 4px; }
.phone-action { text-align: center; background: var(--app); color: white; border-radius: 10px; }
.method { padding-block: clamp(55px, 8vw, 120px); }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 6vw, 100px); margin-top: clamp(28px, 5vw, 70px); }
.method-grid > div > p { max-width: 37ch; margin-top: 22px; }
.steps { border-top: 1px solid var(--line); }
.steps details { border-bottom: 1px solid var(--line); }
.steps summary { display: flex; align-items: baseline; gap: 16px; cursor: pointer; list-style: none; padding: 13px 0; font: 400 clamp(1.35rem, 2.8vw, 2.3rem)/1.1 var(--serif); }
.steps summary::-webkit-details-marker { display: none; }
.steps summary span { font: 700 .74rem Arial, sans-serif; color: var(--orange); }
.steps summary::after { content: '+'; margin-left: auto; color: var(--orange); }
.steps details[open] summary { color: var(--orange); }
.steps details[open] summary::after { content: '−'; }
.steps p { margin: 0 28px 16px; color: var(--muted); }
.contact { background: var(--studio-orange); color: var(--studio-black); }
.contact .arrow-link { background: var(--studio-black); color: white; padding: 7px 14px; border: 0; border-radius: 4px; }
.contact .arrow-link span { color: var(--studio-orange); }
.contact .arrow-link:focus-visible { outline-color: var(--studio-black); }
.contact-inner { display: flex; align-items: end; justify-content: space-between; padding-block: clamp(30px, 5vw, 70px); gap: 20px; }
.contact h2 { font-size: clamp(2.55rem, 5.5vw, 5.6rem); margin-top: 14px; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; font-size: .84rem; }
@media (max-width: 760px) {
  .logo-link { width: 116px; }


  .method-grid { grid-template-columns: 1fr; }

  .demo-heading { display: block; }
  .demo-heading p { margin-top: 15px; }
  .demo-grid { grid-template-columns: 1fr; }
  .demo-story { grid-template-columns: 1fr minmax(112px, 38%); padding: 22px; }
  .phone { max-width: 148px; }
  .contact-inner { display: block; }
  .contact .arrow-link { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.project-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-block: 1px solid var(--line);
}
.project-index a {
  display: grid;
  gap: 5px;
  padding: 13px clamp(10px, 2vw, 24px);
  text-decoration: none;
}
.project-index a + a { border-inline-start: 1px solid var(--line); }
.project-index a:hover { background: #ffe6d4; }
.project-index span { color: var(--orange); font-size: .78rem; }
.project-index strong { font-size: .96rem; line-height: 1.3; }
@media (max-width: 540px) {
  .project-index { grid-template-columns: 1fr; }
  .project-index a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 25px);
}
.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(12px, 2vw, 24px);
  background: var(--project-bg);
  border-top: 3px solid var(--project-accent);
  scroll-margin-top: 24px;
}
.project-card.identity { --project-bg: #f0f6ed; --project-accent: #214c3c; }
.project-card.operations { --project-bg: #fff0e2; --project-accent: #9b3100; border-top-color: var(--studio-orange); }
.project-card.hospitality { --project-bg: #f3e8d7; --project-accent: #5e401d; }
.project-card-image, .project-card-screen { width: 100%; aspect-ratio: 3/2; }
.project-card-image { height: auto; object-fit: contain; }
.project-card-screen {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(8px, 1.2vw, 15px);
  color: #211b17;
  background: #292321;
}
.project-screen-header, .project-screen-report { display: flex; align-items: center; gap: 8px; }
.project-screen-header { justify-content: space-between; color: #fff8f0; font-size: clamp(.73rem, 1.05vw, .94rem); }
.project-screen-header span { color: #ffc396; font-size: .66rem; white-space: nowrap; }
.project-screen-statuses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.project-screen-statuses > div { padding: 6px 5px; border-top: 2px solid #f5843a; background: #fff6ed; }
.project-screen-statuses dt { font-size: clamp(.62rem, .9vw, .8rem); line-height: 1.2; }
.project-screen-statuses dd { margin-top: 3px; font-weight: 700; font-size: clamp(.95rem, 1.9vw, 1.6rem); line-height: 1; }
.project-screen-report { padding: 5px 7px; background: #fff6ed; color: #71320f; }
.project-screen-report svg { width: 24px; height: 24px; flex: none; }
.project-screen-report strong, .project-screen-report small { display: block; font-size: .72rem; line-height: 1.25; }
.project-screen-report small { color: #433830; font-size: .68rem; }
.project-card-copy { display: flex; flex: 1; flex-direction: column; padding-top: 14px; }
.project-card .label, .project-card .arrow-link span { color: var(--project-accent); }
.project-card h3 { margin: 6px 0 8px; font-size: clamp(1.6rem, 2.65vw, 2.65rem); line-height: 1.05; }
.project-card p { font-size: .95rem; line-height: 1.52; }
.project-card .project-actions { display: flex; flex-wrap: wrap; gap: 0 14px; margin-top: auto; padding-top: 8px; }
.project-card .arrow-link { font-size: .85rem; gap: .35em; }
.project-card.operations a:focus-visible { outline-color: var(--project-accent); }
.work + .demo-section { margin-top: clamp(45px, 6vw, 88px); }
@media (max-width: 760px) {
  .project-cards { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: minmax(88px, 34%) minmax(0, 1fr); align-items: start; gap: 12px; }
  .project-card-copy { padding-top: 0; }
  .project-card .label { font-size: .65rem; }
  .project-card h3 { font-size: clamp(1.4rem, 5.1vw, 2rem); }
  .project-card p { font-size: .88rem; }
  .project-card.operations .project-card-screen, .project-card.operations .project-card-copy { grid-column: 1 / -1; }
  .project-card-screen { aspect-ratio: auto; }
}

.project-web-cover {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: #e3d2b8;
}
.project-web-window {
  position: absolute;
  inset: 8% 9% auto;
  max-height: 83%;
  overflow: hidden;
  border: 1px solid #7d8065;
  border-radius: 6px;
  background: #f8f3e7;
  color: #26351f;
  box-shadow: 0 5px 14px #47361f30;
}
.project-web-bar {
  padding: 3% 5%;
  background: #313b2a;
  color: #fff6e5;
  font-size: clamp(.49rem, .7vw, .66rem);
  line-height: 1;
}
.project-web-brand {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline: 5%;
  padding-block: 4%;
  border-bottom: 1px solid #bcb6a1;
  font: 400 clamp(.6rem, 1.1vw, .96rem)/1.15 Georgia, serif;
}
.project-web-brand img { width: 9%; height: auto; }
.project-web-content {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 5%;
  align-items: center;
  padding: 4% 5% 6%;
}
.project-web-content strong { font: 400 clamp(.64rem, 1.5vw, 1.45rem)/1 Georgia, serif; }
.project-web-content img { display: block; width: 100%; height: auto; }
.project-web-textile {
  position: absolute;
  bottom: 6%;
  right: 5%;
  width: 30%;
  height: auto;
  border: 2px solid #f8f3e7;
  box-shadow: 0 3px 7px #47361f40;
}
@media (max-width: 760px) {
  .project-card.hospitality { grid-template-columns: 1fr; }
  .project-card.hospitality .project-web-cover { max-width: 420px; }
  .project-web-content strong { font-size: clamp(.95rem, 4.7vw, 1.6rem); }
}

/* Product mockups: same phones as the interactive demo presentation. */
.demo-story { min-height: 350px; }
.demo-real-phone { width: 100%; max-width: 205px; aspect-ratio: .5; justify-self: center; overflow: hidden; transition: transform .3s ease; }
.demo-real-phone img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.demo-story:hover .demo-real-phone, .demo-story:focus-visible .demo-real-phone { transform: translateY(-5px); }
@media(max-width:760px) { .demo-story { min-height: 310px; } .demo-real-phone { max-width: 160px; } }
@media(prefers-reduced-motion:reduce) { .demo-real-phone { transition: none; } }
