:root {
  --paper: #f7f0e2;
  --soft: #ecdfc8;
  --ivory: #fbf6eb;
  --ink: #342118;
  --quiet: #674536;
  --red: #a4472e;
  --light-red: #be6c53;
  --line: #c5ab94;
  --display: Georgia, "Times New Roman", serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.62 var(--body); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font: 400 1em/1.04 var(--display); }
h2 { font-size: clamp(2.7rem, 5.5vw, 6rem); letter-spacing: -.058em; }
a:focus-visible, button:focus-visible, select:focus-visible { outline: 3px solid #8e3220; outline-offset: 4px; }
.rail { width: min(100% - 116px, 1210px); margin-inline: auto; }
.skip:not(:focus) { position: absolute; height: 1px; width: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { position: fixed; top: 8px; left: 8px; padding: 9px 12px; z-index: 3; background: var(--ivory); }

.masthead { background: var(--paper); }
.mast-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px 30px;
  padding-top: 20px;
}
.dry-logo { display: inline-flex; align-items: center; justify-self: start; gap: 9px; color: var(--ink); text-decoration: none; font: 700 2.1rem/1 var(--display); letter-spacing: -.06em; }
.masthead nav {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  min-height: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.masthead nav a, .quote-nav { font-size: .88rem; color: var(--quiet); text-decoration: none; white-space: nowrap; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.quote-nav { justify-self: end; color: var(--red); border-bottom: 1px solid var(--red); font-weight: 700; }
.quote-nav span, .underlink span { display: inline-block; margin-left: 4px; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .87fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 106px);
  padding-block: clamp(31px, 5vw, 66px) 55px;
  border-bottom: 1px solid var(--line);
}
.hero-material {
  position: relative;
  align-self: stretch;
  padding: 0 30px 23px 0;
  min-height: 440px;
}
.lead-photo {
  position: absolute;
  inset: 0 30px 23px 0;
  overflow: hidden;
  background: #a67c5a;
}
.lead-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 56%; }
.material-photo {
  position: absolute;
  bottom: 0;
  right: 0;
  width: clamp(88px, 13vw, 166px);
  aspect-ratio: 1;
  padding: 5px;
  background: var(--ivory);
  border: 1px solid #aa846b;
}
.material-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 68%; }
.hero-side { align-self: center; }
.section-name { text-transform: uppercase; letter-spacing: .12em; color: var(--red); font-size: .7rem; font-weight: 760; }
.hero h1 {
  font-size: clamp(2.7rem, 4.7vw, 5rem);
  letter-spacing: -.056em;
  line-height: 1.01;
  max-width: 17ch;
  margin: 0 0 11px;
}
.summary { max-width: 41ch; color: var(--quiet); font-size: 1rem; }
.hero .estimate {
  margin-top: 24px;
  padding-top: 12px;
  border-top: 2px solid #a4472e;
}
.hero .estimate-fields { grid-template-columns: 1fr; gap: 0; }
.hero .estimate-fields label {
  display: grid;
  grid-template-columns: 1fr minmax(108px,.49fr);
  align-items: center;
  min-height: 43px;
  gap: 11px;
  border-top: 1px solid #d2baaa;
  font-size: .85rem;
}
.hero .estimate-fields select {
  margin: 0;
  height: 34px;
  font-size: .79rem;
}
.hero .estimate-result { border-top: 1px solid #d2baaa; }
.estimate { margin-top: clamp(24px, 3vw, 45px); max-width: 560px; border-top: 1px solid var(--red); border-bottom: 1px solid var(--line); padding: 13px 0 10px; scroll-margin-top: 10px; }
.estimate-head { display: flex; justify-content: space-between; align-items: baseline; gap: 9px; margin-bottom: 10px; }
.estimate-head h2 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); letter-spacing: -.036em; }
.estimate-head span { color: var(--quiet); font-size: .69rem; line-height: 1.2; text-align: right; }
.estimate-fields { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 9px; }
.estimate-fields label { display: block; color: var(--quiet); min-width: 0; font-size: .73rem; font-weight: 650; line-height: 1.3; }
.estimate-fields select { display: block; height: 40px; width: 100%; min-width: 0; margin-top: 4px; border: 1px solid #b59880; background: var(--ivory); color: var(--ink); border-radius: 0; padding: 0 3px 0 7px; font: inherit; }
.estimate-result { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 13px 0 4px; }
.estimate-result output { font: 400 clamp(1.43rem, 3vw, 2.35rem)/1 var(--display); letter-spacing: -.045em; }
.estimate-result a { font-size: .78rem; color: var(--red); text-underline-offset: 4px; font-weight: 730; white-space: nowrap; }
.estimate p { font-size: .72rem; line-height: 1.45; color: var(--quiet); max-width: 51ch; }
.estimate noscript button { margin-top: 9px; }
.solid { display: inline-flex; gap: 12px; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; font-size: .89rem; line-height: 1.2; font-weight: 650; padding: 10px 17px; color: #fff7eb; background: #8e3824; border: 1px solid #8e3824; }
.solid:hover { background: #682919; border-color: #682919; }
.underlink { display: inline-block; width: fit-content; color: #8e3824; text-underline-offset: 5px; font-weight: 700; font-size: .87rem; }

.services { padding: clamp(54px, 9vw, 126px) 0 clamp(60px, 9vw, 132px); }
.section-lead { display: grid; grid-template-columns: .6fr 1fr; gap: 40px; align-items: start; margin-bottom: 35px; }
.section-lead .section-name { margin-top: 7px; }
.section-lead h2 { max-width: 12ch; }
.treatment-list { border-top: 1px solid var(--line); }
.treatment-list a { display: grid; grid-template-columns: 1.15fr 1fr 25px; align-items: center; gap: 20px; min-height: 96px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s ease, background .2s ease; }
.treatment-list a:hover { background: var(--ivory); padding-inline: 14px; }
.treatment-list b { color: var(--red); font-weight: 650; font-size: .84rem; }
.treatment-list h3 { font-size: clamp(1.9rem, 4vw, 3.9rem); letter-spacing: -.05em; }
.treatment-list p { max-width: 39ch; color: var(--quiet); font-size: .95rem; }

.fibre-story { background: #e1c2a5; padding-block: clamp(58px, 9vw, 128px); }
.fibre-inner { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(32px, 11vw, 170px); align-items: center; }
.fibre-photo { position: relative; overflow: hidden; max-height: 510px; aspect-ratio: 1.1; background: #a96d4a; }
.fibre-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 50% 75%; }
.fibre-photo::after { content: ""; position: absolute; width: 1px; height: 160%; top: -30%; left: 50%; transform: translateX(-600px) rotate(30deg); background: #fff6e8; opacity: 0; }
.weave-sweep img { animation: fibre-cut .92s cubic-bezier(.3,.75,.22,1) both; }
.weave-sweep::after { animation: weave-line .92s cubic-bezier(.3,.75,.22,1) both; }
@keyframes fibre-cut { from { clip-path: polygon(0 0, 4% 0, 37% 100%, 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes weave-line { from { opacity: .85; transform: translateX(-65vw) rotate(30deg); } to { opacity: 0; transform: translateX(55vw) rotate(30deg); } }
.fibre-copy h2 { margin: 12px 0 11px; max-width: 12ch; }
.fibre-copy p:not(.section-name) { max-width: 36ch; margin-bottom: 20px; }
.fibre-copy .underlink { display: block; margin-top: 9px; }

.arrival { display: grid; grid-template-columns: .7fr 1.15fr; gap: clamp(25px,6vw,95px); padding-block: clamp(64px, 9vw, 121px); }
.arrival h2 { max-width: 12ch; margin-top: 10px; }
.arrival ol { list-style: none; margin: 0; padding: 0; counter-reset: visit; }
.arrival li { display: grid; grid-template-columns: 25px 110px 1fr; column-gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); counter-increment: visit; }
.arrival li::before { content: "0" counter(visit); color: var(--red); font-size: .74rem; padding-top: 3px; }
.arrival li p { font-size: .88rem; color: var(--quiet); }
.arrival li a { grid-column: 3; color: var(--red); font-size: .8rem; font-weight: 680; text-underline-offset: 3px; margin-top: 4px; }
.where { background: #efe1cd; padding-block: 58px 66px; }
.where-inner { display: grid; grid-template-columns: .91fr 1fr; gap: 8%; align-items: center; }
.where h2 { font-size: clamp(2.5rem, 5vw, 4.95rem); margin: 8px 0 13px; }
.where-inner p:not(.section-name) { color: var(--quiet); margin-bottom: 10px; }
.localities { border-top: 1px solid var(--line); max-width: 800px; }
.localities div { display: grid; grid-template-columns: minmax(95px,.44fr) 1fr; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.localities dt { font-weight: 730; }
.localities dd { margin: 0; color: var(--quiet); font-size: .88rem; }
.closing { display: grid; grid-template-columns: .95fr 1fr; align-items: center; gap: 30px; padding-block: 62px; }
.closing h2 { max-width: 12ch; }
.closing p { max-width: 33ch; margin-bottom: 14px; }
.footer { background: #3b281e; padding-block: 41px 55px; color: #f7eadb; }
.foot-inner { display: grid; grid-template-columns: 1.6fr 1fr 1.15fr .8fr; gap: 23px; }
.footer .dry-logo { color: #fff5e6; margin-bottom: 10px; }
.footer h2 { font: 700 .81rem/1.2 var(--body); letter-spacing: .03em; margin-bottom: 6px; text-transform: uppercase; }
.footer .foot-inner>div:not(:first-child) a { display: block; font-size: .82rem; text-decoration: none; padding-top: 4px; overflow-wrap: anywhere; }
.footer .foot-inner a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer p { font-size: .82rem; }

.chapter-head { padding-block: 53px 54px; border-bottom: 1px solid var(--line); background: #ecddc7; }
.chapter-head .section-name a { text-decoration: none; }
.chapter-head h1 { font-size: clamp(3rem, 7.4vw, 7rem); letter-spacing: -.062em; margin: 12px 0 15px; }
.chapter-head p:last-child { max-width: 59ch; font-size: 1.06rem; color: var(--quiet); }
.chapter-body { padding-block: 47px 78px; }
.chapter-body>p { max-width: 65ch; margin: 14px 0; }
.guide { display: grid; max-width: 990px; grid-template-columns: .7fr 1fr; gap: 12px 35px; border-top: 1px solid var(--line); padding: 24px 0; }
.guide h2, .contact-grid h2, .rates h2, .further h2 { font-size: clamp(1.6rem,3vw,2.55rem); letter-spacing: -.035em; }
.guide p, .rates p, .contact-grid p { max-width: 58ch; color: var(--quiet); }
.further { max-width: 990px; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 20px; }
.further a { display: inline-block; margin: 11px 18px 0 0; color: var(--red); text-underline-offset: 4px; }
.contact-grid, .pricing-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px,5vw,60px); }
.contact-grid section, .rates { padding: 21px 0; border-top: 1px solid var(--red); }
.contact-grid p { margin: 12px 0; }
.contact-grid address { font-style: normal; }
.pricing-layout .estimate { margin: 0; }
.rates dl { margin: 12px 0; border-top: 1px solid var(--line); }
.rates dl div { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 1000px) {
  .rail { width: calc(100% - 68px); }
  .hero-material { min-height: 410px; }
  .hero h1 { font-size: clamp(2.55rem, 5.35vw, 4.65rem); }
  .section-lead { grid-template-columns: .6fr 1fr; }
  .arrival li { grid-template-columns: 23px 86px 1fr; column-gap: 8px; }
}
@media (max-width: 730px) {
  .rail { width: calc(100% - 36px); }
  .mast-inner { padding-top: 12px; gap: 8px; }
  .dry-logo { font-size: 1.67rem; gap: 5px; }
  .dry-logo img { width: 25px; height: 25px; }
  .masthead nav { min-height: 34px; justify-content: space-between; gap: 8px; }
  .masthead nav a, .quote-nav { font-size: .76rem; }
  .hero { grid-template-columns: 1fr; gap: 19px; padding-block: 15px 32px; }
  .hero-material { min-height: clamp(155px, 45vw, 275px); padding: 0; }
  .lead-photo { inset: 0 15px 12px 0; }
  .lead-photo img { object-position: 50% 60%; }
  .material-photo { width: clamp(68px, 19vw, 120px); padding: 3px; }
  .hero h1 { margin: 0 0 9px; line-height: .99; font-size: clamp(2.25rem, 8.1vw, 3.65rem); }
  .summary { font-size: .9rem; max-width: 44ch; }
  .hero .estimate { margin-top: 17px; padding-top: 9px; }
  .hero .estimate-fields label { min-height: 39px; }
  .hero .estimate-fields select { height: 32px; }
  .estimate { margin-top: 22px; padding-top: 10px; }
  .estimate-head { margin-bottom: 8px; }
  .estimate-fields { gap: 7px; }
  .estimate-fields label { font-size: .7rem; }
  .section-lead, .fibre-inner, .arrival, .where-inner, .closing, .guide, .contact-grid, .pricing-layout { grid-template-columns: 1fr; gap: 19px; }
  .section-lead { margin-bottom: 20px; }
  .section-lead .section-name { margin-top: 0; }
  .treatment-list a { grid-template-columns: 1fr 21px; gap: 4px 9px; min-height: 89px; padding-block: 11px; }
  .treatment-list p { grid-column: 1; grid-row: 2; font-size: .83rem; }
  .treatment-list b { grid-column: 2; grid-row: 1; }
  .fibre-photo { aspect-ratio: 1.5; }
  .fibre-story { padding-block: 38px 46px; }
  .arrival ol { margin-top: 5px; }
  .arrival li { grid-template-columns: 20px 80px 1fr; }
  .where { padding-block: 39px 49px; }
  .closing { padding-block: 49px; }
  .foot-inner { grid-template-columns: repeat(2, 1fr); gap: 25px 13px; }
  .chapter-head { padding-block: 40px; }
  .chapter-body { padding-block: 30px 52px; }
  .guide { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; }
}
