:root {
  --ink: #10120f;
  --muted: #62675e;
  --line: #d9d8cf;
  --paper: #f7f4eb;
  --cream: #fffdf7;
  --sage: #7f927f;
  --clay: #a76f4f;
  --charcoal: #20231f;
  --gold: #b79255;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 58px);
  color: #fffdf7;
  background: linear-gradient(to bottom, rgba(16, 18, 15, 0.62), rgba(16, 18, 15, 0));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fffdf7;
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 18, 15, 0.82) 0%, rgba(16, 18, 15, 0.58) 38%, rgba(16, 18, 15, 0.18) 100%),
    linear-gradient(0deg, rgba(16, 18, 15, 0.78) 0%, rgba(16, 18, 15, 0) 46%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  margin: 0 0 clamp(56px, 11vh, 118px) clamp(20px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 8vw, 94px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 62px);
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-copy {
  max-width: 660px;
  color: rgba(255, 253, 247, 0.84);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.button.primary {
  color: #fffdf7;
  background: var(--ink);
  border-color: var(--ink);
}

.hero .button.primary {
  color: var(--ink);
  background: #fffdf7;
  border-color: #fffdf7;
}

.button.secondary {
  color: #fffdf7;
  border-color: rgba(255, 253, 247, 0.54);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 118px) 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
}

.intro p:last-child {
  padding-top: 22px;
  font-size: 18px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.service-grid,
.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-grid article,
.feature-list > div {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.68);
}

.app-examples {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  background: #f1f4f2;
}

.app-examples .section-heading,
.app-examples .example-grid {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.example-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.example-grid article {
  min-height: 420px;
  padding: 30px;
  background: #fffdf7;
}

.example-graphic {
  display: grid;
  place-items: center;
  height: 176px;
  margin-bottom: 26px;
  border: 1px solid rgba(127, 146, 127, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(127, 146, 127, 0.12), rgba(97, 125, 141, 0.12)),
    #f8faf7;
}

.tablet-frame,
.phone-frame,
.screen-frame {
  position: relative;
  border: 3px solid var(--charcoal);
  background: #fdfbf4;
  box-shadow: 0 18px 34px rgba(32, 35, 31, 0.12);
}

.tablet-frame {
  width: min(260px, 88%);
  height: 128px;
  padding: 10px 12px;
  border-radius: 8px;
}

.tablet-bar,
.screen-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 22px;
  margin-bottom: 9px;
  padding: 0 8px;
  border-radius: 5px;
  color: #fffdf7;
  background: var(--charcoal);
  font-size: 9px;
  font-weight: 800;
}

.ticket-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.ticket-card {
  min-height: 72px;
  padding: 8px 7px;
  border: 1px solid rgba(98, 103, 94, 0.18);
  border-radius: 6px;
  background: rgba(255, 253, 247, 0.88);
}

.ticket-card span,
.ticket-card p {
  display: block;
  margin: 0;
  color: var(--charcoal);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.ticket-card p {
  margin-top: 24px;
  color: var(--muted);
  font-size: 9px;
}

.ticket-card.urgent {
  border-color: rgba(167, 111, 79, 0.42);
  background: rgba(167, 111, 79, 0.12);
}

.ticket-card.ready {
  border-color: rgba(23, 111, 77, 0.32);
  background: rgba(23, 111, 77, 0.1);
}

.phone-frame {
  width: 104px;
  height: 152px;
  padding: 13px 11px;
  border-radius: 18px;
}

.phone-speaker {
  width: 28px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--line);
}

.app-hero {
  height: 39px;
  margin-bottom: 8px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(183, 146, 85, 0.38), rgba(127, 146, 127, 0.26)),
    linear-gradient(90deg, rgba(255, 253, 247, 0.42), rgba(255, 253, 247, 0));
}

.app-title {
  width: 68%;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 999px;
  background: rgba(16, 18, 15, 0.22);
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 18px;
  margin-bottom: 5px;
  padding: 0 5px;
  border-radius: 5px;
  background: rgba(241, 244, 242, 0.9);
}

.app-row span {
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: rgba(98, 103, 94, 0.24);
}

.app-row strong {
  width: 16px;
  height: 6px;
  border-radius: 999px;
  background: rgba(167, 111, 79, 0.38);
}

.app-nav {
  position: absolute;
  right: 12px;
  bottom: 10px;
  left: 12px;
  display: flex;
  justify-content: space-around;
  height: 14px;
  padding-top: 4px;
  border-radius: 999px;
  background: var(--charcoal);
}

.app-nav span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 253, 247, 0.66);
}

.screen-frame {
  display: grid;
  gap: 7px;
  width: min(250px, 88%);
  height: 132px;
  padding: 12px;
  border-radius: 8px;
}

.screen-frame::after {
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: var(--charcoal);
  content: "";
  transform: translateX(-50%);
}

.screen-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-radius: 6px;
  color: var(--charcoal);
  font-size: 11px;
  font-weight: 800;
}

.screen-status span {
  font-size: 12px;
}

.screen-status.ready {
  background: rgba(23, 111, 77, 0.18);
}

.screen-status.cooking {
  background: rgba(183, 146, 85, 0.25);
}

.screen-status.pickup {
  background: rgba(97, 125, 141, 0.24);
}

.example-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.example-grid ul {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.example-grid li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.example-grid li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
  content: "";
}

.idea-builder {
  padding-top: clamp(64px, 8vw, 96px);
}

.idea-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fffdf7;
}

.idea-controls {
  display: grid;
  align-content: start;
  background: var(--charcoal);
}

.idea-tab {
  min-height: 66px;
  padding: 0 22px;
  border: 0;
  border-bottom: 1px solid rgba(255, 253, 247, 0.14);
  color: rgba(255, 253, 247, 0.7);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  cursor: pointer;
}

.idea-tab.active,
.idea-tab:focus {
  color: #fffdf7;
  background: rgba(255, 253, 247, 0.1);
  outline: none;
}

.idea-panel {
  min-height: 320px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(127, 146, 127, 0.12), rgba(183, 146, 85, 0.08)),
    #fffdf7;
}

.idea-panel h3 {
  max-width: 720px;
  font-size: clamp(26px, 3vw, 40px);
}

.idea-panel p {
  max-width: 760px;
  font-size: 17px;
}

.idea-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.idea-points span {
  padding: 10px 12px;
  border: 1px solid rgba(127, 146, 127, 0.32);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 253, 247, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.service-number,
.process-row span {
  display: block;
  margin-bottom: 46px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.image-story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
}

.story-image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
}

.story-image-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.story-copy p {
  max-width: 640px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.metrics div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.metrics strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 48px);
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.work-graphic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.work-graphic div {
  min-height: 116px;
  padding: 18px;
  background: #fffdf7;
}

.work-graphic span {
  display: block;
  margin-bottom: 22px;
  color: var(--clay);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-graphic strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.28;
}

.experience {
  width: 100%;
  max-width: none;
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
  background: var(--paper);
}

.experience .section-heading,
.experience .feature-list {
  width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.feature-list {
  grid-template-columns: repeat(3, 1fr);
}

.feature-list > div {
  min-height: 210px;
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.process-row > div {
  min-height: 230px;
  padding: 28px;
  background: var(--cream);
}

.quote-band {
  padding: clamp(64px, 9vw, 110px) clamp(20px, 8vw, 120px);
  color: #fffdf7;
  background: var(--charcoal);
}

.quote-band p {
  max-width: 980px;
  margin: 0 auto;
  color: #fffdf7;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 5vw, 66px);
  line-height: 1.12;
  text-align: center;
}

.contact {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(34px, 7vw, 88px);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.contact-card:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 18px;
}

.questionnaire {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf7;
  box-shadow: 0 24px 70px rgba(32, 35, 31, 0.08);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label,
.checkbox-group {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  color: var(--ink);
  background: #fbfaf5;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(183, 146, 85, 0.35);
  border-color: var(--gold);
}

.checkbox-group {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf5;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.checkbox-group input {
  width: 16px;
  height: 16px;
  accent-color: var(--sage);
}

.form-button {
  width: 100%;
  min-height: 56px;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.website-field {
  display: none;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-status.success {
  color: #176f4d;
}

.form-status.error {
  color: #b42318;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 32px clamp(20px, 4vw, 58px);
  color: #fffdf7;
  background: #10120f;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
}

@media (max-width: 980px) {
  .site-header {
    position: absolute;
  }

  nav {
    display: none;
  }

  .intro,
  .image-story,
  .contact {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .example-grid,
  .feature-list,
  .process-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .idea-layout {
    grid-template-columns: 1fr;
  }

  .idea-controls {
    grid-template-columns: repeat(2, 1fr);
  }

  .idea-tab {
    text-align: center;
  }

  .story-image-wrap img {
    aspect-ratio: 16 / 10;
  }

  .work-graphic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 860px;
  }

  .hero-image {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(16, 18, 15, 0.84), rgba(16, 18, 15, 0.46)),
      linear-gradient(0deg, rgba(16, 18, 15, 0.88), rgba(16, 18, 15, 0.2));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin-left: 18px;
    margin-bottom: 48px;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .example-grid,
  .feature-list,
  .process-row,
  .work-graphic,
  .metrics,
  .field-row {
    grid-template-columns: 1fr;
  }

  .service-grid article,
  .example-grid article,
  .feature-list > div,
  .process-row > div {
    min-height: auto;
  }

  .idea-controls {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
