/* Timesthree.io Ltd holding page. A name, three sentences, an address. */

:root {
  --ink: #12151A;
  --paper: #F7F8F6;
  --green: #1C4838;
  --green-deep: #0F241C;
  --grey: #595F66;
  --faint: #8A9096;
  --line: #E1E3DE;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--green); color: var(--paper); }

.page {
  min-height: 100vh; min-height: 100dvh;
  display: grid; grid-template-rows: 1fr auto;
  padding: clamp(32px, 9vh, 120px) clamp(24px, 6vw, 72px) clamp(20px, 3vh, 40px);
}
.col { width: 100%; max-width: 39rem; margin: 0 auto; }

.name {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 400;
  font-size: clamp(32px, 4.4vw, 42px); line-height: 1; letter-spacing: -0.025em;
  color: var(--green-deep); margin-bottom: clamp(28px, 5.5vh, 68px);
}
.col p + p { margin-top: 1.5em; }
strong { font-weight: 500; color: var(--green-deep); }
a {
  color: var(--green-deep); font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--green-deep); padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
a:hover { color: var(--green); border-color: var(--green); }
a:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 3px; }

.motto {
  margin-top: clamp(26px, 5vh, 64px) !important;
  font-family: var(--serif); font-optical-sizing: auto; font-style: italic;
  font-size: 18px; line-height: 1.5; color: var(--grey); max-width: 26em;
}

.foot { padding-top: 18px; margin-top: clamp(24px, 4vh, 80px); border-top: 1px solid var(--line); font-size: 11.5px; line-height: 1.6; color: var(--faint); }
.foot p + p { margin-top: .5em; }

@media (max-width: 560px) { body { font-size: 16px; } }

/* Sub-pages: labelled lists in the same plain column */
.label { margin: clamp(30px, 5vh, 48px) 0 10px; font-family: var(--sans); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.rows { list-style: none; border-bottom: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 6.2em minmax(0, 1fr); gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; }
.rows span { color: var(--grey); font-variant-numeric: tabular-nums; }
.rows p { margin: 0 !important; }
.after-rows { margin-top: clamp(30px, 5vh, 48px) !important; }
@media (max-width: 560px) { .rows li { grid-template-columns: 1fr; gap: 0; } }
.rows--plain li { display: block; }
.back { margin-bottom: clamp(18px, 3vh, 28px); font-size: 13.5px; }
.back a { color: var(--grey); font-weight: 400; border-bottom-color: transparent; }
.back a:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.back + .name { margin-top: 0; }
