-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhomepage-redesign.css
More file actions
125 lines (112 loc) · 9.03 KB
/
Copy pathhomepage-redesign.css
File metadata and controls
125 lines (112 loc) · 9.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/* PHAN homepage styles. */
.phan-home { overflow: hidden; }
.phan-hero { position: relative; min-height: min(76vh, 760px); height: min(76vh, 760px); overflow: hidden; color: #fff; }
.phan-hero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.phan-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,28,20,.78) 0%, rgba(16,28,20,.43) 52%, rgba(16,28,20,.10) 100%); }
.phan-hero-content { position: absolute; left: max(32px, calc((100% - 1200px) / 2)); top: 50%; transform: translateY(-50%); width: min(620px, calc(100% - 64px)); }
.phan-hero .phan-eyebrow { color: rgba(255,255,255,.84); }
.phan-hero h1 { max-width: 620px; margin: 0; color: #fff; font-size: var(--phan-hero-title-size); line-height: 1.06; letter-spacing: -.02em; }
.phan-hero p { max-width: 550px; margin: 22px 0 0; font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.92); }
.phan-hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 28px; }
.phan-text-link { color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.phan-text-link:hover { color: #fff; text-decoration: none; }
.phan-section { max-width: 1200px; margin: 0 auto; padding: 92px 32px; }
.phan-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 40px; }
.phan-home h2 { margin: 0; color: var(--phan-heading); font-size: var(--phan-home-section-title-size); line-height: 1.12; }
.phan-section-heading h2 { max-width: 680px; }
.phan-section-link { font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; white-space: nowrap; }
.phan-mission { display: grid; grid-template-columns: 1fr 1fr; background: var(--phan-green-soft); }
.phan-mission-image { min-height: 560px; }
.phan-mission-image img { width: 100%; height: 100%; object-fit: cover; }
.phan-mission-copy { max-width: 620px; padding: 78px clamp(40px, 7vw, 100px); align-self: center; }
.phan-mission-copy > p { margin: 20px 0 0; font-size: 16px; color: #53605a; line-height: 1.8; }
.phan-pillars { margin: 30px 0 24px; border-top: 1px solid var(--phan-green-rule); }
.phan-pillars div { display: grid; grid-template-columns: 105px 1fr; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--phan-green-rule); }
.phan-pillars strong { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--phan-green); }
.phan-pillars span { font-size: 14px; color: #59655e; }
.phan-neighborhood { max-width: 1200px; margin: 0 auto; padding: 100px 32px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 76px; align-items: center; }
.phan-neighborhood-copy p { margin: 20px 0; color: var(--phan-muted); font-size: 15px; line-height: 1.8; }
.phan-neighborhood-boundaries { font-size: 15px !important; color: var(--phan-green-dark) !important; }
.phan-neighborhood-grid { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 270px 270px; gap: 8px; }
.phan-neighborhood-grid img { width: 100%; height: 100%; object-fit: cover; }
.phan-neighborhood-grid .phan-photo-tall { grid-row: 1 / 3; object-position: center 42%; }
.phan-guide { background: var(--phan-green-soft); padding: 96px max(32px, calc((100% - 1200px) / 2)); }
.phan-guide-heading { max-width: 780px; margin-bottom: 42px; }
.phan-guide-heading p { margin: 18px 0 0; max-width: 720px; color: var(--phan-muted); font-size: 15px; line-height: 1.8; }
.phan-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.phan-guide-grid .phan-card { min-height: 205px; }
.phan-character { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.phan-character-image { min-height: 580px; }
.phan-character-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.phan-character-copy { align-self: center; max-width: 650px; padding: 82px clamp(42px, 7vw, 105px); }
.phan-character-copy p { margin: 20px 0 0; color: var(--phan-muted); font-size: 15px; line-height: 1.8; }
.phan-life { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--phan-green-soft); }
.phan-life-image { min-height: 470px; }
.phan-life-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 50%; }
.phan-life-copy { align-self: center; max-width: 650px; padding: 72px clamp(40px, 7vw, 100px); }
.phan-life-copy p { margin: 20px 0 0; color: var(--phan-muted); font-size: 15px; line-height: 1.8; }
.phan-life-note { margin-top: 18px !important; color: var(--phan-green-dark) !important; font-size: 13px !important; font-weight: 600; }
.phan-history { max-width: 1200px; margin: 0 auto; padding: 96px 32px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 88px; align-items: center; }
.phan-history-copy p { margin: 20px 0 0; color: var(--phan-muted); font-size: 15px; line-height: 1.8; max-width: 720px; }
.phan-history-facts { border-top: 1px solid var(--phan-green-rule); }
.phan-history-facts div { display: grid; grid-template-columns: 115px 1fr; align-items: center; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--phan-green-rule); }
.phan-history-facts strong { font-family: 'Playfair Display', Georgia, serif; font-size: 30px; color: var(--phan-green); font-weight: 600; }
.phan-history-facts span { color: #626b66; font-size: 13px; line-height: 1.5; }
.phan-join { background: var(--phan-green-deep); color: #fff; padding: 34px max(32px, calc((100% - 1200px) / 2)); display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.phan-join-copy { max-width: 760px; }
.phan-join .phan-eyebrow { margin-bottom: 7px; color: #b7c8bd; }
.phan-join h2 { max-width: 720px; color: #fff; }
.phan-join p { max-width: 650px; margin: 10px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.7; }
.phan-join-note { margin-top: 5px !important; color: rgba(255,255,255,.72) !important; font-size: 12px !important; font-weight: 500; letter-spacing: .03em; }
.phan-join .btn { flex-shrink: 0; padding: 12px 28px; }
.phan-location { max-width: 1200px; margin: 0 auto; padding: 96px 32px 110px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.phan-location-copy p { margin: 20px 0 0; color: #626b66; }
.phan-location figure { margin: 0; }
.phan-location figure img { width: 100%; }
.phan-location figcaption { margin-top: 9px; color: #89918c; font-size: 11px; letter-spacing: .06em; }
@media (max-width: 1120px) {
.phan-hero, .phan-hero > img { min-height: 640px; height: 640px; }
.phan-hero-content { left: 32px; width: calc(100% - 64px); }
.phan-neighborhood, .phan-history, .phan-location { grid-template-columns: 1fr 1fr; gap: 42px; }
.phan-neighborhood { padding: 80px 28px; }
.phan-neighborhood-grid { grid-template-rows: 230px 230px; }
.phan-guide { padding: 80px 28px; }
.phan-character-copy, .phan-life-copy { padding: 68px 48px; }
.phan-life { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
.phan-hero, .phan-hero > img { min-height: 590px; height: 590px; }
.phan-hero-overlay { background: linear-gradient(180deg, rgba(16,28,20,.20) 0%, rgba(16,28,20,.68) 70%, rgba(16,28,20,.86) 100%); }
.phan-hero-content { left: 20px; bottom: 44px; top: auto; transform: none; width: calc(100% - 40px); }
.phan-hero h1 { font-size: clamp(42px, 10vw, 58px); }
.phan-hero p { font-size: 16px; }
.phan-hero-actions { flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.phan-section { padding: 64px 20px; }
.phan-section-heading { display: block; margin-bottom: 30px; }
.phan-section-link { display: inline-block; margin-top: 16px; }
.phan-cards, .phan-guide-grid { grid-template-columns: 1fr; gap: 10px; }
.phan-card, .phan-guide-grid .phan-card { min-height: 0; padding: 22px 24px 20px; }
.phan-mission, .phan-neighborhood, .phan-character, .phan-life, .phan-history, .phan-location { grid-template-columns: 1fr; }
.phan-mission-image { min-height: 330px; max-height: 430px; }
.phan-mission-copy { max-width: none; padding: 56px 20px 64px; }
.phan-pillars div { grid-template-columns: 95px 1fr; }
.phan-neighborhood { padding: 68px 20px; gap: 40px; }
.phan-neighborhood-grid { grid-template-columns: 1.1fr .9fr; grid-template-rows: 190px 190px; }
.phan-guide { padding: 68px 20px; }
.phan-character-image, .phan-life-image { min-height: 320px; max-height: 440px; }
.phan-character-copy, .phan-life-copy { max-width: none; padding: 60px 20px 68px; }
.phan-history { padding: 68px 20px; gap: 42px; }
.phan-join { padding: 28px 20px; display: block; }
.phan-join .btn { margin-top: 16px; }
.phan-location { padding: 68px 20px 80px; gap: 38px; }
}
@media (max-width: 480px) {
.phan-hero, .phan-hero > img { min-height: 560px; height: 560px; }
.phan-hero-content { bottom: 38px; }
.phan-hero-actions .btn { width: 100%; text-align: center; }
.phan-neighborhood-grid { grid-template-columns: 1fr; grid-template-rows: 260px 180px 180px; }
.phan-neighborhood-grid .phan-photo-tall { grid-row: auto; }
.phan-pillars div { grid-template-columns: 1fr; gap: 3px; }
.phan-history-facts div { grid-template-columns: 95px 1fr; }
.phan-history-facts strong { font-size: 26px; }
}