:root {
  color-scheme: dark;
  --fire: #d3070c;
  --atrana-fire: #cc0100;
  --atrana-fire-dark: #a00408;
  font-family: Arial, Helvetica, sans-serif;
  background: #08090a;
  color: #f6f5f2;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
body .header.masthead { position: fixed; inset: 0 0 auto; }
.web-pilot .scene { color: #f6f5f2; font: 1rem/normal Arial, Helvetica, sans-serif; color-scheme: dark; }
.web-pilot .header.masthead { background: transparent; }
.scene {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding-top: clamp(18px, 2.3vw, 42px);
  background: #08090a;
}
.stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1672 / 941;
  background: url("atolye-kirmizi.jpg") center / 100% 100% no-repeat;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, #08090a, transparent 6%), linear-gradient(90deg, #07080972, transparent 32%);
}
.intro {
  position: absolute;
  left: clamp(24px, 4.5vw, 100px);
  bottom: 12%;
  width: 26%;
}
.intro h1 {
  font-size: clamp(2.6rem, 4.1vw, 6rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .96;
}
.intro h1 span { display: block; }
.intro p {
  margin-top: .9em;
  font-size: clamp(1rem, 1.52vw, 2.2rem);
  line-height: 1.15;
  color: #e0e1df;
  letter-spacing: -.025em;
}
.surface {
  position: absolute;
  left: 35.8%;
  top: 23%;
  width: 29%;
  font-size: clamp(.9rem, 1.13vw, 1.6rem);
}
.surface h2 {
  font-size: clamp(1.8rem, 3.2vw, 4.85rem);
  margin-bottom: .35em;
  line-height: 1.04;
  letter-spacing: -.05em;
}
.surface h2:focus { outline: none; }
.item-details { border-top: 1px solid #ffffff42; padding-top: 1em; }
.panel-drawing {
  position: absolute;
  left: 108%;
  top: 7%;
  width: 101%;
  aspect-ratio: 1.27;
}
#product-name { font-size: 1.4em; font-weight: 600; letter-spacing: -.025em; }
.quantity-box, .result-quantity {
  display: flex;
  align-items: center;
  gap: .45em;
  margin: .7em 0 .9em;
  font-size: 1.14em;
  min-height: 2.1em;
  color: #d6d7d8;
}
input {
  width: 4.35em;
  min-height: 42px;
  padding: .33em .45em;
  border: 1px solid #81868b;
  border-radius: 3px;
  background: #202327;
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: 650;
}
.result-quantity strong { font-size: 1.4em; color: #fff; }
.confirm, .receipt {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.confirm {
  border: 0;
  border-radius: 3px;
  background: var(--fire);
  color: #fff;
  padding: .72em 1.3em;
}
.confirm:hover { background: #b6080c; }
.confirm:active { transform: translateY(1px); }
.receipt { gap: .55em; }
.receipt span {
  display: grid; place-items: center;
  width: 1.55em; aspect-ratio: 1;
  border-radius: 50%; background: var(--fire);
}
.edit {
  display: block; min-height: 44px; padding: 0;
  background: none; border: 0; color: #dadbdd;
  font-size: .92em; text-decoration: underline; text-underline-offset: .24em;
}
@media (prefers-reduced-motion: no-preference) {
  #work-order:not([hidden]) { animation: received .27s ease-out; }
  @keyframes received { from { opacity: .4; transform: translateY(4px); } }
}
@media (min-width: 851px) and (max-width: 1080px) {
  .surface { top: 19%; }
  .quantity-box, .result-quantity { margin: .4em 0; }
}
@media (max-width: 850px) {
  .scene { display: block; align-content: start; padding-top: 0; background: linear-gradient(155deg, #08090a 26%, #151719); }
  .stage { aspect-ratio: auto; background: none; padding: 0 0 2rem; }
  .stage::before { display: none; }
  .intro {
    position: relative; inset: auto; width: auto;
    display: flex; flex-direction: column; justify-content: end;
    min-height: clamp(220px, 39svh, 365px);
    padding: calc(var(--masthead-space) + 1rem) 6% clamp(1.3rem, 3.4vw, 2rem);
    background: linear-gradient(0deg, #0b0c0e 0, transparent 26%),
      linear-gradient(90deg, #07080ae8, #08090ab3 48%, #08090a15),
      url("atolye-kirmizi.jpg") right 95% / 190% auto no-repeat;
  }
  .intro h1 { font-size: clamp(2.15rem, 7.2vw, 3.7rem); line-height: 1; }
  .intro h1 span { display: inline; }
  .intro p { margin-top: .4em; font-size: 1.12rem; }
  .surface { position: relative; inset: auto; width: 88%; max-width: 640px; margin: 0 auto; padding-top: 1.1rem; border-top: 1px solid #ffffff3a; font-size: 1rem; }
  .surface h2 { font-size: clamp(1.75rem, 5vw, 2.6rem); margin: 0 0 .55em; }
  .line-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4%; }
  .panel-drawing {
    position: static; width: 100%; aspect-ratio: 1.28;
    background: url("atolye-kirmizi.jpg") 94.7% 42.2% / 321% auto no-repeat;
    mask-image: radial-gradient(ellipse 69% 64%, #000 73%, transparent 100%);
  }
  .item-details { border: 0; padding: 0; }
  #product-name { font-size: clamp(1.12rem, 4vw, 1.45rem); }
  .quantity-box, .result-quantity { font-size: 1rem; margin: .55em 0 .7em; }
  .confirm { padding: .65em .85em; }
}

/* Web software service narrative, immediately below the order demo. */
.software-explainer, .software-method { padding-block: clamp(3rem, 6vw, 6rem); }
.software-explainer { background: #efeee9; color: #19191b; }
.explainer-layout, .method-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: clamp(2rem,7vw,7rem); }
.web-definition h2, .method-heading h2 { max-width: 16ch; font: 680 clamp(2.5rem,4.2vw,4.5rem)/1.03 var(--heading,Arial),sans-serif; letter-spacing: -.052em; }
.web-definition p, .method-heading p, .method-card p { line-height: 1.55; text-wrap: pretty; }
.web-definition p { max-width: 48ch; margin-top: 1.2rem; font-size: clamp(1.05rem,1.4vw,1.3rem); }
.web-definition p + p { margin-top: .7rem; color: #565353; font-size: 1rem; }
.web-definition a { display: inline-flex; align-items: center; min-height: 44px; margin-top: .8rem; font-weight: 650; text-decoration: underline; text-decoration-color: #bc101b; text-underline-offset: .3em; }
.order-example { margin: 0; min-width: 0; overflow: hidden; border: 1px solid #363437; border-radius: 6px; background: #171719; color: #faf8f5; }
.order-example figcaption { position: relative; isolation: isolate; display: grid; align-content: end; gap: .25rem; padding: clamp(1.15rem,2.3vw,2rem); min-height: clamp(9.5rem,15vw,15rem); background: #0c0d0e; }
.order-example figcaption::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 39%; background: url("atolye-kirmizi.jpg") 94.7% 42.2% / 321% auto no-repeat; mask-image: linear-gradient(90deg,transparent,#000 25%); }
.order-example figcaption > span { color: #e1deda; font-size: .9rem; }
.order-example figcaption strong { max-width: 9ch; font-size: clamp(1.65rem,2.5vw,2.6rem); line-height: 1.03; letter-spacing: -.04em; }
.order-example dl { margin: 0; padding: 0 clamp(1.15rem,2.3vw,2rem); }
.order-example dl > div { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; padding-block: .95rem; }
.order-example dl > div + div { border-top: 1px solid #444044; }
.order-example dt { color: #c6c3c1; }
.order-example dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.software-method { background: #111113; color: #faf8f5; }
.method-heading p { max-width: 48ch; color: #d2cecb; font-size: clamp(1rem,1.3vw,1.24rem); }
.method-cards { margin-top: clamp(1.6rem,3.2vw,3rem); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.8rem,1.6vw,1.5rem); }
.method-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.15rem,2vw,1.8rem); border: 1px solid #484448; border-radius: 5px; background: #1b1b1e; scroll-margin-top: 1rem; }
.method-card h3 { font-size: clamp(1.45rem,2.1vw,2rem); line-height: 1.1; letter-spacing: -.035em; }
.method-card p { margin-block: 1rem 1.3rem; color: #d2cecb; }
.method-card details { margin-top: auto; border-top: 1px solid #484448; }
.method-card summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; margin-top: .3rem; font-weight: 620; cursor: pointer; list-style: none; }
.method-card summary::-webkit-details-marker { display: none; }
.method-card summary::after { content: ""; width: .8rem; height: .8rem; flex: none; background: linear-gradient(#f49797,#f49797) center / 100% 2px no-repeat,linear-gradient(#f49797,#f49797) center / 2px 100% no-repeat; }
.method-card details[open] summary::after { background-size: 100% 2px, 0 0; }
.method-card summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.method-card ul { padding-inline-start: 1.2rem; margin: .5rem 0 0; color: #d2cecb; }
.method-card li + li { margin-top: .35rem; }
@media (max-width: 52rem) {
  .explainer-layout, .method-heading, .method-cards { grid-template-columns: 1fr; }
  .explainer-layout { gap: 1.75rem; }
  .method-heading { gap: 1.15rem; }
}

body.web-pilot { background: #efeee9; }
.web-pilot .related-services a { text-decoration: underline; text-underline-offset: .24em; text-decoration-color: #af9999; }
