:root {
  --bench: #e5dccb;
  --paper: #f7f2e8;
  --ink: #1c1915;
  --muted: #4e493f;
  --line: #d8cebc;
  --copper: #8a3a12;
  --copper-dark: #6c2c0c;
  --serif: "Liberation Serif", "Nimbus Roman No9 L", "Times New Roman", Times, serif;
  --sans: "Liberation Sans", "Nimbus Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bench);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 2;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--paper);
}

.skip:focus {
  top: 0.75rem;
}

.sheet {
  max-width: 68rem;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 1.25rem 3rem;
  background: var(--paper);
  border-left: 8px solid var(--copper);
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.4rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--copper-dark);
  box-shadow: inset 0 -2px 0 var(--copper);
}

.hero {
  max-width: 40rem;
  padding: 3.2rem 0 1rem;
}

.hero-tight {
  padding-bottom: 0.25rem;
}

.kicker {
  margin: 0;
  color: var(--copper-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0.35rem 0 0.9rem;
  font-size: clamp(2.4rem, 7vw, 4.15rem);
  line-height: 0.98;
}

h2 {
  margin: 2.6rem 0 0.4rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.lead {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.35rem;
  padding: 0 1.15rem;
  border: 0;
  background: var(--copper-dark);
  color: var(--paper);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: #531f08;
}

.button:disabled,
.button[aria-busy="true"] {
  background: var(--copper-dark);
  opacity: 0.65;
  cursor: wait;
}

.service {
  display: grid;
  gap: 0.35rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}

.service h3 {
  margin: 0;
  font-size: 1.35rem;
}

.service p {
  margin: 0;
}

.idx {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact {
  margin-top: 0.5rem;
}

address {
  margin: 0.55rem 0 0.9rem;
  font-style: normal;
  font-size: 1.2rem;
  line-height: 1.4;
}

.text-link {
  color: var(--copper-dark);
  font-weight: 700;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-group h2 {
  margin-top: 2.1rem;
  margin-bottom: 0.35rem;
  font-size: 1.6rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table th,
.price-table td {
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: baseline;
}

.price-table th {
  padding-right: 1.25rem;
  font-weight: 600;
  text-align: left;
}

.price-table thead th {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-table .time {
  color: var(--muted);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.price-table .price {
  padding-left: 1.25rem;
  color: var(--copper-dark);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.price-note {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-back {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.4rem;
}

.site-footer {
  margin-top: 3.5rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0.15rem 0;
}

a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .service {
    grid-template-columns: 16rem 1fr;
    gap: 2rem;
    align-items: baseline;
  }

  .idx {
    display: inline;
    margin: 0 0.55rem 0 0;
  }
}

@media (min-width: 900px) {
  .sheet {
    margin: 2rem auto;
    min-height: calc(100vh - 4rem);
    padding: 0 3rem 4rem;
  }
}

@media (max-width: 640px) {
  .price-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td {
    display: block;
    width: auto;
  }

  .price-table tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .price-table th,
  .price-table td {
    padding: 0;
    border: 0;
  }

  .price-table td {
    margin-top: 0.15rem;
    text-align: left;
  }
}

.messages {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.message {
  padding: 0.8rem 1rem;
  background: #efe6d4;
  border-left: 4px solid var(--copper-dark);
}

.order-form {
  display: grid;
  gap: 1.15rem;
  max-width: 36rem;
  margin-top: 0.5rem;
}

.field label,
.when legend {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.field input,
.field textarea,
.when-date input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  background: #fffdf8;
  color: inherit;
  font: inherit;
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input[type="file"] {
  padding: 0.45rem 0;
  border: 0;
  background: transparent;
}

.help {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.errorlist {
  margin: 0.35rem 0 0;
  padding: 0;
  color: #7a1e16;
  font-weight: 700;
  list-style: none;
}

.when {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 0.25rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.when legend {
  grid-column: 1 / -1;
  padding: 0;
}

.when input[type="radio"] {
  margin-block: 0;
  margin-inline-end: 0;
}

.when-option {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 500;
}

.when-date {
  display: none;
  grid-column: 1 / -1;
  margin: 0.15rem 0 0.2rem 1.2rem;
}

.when-date label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

#when-not-before:checked ~ .when-date {
  display: block;
}

.when .errorlist {
  grid-column: 1 / -1;
}

.field input:focus-visible,
.field textarea:focus-visible,
.when-date input:focus-visible,
.when input:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 2px;
}

.page-home {
  background: radial-gradient(ellipse at top, #efe4d2 0%, var(--bench) 58%);
}

.home-hero {
  display: grid;
  gap: 1.75rem;
  margin: 1.35rem -1.25rem 0;
  padding: 1.9rem 1.35rem 2rem;
  background: var(--ink);
  color: var(--paper);
  border-top: 4px solid var(--copper);
}

.home-hero .kicker {
  color: #e2b496;
}

.home-hero h1 {
  margin-top: 0;
}

.home-hero h1,
.home-hero .lead {
  color: var(--paper);
}

.home-hero .lead {
  max-width: 38rem;
  color: #ddd4c6;
}

.motto {
  margin: 0.75rem 0 0.95rem;
  color: #f3e6d4;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.35;
}

.motto-word {
  position: relative;
  display: inline-block;
}

.motto-word-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.12rem;
  border: 0;
  background: transparent;
  color: #e2b496;
  font: inherit;
  font-style: italic;
  text-decoration: underline dotted;
  text-underline-offset: 0.22em;
  cursor: help;
}

.motto-word-btn:focus-visible {
  outline: 2px solid var(--paper);
  outline-offset: 3px;
}

.motto-tip {
  position: absolute;
  z-index: 3;
  top: calc(100% - 0.15rem);
  left: 0;
  width: max-content;
  max-width: min(18rem, calc(100vw - 2.5rem));
  padding: 0.55rem 0.75rem;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1.4;
  text-align: left;
  box-shadow: 0 8px 22px rgba(28, 25, 21, 0.28);
  opacity: 0;
  pointer-events: none;
}

.motto-tip [lang="he"] {
  unicode-bidi: isolate;
}

.motto-word:hover .motto-tip,
.motto-word:focus-within .motto-tip {
  opacity: 1;
}

.home-book {
  margin: 1.15rem 0 0;
  color: var(--paper);
  font-size: 1.2rem;
  line-height: 1.4;
}

.home-book a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.home-actions .button {
  margin-top: 0;
}

.home-hero .button:not(.button-quiet) {
  background: var(--paper);
  color: var(--ink);
}

.home-hero .button:not(.button-quiet):hover {
  background: #fff;
}

.home-hero .button-quiet {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 1.5px rgba(247, 242, 232, 0.75);
}

.home-hero .button-quiet:hover {
  background: rgba(247, 242, 232, 0.1);
  box-shadow: inset 0 0 0 1.5px var(--paper);
}

.home-hero a:focus-visible {
  outline-color: var(--paper);
}

.home-mark {
  display: none;
}

.home-mark-kicker,
.home-mark-place,
.home-mark-nums {
  margin: 0;
}

.home-mark-kicker {
  color: #e2b496;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-mark-place {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 3.5vw, 3.25rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.home-mark-line {
  display: block;
  width: 3.25rem;
  height: 3px;
  margin: 1.15rem 0 1.05rem;
  background: var(--copper);
}

.home-mark-nums {
  display: flex;
  gap: 1.15rem;
  color: rgba(247, 242, 232, 0.72);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.home-service-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.home-card {
  padding: 1.2rem 1.15rem 1.35rem;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
}

.home-card:hover {
  border-color: #c9bba6;
  border-top-color: var(--copper-dark);
}

.home-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.45rem;
}

.home-card .idx {
  display: block;
  margin: 0 0 0.45rem;
}

.home-card p {
  margin: 0;
  color: var(--muted);
}

.home-contact {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.6rem;
  padding: 1.55rem 1.25rem 1.7rem;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.home-contact h2 {
  margin-top: 0;
}

.home-contact address {
  margin-bottom: 0.15rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  line-height: 1.22;
}

.home-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.home-phone,
.home-map {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  text-underline-offset: 0.18em;
}

.home-phone {
  font-size: 1.2rem;
}

.home-contact .button {
  margin-top: 0.15rem;
}

@media (min-width: 800px) {
  .home-hero {
    grid-template-columns: minmax(0, 1.45fr) minmax(14rem, 0.85fr);
    align-items: stretch;
    gap: 2.5rem;
  }

  .home-mark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.2rem 0 0.15rem 1.5rem;
    border-left: 3px solid var(--copper);
  }

  .home-mark-kicker {
    margin-bottom: 0.85rem;
  }

  .home-contact {
    grid-template-columns: minmax(0, 1.45fr) minmax(14rem, 0.8fr);
    align-items: center;
    gap: 2rem;
    padding: 2rem 2rem 2.15rem;
  }
}

@media (min-width: 900px) {
  .home-hero {
    margin-right: -3rem;
    margin-left: -3rem;
    padding: 2.8rem 3rem 3rem;
  }

  .home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
