/* Alley Park Flooring - shared stylesheet */
:root {
  --paper: #F6EFDF;
  --cream: #FBF6EA;
  --cream-dk: #E8DCC0;
  --ink: #292524;
  --ink-soft: #4A4440;
  --blue: #4F6178;
  --blue-dk: #3A4859;
  --oak: #D4A574;
  --oak-lt: #E6C79F;
  --sage: #A8B5A0;
  --sage-dk: #5F6F57;
  --red: #A63D2A;
  --red-dk: #7C2B1D;
  --brown: #7A5230;
  --ok-bg: #DFE6D9;
  --err-bg: #F4DDD6;
  --slab: Rockwell, "Rockwell Std", Arvo, "Courier New", serif;
  --body: Georgia, "Times New Roman", serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --gut: 12px;
  --star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.7 7.3L12 17.8 5.7 21.5l1.7-7.3L2 9.5l7.1-.6z' fill='%23A8B5A0' stroke='%237A5230' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
  --star-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l2.9 6.9 7.1.6-5.4 4.7 1.7 7.3L12 17.8 5.7 21.5l1.7-7.3L2 9.5l7.1-.6z' fill='%23D4A574' stroke='%23FBF6EA' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font: 17px/1.6 var(--body);
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .32 0 0 0 0 .18 0 0 0 .1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}

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

a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: var(--cream); padding: 8px 12px; border: 2px solid var(--brown); }

/* ---------- page column ---------- */
.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 12px var(--gut) 0;
  border-left: 3px dashed var(--oak);
  border-right: 3px dashed var(--oak);
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--slab); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: 31px; margin: 0 0 16px; }
h2 { font-size: 25px; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 24px 0 8px; }
p { margin: 0 0 16px; }
strong { font-weight: 700; }

.script { font-family: var(--script); font-weight: 400; color: var(--brown); font-size: 27px; line-height: 1.2; margin: 0 0 8px; transform: rotate(-2deg); transform-origin: left; display: inline-block; }
.lead { font-size: 1.1em; }
.small { font-size: 15px; color: var(--ink-soft); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  font: 700 18px/1.2 var(--slab);
  text-decoration: none;
  text-align: center;
  border: 2px solid;
  border-radius: 6px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), 3px 3px 0 var(--ink);
  cursor: pointer;
  transition: transform .1s ease, box-shadow .1s ease, background-color .15s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .18), 1px 1px 0 var(--ink); }
.btn svg { flex: none; }
.btn-red { background: var(--red); color: #FFF8EC; border-color: var(--red-dk); }
.btn-red:hover { background: #B4452F; color: #FFF8EC; }
.btn-oak { background: var(--oak); color: var(--ink); border-color: var(--brown); }
.btn-oak:hover { background: var(--oak-lt); color: var(--ink); }
.btn-big { min-height: 64px; font-size: 22px; padding: 12px 24px; width: 100%; }

/* ---------- header sign ---------- */
.sign {
  position: relative;
  padding: 22px 20px;
  color: var(--cream);
  border-radius: 6px;
  box-shadow: 3px 4px 0 var(--brown);
  background:
    radial-gradient(circle, #EFE4CB 0 2.4px, #2D3846 3px, transparent 3.8px) left 9px top 9px / 10px 10px no-repeat,
    radial-gradient(circle, #EFE4CB 0 2.4px, #2D3846 3px, transparent 3.8px) right 9px top 9px / 10px 10px no-repeat,
    radial-gradient(circle, #EFE4CB 0 2.4px, #2D3846 3px, transparent 3.8px) left 9px bottom 9px / 10px 10px no-repeat,
    radial-gradient(circle, #EFE4CB 0 2.4px, #2D3846 3px, transparent 3.8px) right 9px bottom 9px / 10px 10px no-repeat,
    repeating-linear-gradient(178deg, rgba(0, 0, 0, .05) 0 2px, transparent 2px 11px),
    var(--blue);
}
.sign::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 2px solid var(--cream);
  border-radius: 3px;
  pointer-events: none;
}
.sign-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--cream); text-decoration: none; }
.brand:hover { color: var(--cream); }
.brand img { width: 64px; height: 64px; border: 3px solid var(--cream); border-radius: 4px; background: #fff; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font: 700 23px/1.15 var(--slab); }
.brand-loc { font: 400 15px/1.4 var(--slab); color: var(--cream-dk); letter-spacing: .04em; margin-top: 2px; }
.header-call { width: 100%; }

/* ---------- bunting ---------- */
.bunting { margin: -2px 6px 0; }
.bunting svg { width: 100%; height: auto; display: block; }

/* ---------- nav tabs ---------- */
.tabs { margin-top: 4px; }
.tabs ul {
  list-style: none;
  margin: 0;
  padding: 0 4px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 5px;
  border-bottom: 6px solid var(--blue);
}
.tabs li { flex: 1 1 30%; }
.tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 8px;
  white-space: nowrap;
  font: 400 16px/1.2 var(--slab);
  color: var(--ink);
  text-decoration: none;
  background: var(--oak);
  border: 2px solid var(--brown);
  border-bottom-width: 0;
  border-radius: 9px 9px 0 0;
  transition: background-color .15s ease, color .15s ease;
}
.tabs li:nth-child(2) a { border-radius: 7px 11px 0 0; }
.tabs li:nth-child(4) a { border-radius: 11px 8px 0 0; }
.tabs a:hover { background: var(--oak-lt); color: var(--red); }
.pg-home .t-home,
.pg-services .t-services,
.pg-about .t-about,
.pg-work .t-work,
.pg-contact .t-contact {
  background: var(--cream);
  font-weight: 700;
  box-shadow: inset 0 -5px 0 var(--red);
}

/* ---------- main + sections ---------- */
main { padding: 24px 0 8px; }
.section { margin: 0 0 40px; }
.section > :last-child { margin-bottom: 0; }

.wavy {
  border: 0;
  height: 16px;
  margin: 8px 0 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16'%3E%3Cpath d='M2 9c14-6 22 3 37-1s19-6 31-1 26 5 38-2 21-1 33 3 17-3 30-4 25 6 39 2 18-6 29-3 23 4 36 0 12-3 21 1' fill='none' stroke='%237A5230' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6 11c12-3 25 2 36-1s23-5 34 0 20 2 33-2 24 0 31 3 22-2 33-3 19 4 34 2 20-4 33-2 21 3 32 0' fill='none' stroke='%237A5230' stroke-opacity='.35' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0 / 300px 16px;
}
.wavy.alt { background-position: -117px 0; transform: scaleY(-1); }

ul.stars { list-style: none; padding: 0; margin: 0 0 16px; }
ul.stars li {
  padding-left: 30px;
  margin-bottom: 10px;
  background: var(--star) no-repeat 0 .25em / 19px 19px;
}
ul.stars li:nth-child(3n+2) { background-position: 1px .32em; background-size: 17px 17px; }

.star-h { padding-left: 32px; background: var(--star) no-repeat 0 .02em / 23px 23px; }

/* ---------- page head (inner pages) ---------- */
.page-head { margin-bottom: 32px; }
.page-head .btn { margin-top: 8px; }

/* ---------- home intro ---------- */
.intro { display: grid; gap: 28px; align-items: center; margin-bottom: 40px; }
.trust {
  font: 700 14px/1.4 var(--slab);
  letter-spacing: .02em;
  color: var(--blue-dk);
  border-top: 2px solid var(--oak);
  border-bottom: 2px solid var(--oak);
  padding: 8px 0;
  margin: 0 0 16px;
}
.intro .btn-big { margin: 8px 0 12px; }

/* ---------- print frames ---------- */
.print {
  margin: 0;
  background: #fff;
  padding: 10px 10px 8px;
  border: 1px solid #DCCFB6;
  box-shadow: 2px 3px 0 rgba(41, 37, 36, .2), 0 1px 6px rgba(41, 37, 36, .08);
  transform: rotate(1.5deg);
}
.print figcaption { font: italic 15px/1.4 var(--body); text-align: center; padding: 8px 4px 2px; color: var(--ink-soft); }
.tilt-l { transform: rotate(-1.8deg); }
.tilt-r { transform: rotate(1.1deg); }
.tilt-s { transform: rotate(-.6deg); }

.photo-row { display: grid; gap: 28px; margin: 24px 0; }

/* ---------- grids / cards ---------- */
.grid2 { display: grid; gap: 8px 32px; }
.grid2 h3 { margin-top: 16px; }
.cols2 { display: grid; gap: 24px; }

.card {
  background: var(--cream);
  border: 2px solid var(--brown);
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 24px;
  box-shadow: 3px 3px 0 rgba(122, 82, 48, .35);
}
.card h2 { margin-bottom: 12px; }
.card > :last-child { margin-bottom: 0; }
.card:nth-child(odd) { margin-left: 2px; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-family: var(--slab); font-size: 17px; }
.card-links a { display: inline-flex; align-items: center; min-height: 44px; }
.quote-link { font-weight: 700; color: var(--red); }

/* ---------- call band ---------- */
.band {
  display: block;
  margin: 0 calc(var(--gut) * -1) 40px;
  padding: 24px 16px;
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  border-top: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  background:
    repeating-linear-gradient(180deg, transparent 0 38px, rgba(122, 82, 48, .45) 38px 40px),
    repeating-linear-gradient(92deg, rgba(122, 82, 48, .07) 0 1px, transparent 1px 9px),
    linear-gradient(180deg, #D9AC7E, var(--oak) 60%, #CC9C69);
}
.band:hover { color: var(--ink); }
.band-q { display: block; font: 700 23px/1.25 var(--slab); margin-bottom: 12px; text-shadow: 0 1px 0 rgba(255, 255, 255, .35); }
.band .btn { pointer-events: none; }
.band:hover .btn { background: #B4452F; }

/* ---------- panels ---------- */
.panel {
  padding: 24px 20px;
  border-radius: 6px;
  border: 2px solid;
  box-shadow: 4px 4px 0 var(--brown);
}
.panel-blue { background: var(--blue); color: var(--cream); border-color: var(--blue-dk); }
.panel-blue h2, .panel-blue h3 { color: var(--cream); }
.panel-blue a:not(.btn) { color: var(--cream); }
.panel-blue a:not(.btn):hover { color: var(--oak-lt); }
.panel-blue ul.stars li { background-image: var(--star-cream); }
.panel-oak { background: var(--oak); color: var(--ink); border-color: var(--brown); box-shadow: 4px 4px 0 var(--ink); }
.panel-oak a:not(.btn) { color: var(--ink); }
.panel .btn { margin: 8px 0 16px; }

.areas { columns: 1; }

/* ---------- steps ---------- */
ol.steps { list-style: none; margin: 0 0 16px; padding: 0; counter-reset: step; }
ol.steps li { counter-increment: step; display: grid; grid-template-columns: 56px 1fr; gap: 16px; margin-bottom: 24px; }
ol.steps li::before {
  content: counter(step);
  font: 700 52px/1 var(--slab);
  color: var(--blue);
  text-shadow: 2px 2px 0 var(--oak);
}
ol.steps h3 { margin-top: 4px; }
ol.steps p:last-child { margin-bottom: 0; }

/* ---------- menu board table ---------- */
.menu-board {
  width: 100%;
  border-collapse: collapse;
  background: var(--cream);
  border: 3px solid var(--brown);
  box-shadow: 3px 3px 0 rgba(122, 82, 48, .35);
  font-size: 16px;
}
.menu-board caption { text-align: left; font-size: 15px; color: var(--ink-soft); padding-bottom: 8px; }
.menu-board th { background: var(--blue); color: var(--cream); font: 700 17px/1.3 var(--slab); text-align: left; padding: 12px; }
.menu-board td { padding: 12px; border-top: 2px dashed var(--oak); vertical-align: top; }
.menu-board td:first-child { font: 700 18px/1.3 var(--slab); white-space: nowrap; }

.menu-board + p { margin-top: 16px; }

/* ---------- faq ---------- */
.faq h3 { margin-top: 24px; }
.call-prompt {
  margin-top: 32px;
  padding: 20px;
  border: 2px dashed var(--red);
  border-radius: 6px;
  background: var(--cream);
}
.call-prompt p { font: 700 20px/1.3 var(--slab); }

/* ---------- work page ---------- */
.band-static .btn { pointer-events: auto; }
.band-static h2 { font-size: 25px; margin-bottom: 8px; }
.band-static p { max-width: 640px; margin: 0 auto 16px; }
.who { display: grid; gap: 28px; align-items: start; }
.who .print { max-width: 360px; margin: 8px auto 0; }
.work-item { display: grid; gap: 24px; align-items: center; margin-bottom: 40px; }
.work-item .print { max-width: 440px; }

/* ---------- contact ---------- */
.huge-phone {
  display: inline-block;
  font: 700 38px/1.15 var(--slab);
  color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  margin: 4px 0 16px;
  padding: 4px 0;
}
.huge-phone:hover { color: var(--red-dk); }

.chalk {
  padding: 24px 20px;
  color: var(--sage);
  border: 12px solid #9A6A3E;
  border-radius: 4px;
  box-shadow: inset 0 0 0 2px var(--brown), inset 0 0 30px rgba(0, 0, 0, .45), 3px 4px 0 var(--ink);
  background:
    radial-gradient(ellipse at 20% 30%, rgba(255, 255, 255, .06), transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(255, 255, 255, .05), transparent 50%),
    #2E2C2A;
}
.chalk h2 { color: #DDE4D8; letter-spacing: .02em; text-shadow: 0 0 1px rgba(221, 228, 216, .6); }
.chalk p { color: var(--sage); }
.chalk dl { margin: 0 0 16px; font-family: var(--slab); font-size: 19px; }
.chalk dt { color: #DDE4D8; font-weight: 700; }
.chalk dd { margin: 0 0 12px; text-shadow: 0 0 1px rgba(168, 181, 160, .7); }
.chalk a { color: #DDE4D8; }
.chalk a:hover { color: var(--oak); }

.form-card {
  background: var(--cream);
  border: 2px solid var(--brown);
  border-radius: 6px;
  padding: 24px 20px;
  box-shadow: 3px 3px 0 rgba(122, 82, 48, .35);
}
.field { margin-bottom: 16px; }
.field label { display: block; font: 700 16px/1.3 var(--slab); margin-bottom: 6px; }
.field .opt { font-weight: 400; font-size: 14px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  font: 17px/1.4 var(--body);
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--brown);
  border-radius: 4px;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-msg { display: none; padding: 14px 16px; border-radius: 4px; border: 2px solid; margin: 16px 0 0; }
.form-msg.show { display: block; }
.form-msg.ok { background: var(--ok-bg); border-color: var(--sage-dk); }
.form-msg.err { background: var(--err-bg); border-color: var(--red); }
.btn[disabled] { opacity: .7; cursor: wait; }

/* ---------- footer ---------- */
.site-foot {
  position: relative;
  margin: 24px calc(var(--gut) * -1) 0;
  padding: 44px 20px 24px;
  background: var(--ink);
  color: var(--cream);
  font-size: 16px;
}
.site-foot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 104 22'%3E%3Cpath d='M0 2 Q52 6 104 2' fill='none' stroke='%23D4A574' stroke-width='1.5'/%3E%3Cpath d='M3 3 L25 4 L13 19Z' fill='%234F6178'/%3E%3Cpath d='M29 4 L50 5 L40 17Z' fill='%23D4A574'/%3E%3Cpath d='M55 5 L77 4 L65 20Z' fill='%23A8B5A0'/%3E%3Cpath d='M81 4 L101 3 L92 16Z' fill='%23FBF6EA'/%3E%3C/svg%3E") repeat-x 0 0 / 104px 22px;
}
.site-foot p { margin: 0 0 8px; }
.site-foot a { color: var(--cream); }
.site-foot a:hover { color: var(--oak); }
.foot-grid { display: grid; gap: 24px; }
.foot-name { font: 700 21px/1.2 var(--slab); }
.foot-head { font: 700 17px/1.2 var(--slab); color: var(--oak); }
.foot-phone { display: inline-flex; align-items: center; min-height: 44px; font: 700 21px/1.2 var(--slab); }
.foot-since { font: 400 15px/1.4 var(--slab); color: var(--sage); }
.foot-links { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 16px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-copy { border-top: 1px dashed rgba(251, 246, 234, .3); margin-top: 24px !important; padding-top: 16px; font-size: 14px; color: var(--cream-dk); }

/* ---------- sticky call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  height: calc(56px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--red);
  color: #FFF8EC;
  font: 700 19px/1 var(--slab);
  text-decoration: none;
  box-shadow: 0 -3px 0 var(--red-dk);
}
.callbar::before {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 5px;
  height: 46px;
  border: 2px dashed rgba(251, 246, 234, .8);
  border-radius: 4px;
  pointer-events: none;
}
.callbar:hover { color: #FFF8EC; }

/* ---------- 404 ---------- */
.page-list { font-family: var(--slab); font-size: 19px; }

/* ---------- breakpoints ---------- */
@media (min-width: 400px) {
  .tabs a { font-size: 17px; padding: 8px 12px; }
}

@media (min-width: 640px) {
  :root { --gut: 20px; }
  .header-call { width: auto; }
  .brand-name { font-size: 27px; }
  .grid2, .cols2 { grid-template-columns: 1fr 1fr; }
  .photo-row { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
  .photo-row .print:nth-child(2) { margin-top: 18px; }
  .photo-row .print:nth-child(3) { margin-top: 6px; }
  .areas { columns: 2; }
  .areas li { break-inside: avoid; }
  .btn-big { width: auto; }
  .huge-phone { font-size: 52px; }
}

@media (min-width: 768px) {
  body { font-size: 18px; padding-bottom: 0; }
  .callbar { display: none; }
  .page { margin: 24px auto; padding: 16px var(--gut) 0; border: 3px dashed var(--oak); border-bottom: 0; }
  .site-foot { padding-left: var(--gut); padding-right: var(--gut); }
  .tabs ul { flex-wrap: nowrap; justify-content: flex-start; padding: 0 12px; }
  .tabs li { flex: 0 0 auto; }
  .tabs a { padding: 9px 22px; }
  h1 { font-size: 40px; }
  h2 { font-size: 29px; }
  h3 { font-size: 22px; }
  .intro { grid-template-columns: 1.05fr .95fr; }
  .card { padding: 24px 28px; }
  .panel { padding: 28px 32px; }
  .foot-grid { grid-template-columns: 1.1fr 1fr 1.1fr; }
  .work-item { grid-template-columns: 1fr 1fr; }
  .who { grid-template-columns: 1.45fr .85fr; }
  .work-item:nth-of-type(even) .print { order: 2; justify-self: end; }
  .work-item:nth-of-type(2) .print { margin-top: 24px; }
  .work-item:nth-of-type(3) .print { margin-left: 28px; }
}

@media (max-width: 599px) {
  .menu-board, .menu-board tbody, .menu-board tr, .menu-board td { display: block; width: 100%; }
  .menu-board thead { position: absolute; left: -9999px; }
  .menu-board tr { border-top: 2px dashed var(--oak); padding: 8px 0; }
  .menu-board tr:first-child { border-top: 0; }
  .menu-board td { border: 0; padding: 4px 12px; }
  .menu-board td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 700; font-family: var(--slab); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .tabs a { transition: none; }
}
