/* taxcorp.pro — the root stub while the new site is built (spec §6). One sheet of the bound
   case file: milk paper, navy ink, gray rules, a brass binding strip at the left edge. */

@font-face {
  font-family: "Piazzolla";
  src: url("fonts/piazzolla/Piazzolla-opsz-wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akt";
  src: url("fonts/akt/Akt-wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

html {
  background-color: #F5F3EE;
  color: #101D2C;
  scrollbar-color: #747C85 #F5F3EE;
  scrollbar-width: thin;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  position: relative;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  /* Clear of the binding strip; the sheet keeps to the bound edge, as a page of a file. */
  padding: clamp(3rem, 10vh, 7.5rem) clamp(1.5rem, 6vw, 4rem) clamp(2.5rem, 8vh, 5rem)
    clamp(2.25rem, 10vw, 10rem);
  font-family: "Akt", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}

/* The binding of the file down the whole page: decoration only, never behind text. */
body::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: clamp(0.5rem, 1.1vw, 0.875rem);
  background-color: #A88C5D;
}

main,
footer {
  max-width: 40rem;
}

h1,
h2,
.status,
.practice {
  font-family: "Piazzolla", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

h1 {
  margin: 0;
  font-size: clamp(2.125rem, 1.4rem + 3.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.status {
  margin: clamp(1rem, 2.5vw, 1.5rem) 0 0;
  font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem);
  line-height: 1.25;
}

.contacts {
  margin: 0.75rem 0 0;
  text-wrap: pretty;
}

a {
  color: #101D2C;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible {
  outline: 2px solid #101D2C;
  outline-offset: 2px;
}

a[href^="mailto:"] {
  overflow-wrap: anywhere;
}

a[href^="tel:"] {
  white-space: nowrap;
}

h2 {
  margin: clamp(3rem, 8vw, 5rem) 0 clamp(0.75rem, 2vw, 1.25rem);
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.practices {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #747C85;
}

.practices li {
  padding: clamp(0.875rem, 2vw, 1.25rem) 0;
  border-top: 1px solid #747C85;
}

.practice {
  margin: 0;
  font-size: clamp(1.25rem, 1.08rem + 0.85vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.line {
  margin: 0.3rem 0 0;
  color: #5F666E;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.45;
}

footer {
  margin-top: clamp(2rem, 5vw, 3rem);
  color: #5F666E;
  font-size: 1rem;
}

footer p {
  margin: 0;
}

::selection {
  background-color: #101D2C;
  color: #F5F3EE;
}
