/* Hallmark custom · Rain Ledger */
/* A working roof and gutter care studio, designed around its customer decision. */
@font-face {
  font-family: "young-serif";
  src: url("./fonts/young-serif.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
@font-face {
  font-family: "chivo";
  src: url("./fonts/chivo.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --paper: #f3efdf;
  --ink: #233549;
  --blue: #263b52;
  --rust: #81432c;
  --card: #fcf9ed;
  --rule: #92938b;
  --ruled: #d6dccf;
  --display: "young-serif", Georgia, serif;
  --body: "chivo", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
}
.bound {
  width: min(85rem, calc(100% - clamp(2rem, 9vw, 9rem)));
  margin-inline: auto;
}
h1,
h2,
h3,
p,
dl,
dd,
figure {
  margin: 0;
}
h1,
h2,
h3,
.brand {
  font-family: var(--display);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 400;
  overflow-wrap: break-word;
}
h1 {
  font-size: clamp(3.5rem, 7.7vw, 8.6rem);
}
h2 {
  font-size: clamp(2.45rem, 4.5vw, 5rem);
  text-wrap: balance;
}
h3 {
  font-size: clamp(1.4rem, 2.3vw, 2.65rem);
}
a {
  color: inherit;
  text-underline-offset: 0.22em;
}
a:hover {
  text-decoration-thickness: 2px;
}
input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.skip {
  position: absolute;
  z-index: 10;
  top: 0.6rem;
  left: 0.6rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-180%);
  padding: 0.5rem 1rem;
}
.skip:focus {
  transform: none;
}
.navline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.65rem;
}
.brand {
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  text-decoration: none;
}
.navline nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2vw, 1.8rem);
}
nav a {
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover {
  text-decoration: underline;
}
img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
p {
  max-width: 60ch;
}
.download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  padding: 0.63rem 1.03rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font: 600 1rem/1.25 var(--body);
  width: fit-content;
  cursor: pointer;
}
.download:hover {
  text-decoration: underline;
}
.download:focus-visible {
  outline-color: var(--focus, var(--ink));
}
.space {
  padding-block: clamp(3.2rem, 6vw, 6.5rem);
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 6vw, 6rem);
  align-items: center;
}
details {
  border-top: 1px solid var(--rule);
  padding: 0.75rem 0;
}
details:last-child {
  border-bottom: 1px solid var(--rule);
}
summary {
  cursor: pointer;
  font-weight: 650;
}
details p {
  margin: 0.55rem 0 0.2rem;
}
.fields {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: end;
}
.fields label,
.control {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.94rem;
}
.fields select,
.fields input,
.control select,
.control input,
.control textarea {
  font: 400 1rem var(--body);
  padding: 0.58rem 0.65rem;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
  min-height: 44px;
  max-width: 100%;
  min-width: 0;
}
.fields input[type="number"] {
  width: 8rem;
}
fieldset {
  border: 0;
  padding: 0;
  min-width: 0;
  margin: 0 0 1rem;
}
legend {
  padding: 0;
  font-weight: 650;
  margin-bottom: 0.45rem;
}
.small {
  font-size: 0.88rem;
}
.footer {
  border-top: 1px solid var(--rule);
}
.footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.7rem;
}
.footline p,
.footline a {
  font-size: 0.88rem;
}
.footline b {
  font-family: var(--display);
  font-size: 1.25rem;
}
@media (max-width: 730px) {
  .grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.65rem;
  }
  .navline {
    min-height: 4.15rem;
  }
  .location-nav {
    display: none;
  }
  .footline {
    display: grid;
    gap: 0.4rem;
  }
}
@media (max-width: 430px) {
  .bound {
    width: calc(100% - 2rem);
  }
  .navline nav {
    gap: 0.6rem;
  }
  .navline nav a {
    font-size: 0.84rem;
  }
  .navline {
    gap: 0.45rem;
  }
  .fields {
    gap: 0.55rem;
  }
  .fields label,
  .control {
    max-width: 100%;
  }
  .footline p {
    max-width: 37ch;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
header {
  border-top: 7px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.brand {
  font-weight: 750;
}
.roofline {
  position: relative;
  max-width: 106rem;
  margin: auto;
  border-block: 1px solid var(--ink);
}
.roofline img {
  height: clamp(12rem, 21vw, 21rem);
  width: 100%;
  object-position: center 43%;
}
.roofline figcaption {
  position: absolute;
  left: 4.5%;
  bottom: 1rem;
  padding: 0.3rem 0.65rem;
  background: var(--card);
  color: var(--ink);
  font-size: 0.84rem;
}
.rain-observe {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 8%;
}
.rain-observe h2 + p,
.rain-visit h2 + p {
  margin: 1rem 0 1.25rem;
  max-width: 34ch;
}
.rain-observe ol {
  margin: 0;
  padding-left: 1.7rem;
}
.rain-observe li {
  padding: 0.7rem 0;
  border-top: 1px solid var(--rule);
}
.rain-observe li::marker {
  font-family: var(--body);
  font-weight: bold;
}
.rain-observe li p {
  margin-top: 0.4rem;
}
.rain-book {
  background: var(--blue);
  color: var(--paper);
}
.log-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.4rem;
  margin-bottom: 1.5rem;
}
.log-head p {
  max-width: 34ch;
}
.field-log {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(0, 1.17fr);
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--ink);
}
.log-select,
.log-page {
  padding: clamp(1rem, 2.8vw, 2.8rem);
}
.log-select {
  border-right: 1px solid var(--rule);
}
.log-select fieldset {
  margin: 1rem 0 0.1rem;
}
.log-select fieldset label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 42px;
  border-top: 1px solid var(--rule);
}
.log-page {
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0 1.55rem,
    var(--ruled) 1.55rem 1.6rem
  );
}
.log-page p,
.log-page ul {
  margin: 0.65rem 0;
}
.log-label {
  display: inline-block;
  color: var(--rust);
  font-weight: 650;
}
.rain-visit img {
  height: clamp(16rem, 27vw, 26rem);
}
.rain-visit figcaption {
  font-size: 0.85rem;
  margin-top: 0.4rem;
}
@media (max-width: 720px) {
  .rain-observe,
  .field-log {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
  }
  .roofline img {
    height: 11rem;
  }
  .log-head {
    display: block;
  }
  .log-head p {
    margin-top: 0.7rem;
  }
  .field-log {
    gap: 0;
  }
  .log-select {
    border: 0;
    border-bottom: 1px solid var(--rule);
  }
}
button:enabled:active,
.download:active {
  transform: translateY(1px);
}
.photo-lead {
  display: grid;
  align-items: stretch;
  grid-template-columns: var(--lead-columns);
  background: var(--lead-bg);
  color: var(--lead-ink);
  width: 100%;
  margin: 0;
  isolation: isolate;
}
.photo-lead-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(2rem, 5vw, 6.5rem) clamp(1.15rem, 5.8vw, 7rem);
}
.photo-lead h1 {
  font-family: var(--display, inherit);
  font-weight: var(--lead-weight, 400);
  font-size: clamp(3.25rem, 6.8vw, 8.3rem);
  letter-spacing: -0.052em;
  line-height: 0.96;
  text-wrap: balance;
  color: inherit;
  max-width: 12ch;
  margin: 0;
}
.photo-lead p {
  font: inherit;
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  max-width: 39ch;
  margin: 1.15rem 0 0;
}
.photo-lead-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1.4rem;
  margin: 1.15rem 0 0.2rem;
}
.photo-lead-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: inherit;
  font: inherit;
  line-height: 1.28;
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}
.photo-lead-links a:first-child {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.photo-lead-links a:hover {
  text-decoration-thickness: 3px;
}
.photo-lead-image {
  margin: 0;
  min-width: 0;
  position: relative;
}
.photo-lead-image img {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: var(--lead-pos, 50% 50%);
}
.photo-lead.side {
  min-height: clamp(27rem, 43vw, 43rem);
}
@media (max-width: 740px) {
  .photo-lead.side {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .photo-lead .photo-lead-text {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    position: static;
    background: none;
    padding: clamp(1.45rem, 5.5vw, 2.7rem) clamp(1.05rem, 5vw, 2.3rem);
  }
  .photo-lead h1 {
    font-size: clamp(2.7rem, 9.7vw, 5.2rem);
    max-width: 15ch;
  }
  .photo-lead p {
    margin-top: 0.8rem;
    font-size: 1rem;
    max-width: 46ch;
  }
  .photo-lead-links {
    margin-top: 0.65rem;
  }
  .photo-lead .photo-lead-image {
    position: relative;
    inset: auto;
    grid-row: 2;
    grid-column: 1;
    height: clamp(13rem, 47vw, 23rem);
    min-height: 0;
  }
  .photo-lead .photo-lead-image img {
    object-position: var(--lead-mobile-pos, var(--lead-pos));
  }
}
.photo-lead {
  --lead-columns: 50% 50%;
  --lead-pos: 50% 56%;
  --lead-bg: #e2e6d9;
  --lead-ink: #2d433e;
}
.photo-lead h1 {
  max-width: 11ch;
}
.field-log {
  grid-template-columns: 1fr 1fr;
}
.field-log > .log-select,
.field-log > .log-page {
  grid-row: auto;
  grid-column: auto;
}
.log-page {
  background-image: none;
}
@media (max-width: 650px) {
  .field-log {
    grid-template-columns: 1fr;
  }
}
